Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 9950 (#48497)
Browse files Browse the repository at this point in the history
* Use PME for esrp release

* Update to EsrpRelease@9

* Remove extra DomainTenantId parameter

* Add PME service connection to pipelines

---------

Co-authored-by: Patrick Hallisey <[email protected]>
  • Loading branch information
azure-sdk and hallipr authored Mar 1, 2025
1 parent 8ac01fd commit 01768e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions eng/common/pipelines/templates/archetype-typespec-emitter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,22 +172,22 @@ extends:
- ${{ if parameters.PublishPublic }}:
# publish to npmjs.org using ESRP
- task: EsrpRelease@7
- task: EsrpRelease@9
inputs:
displayName: Publish to npmjs.org
ConnectedServiceName: Azure SDK Engineering System
ConnectedServiceName: Azure SDK PME Managed Identity
ClientId: 5f81938c-2544-4f1f-9251-dd9de5b8a81b
KeyVaultName: AzureSDKEngKeyVault
AuthCertName: azure-sdk-esrp-release-auth-certificate
SignCertName: azure-sdk-esrp-release-sign-certificate
DomainTenantId: 975f013f-7f24-47e8-a7d3-abc4752bf346
UseManagedIdentity: true
KeyVaultName: kv-azuresdk-codesign
SignCertName: azure-sdk-esrp-release-certificate
Intent: PackageDistribution
ContentType: npm
FolderLocation: $(buildArtifactsPath)/packages
Owners: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
Approvers: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
ServiceEndpointUrl: https://api.esrp.microsoft.com
MainPublisher: ESRPRELPACMANTEST
DomainTenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47

- task: PowerShell@2
displayName: Create emitter-package.json
Expand Down
2 changes: 1 addition & 1 deletion eng/common/pipelines/templates/jobs/prepare-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
$generateUnifiedWeekly = 'false'
$testServiceConnections = '"Azure" "azure-sdk-tests" "azure-sdk-tests-preview" "azure-sdk-tests-public" "Azure SDK Test Resources - LiveTestSecrets"'
$internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets"'
$internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets" "Azure SDK PME Managed Identity"'
# Map the language to the appropriate variable groups
switch ($lang)
Expand Down

0 comments on commit 01768e2

Please sign in to comment.