Skip to content

Commit

Permalink
Use PME for ESRP release (#33191)
Browse files Browse the repository at this point in the history
Update to latest EsrpRelease task and use managed identity in PME
  • Loading branch information
hallipr authored Feb 28, 2025
1 parent b434d1b commit 656e38f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
9 changes: 7 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"eslint.workingDirectories": [{ "pattern": "./sdk/*/*/" }],
"eslint.workingDirectories": [
{
"pattern": "./sdk/*/*/"
}
],
"eslint.useFlatConfig": true,
"files.exclude": {
"**/.git": true,
Expand Down Expand Up @@ -39,5 +43,6 @@
"vitest.vitestPackagePath": "common/tools/dev-tool/node_modules/vitest/package.json",
"vitest.experimentalStaticAstCollect": true,
"vitest.configSearchPatternExclude": "{**/node_modules/**,**/.*/**,**/*.d.ts,eng/**,samples/**}",
"vitest.nodeEnv": {}
"vitest.nodeEnv": {},
"azure-pipelines.1ESPipelineTemplatesSchemaFile": true
}
14 changes: 7 additions & 7 deletions eng/pipelines/templates/steps/npm-release-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ steps:
echo "##vso[task.setvariable variable=IntendedTagVersion]$packageVersion"
displayName: Get original tags
- task: EsrpRelease@7
- task: EsrpRelease@9
displayName: 'Publish ${{parameters.Artifact.name}} to ESRP'
inputs:
displayName: 'Publish ${{parameters.Artifact.name}} to ESRP'
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: ${{parameters.PathToArtifacts}}
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'
productstate: ${{parameters.Tag}}

- task: Powershell@2
Expand Down

0 comments on commit 656e38f

Please sign in to comment.