|
| 1 | +name: mssql-python-official-release-pipeline |
| 2 | + |
| 3 | +variables: |
| 4 | + - group: 'ESRP Federated Creds (AME)' |
| 5 | + |
| 6 | +jobs: |
| 7 | +- job: ReleaseESRPPackage |
| 8 | + displayName: 'Release ESRP Package' |
| 9 | + pool: |
| 10 | + vmImage: 'windows-latest' |
| 11 | + |
| 12 | + steps: |
| 13 | + - task: DownloadPipelineArtifact@2 |
| 14 | + inputs: |
| 15 | + buildType: 'specific' |
| 16 | + project: '$(System.TeamProject)' |
| 17 | + definition: 2134 |
| 18 | + buildVersionToDownload: 'latestFromBranch' |
| 19 | + branchName: 'refs/heads/main' |
| 20 | + artifactName: 'mssql-python-wheels-dist' |
| 21 | + targetPath: '$(Build.SourcesDirectory)\dist' |
| 22 | + displayName: 'Download release wheel files artifact from latest successful run on main branch' |
| 23 | + |
| 24 | + # Show content of the downloaded artifact |
| 25 | + - script: | |
| 26 | + echo "Contents of the dist directory:" |
| 27 | + dir "$(Build.SourcesDirectory)\dist" |
| 28 | + displayName: 'List contents of dist directory' |
| 29 | +
|
| 30 | + # - task: EsrpRelease@9 |
| 31 | + # displayName: 'ESRP Release' |
| 32 | + # inputs: |
| 33 | + # connectedservicename: '$(ESRPConnectedServiceName)' |
| 34 | + # usemanagedidentity: true |
| 35 | + # keyvaultname: '$(AuthAKVName)' |
| 36 | + # signcertname: '$(AuthSignCertName)' |
| 37 | + # clientid: '$(EsrpClientId)' |
| 38 | + # Intent: 'PackageDistribution' |
| 39 | + # ContentType: 'PyPI' |
| 40 | + # ContentSource: 'Folder' |
| 41 | + # FolderLocation: '$(System.DefaultWorkingDirectory)/dist' |
| 42 | + # WaitForReleaseCompletion: true |
| 43 | + # Owners: '$(owner)' |
| 44 | + # Approvers: '$(approver)' |
| 45 | + # ServiceEndpointUrl: 'https://api.esrp.microsoft.com' |
| 46 | + # MainPublisher: 'ESRPRELPACMAN' |
| 47 | + # DomainTenantId: '$(DomainTenantId)' |
0 commit comments