Skip to content

Commit 725f1bf

Browse files
azure-sdkhallipr
andauthored
Sync eng/common directory with azure-sdk-tools for PR 9950 (#2264)
* 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]>
1 parent 11ae4ec commit 725f1bf

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

eng/common/pipelines/templates/archetype-typespec-emitter.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,22 @@ extends:
172172
173173
- ${{ if parameters.PublishPublic }}:
174174
# publish to npmjs.org using ESRP
175-
- task: EsrpRelease@7
175+
- task: EsrpRelease@9
176176
inputs:
177177
displayName: Publish to npmjs.org
178-
ConnectedServiceName: Azure SDK Engineering System
178+
ConnectedServiceName: Azure SDK PME Managed Identity
179179
ClientId: 5f81938c-2544-4f1f-9251-dd9de5b8a81b
180-
KeyVaultName: AzureSDKEngKeyVault
181-
AuthCertName: azure-sdk-esrp-release-auth-certificate
182-
SignCertName: azure-sdk-esrp-release-sign-certificate
180+
DomainTenantId: 975f013f-7f24-47e8-a7d3-abc4752bf346
181+
UseManagedIdentity: true
182+
KeyVaultName: kv-azuresdk-codesign
183+
SignCertName: azure-sdk-esrp-release-certificate
183184
Intent: PackageDistribution
184185
ContentType: npm
185186
FolderLocation: $(buildArtifactsPath)/packages
186187
Owners: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
187188
Approvers: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
188189
ServiceEndpointUrl: https://api.esrp.microsoft.com
189190
MainPublisher: ESRPRELPACMANTEST
190-
DomainTenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
191191

192192
- task: PowerShell@2
193193
displayName: Create emitter-package.json

eng/common/pipelines/templates/jobs/prepare-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
$generateUnifiedWeekly = 'false'
8383
8484
$testServiceConnections = '"Azure" "azure-sdk-tests" "azure-sdk-tests-preview" "azure-sdk-tests-public" "Azure SDK Test Resources - LiveTestSecrets"'
85-
$internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets"'
85+
$internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets" "Azure SDK PME Managed Identity"'
8686
8787
# Map the language to the appropriate variable groups
8888
switch ($lang)

0 commit comments

Comments
 (0)