Skip to content

Commit 899eb53

Browse files
committed
Merged PR 5490: CHORE:Updated pipeline for ESRPTask Migration
-Moved pipelines to eng/pipelines folder -Updated pipeline for ESRPTask Migration to use AME credentials ---- #### AI description (iteration 1) #### PR Classification Pipeline update for ESRPTask migration. #### PR Summary This pull request updates the pipeline configuration to support ESRPTask migration by adding new build and test pipelines. - Added `build-and-release-pipeline.yml` to define build and release steps, including ESRP release. - Added `test-pipeline.yml` to define testing steps, including database setup, building `.pyd` file, running tests, and publishing results. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #37068
1 parent 9bbeccf commit 899eb53

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

build-and-release-pipeline.yml renamed to eng/pipelines/build-and-release-pipeline.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: build-and-release-pipeline
22

3+
variables:
4+
- group: 'ESRP Federated Creds (AME)'
5+
6+
37
jobs:
48
- job: BuildWheel
59
pool:
@@ -29,21 +33,21 @@ jobs:
2933
publishLocation: 'Container'
3034
displayName: 'Publish Artifact'
3135

32-
- task: EsrpRelease@7
36+
- task: EsrpRelease@9
37+
displayName: 'ESRP Release'
3338
inputs:
34-
ConnectedServiceName: 'mssql-python-service'
35-
keyvaultname: mssqlpythonKey
36-
authcertname: 'ESRP-Release-mssql-python-auth'
37-
signcertname: 'ESRP-Release-mssql-python-Sign2'
38-
clientid: 'a0d18a38-fde1-4ba7-92e1-15be16cb6a8e'
39+
connectedservicename: '$(ESRPConnectedServiceName)'
40+
usemanagedidentity: true
41+
keyvaultname: '$(AuthAKVName)'
42+
signcertname: '$(AuthSignCertName)'
43+
clientid: '$(EsrpClientId)'
3944
Intent: 'PackageDistribution'
40-
ContentType: 'PyPi'
45+
ContentType: 'PyPI'
4146
ContentSource: 'Folder'
4247
FolderLocation: '$(System.DefaultWorkingDirectory)/dist'
4348
WaitForReleaseCompletion: true
44-
Owners: 'enumittal@microsoft.com'
45-
Approvers: 'enumittal@microsoft.com'
49+
Owners: '$(owner)'
50+
Approvers: '$(approver)'
4651
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
4752
MainPublisher: 'ESRPRELPACMAN'
48-
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
49-
displayName: 'ESRP Release'
53+
DomainTenantId: '$(DomainTenantId)'

0 commit comments

Comments
 (0)