|
1 | | -<<<<<<< HEAD |
2 | 1 | trigger: none |
3 | 2 |
|
4 | 3 | name: mssql-python-dummy-release-pipeline |
5 | | -======= |
6 | | -name: mssql-python-official-release-pipeline |
7 | | ->>>>>>> 06397346bcf475452f4047122b3367d63fbebecd |
8 | 4 |
|
9 | 5 | variables: |
10 | 6 | - group: 'ESRP Federated Creds (AME)' |
11 | 7 |
|
12 | | -<<<<<<< HEAD |
13 | 8 | extends: |
14 | 9 | template: v2/OneBranch.Official.CrossPlat.yml@templates |
15 | 10 | parameters: |
@@ -195,51 +190,3 @@ extends: |
195 | 190 | # ServiceEndpointUrl: 'https://api.esrp.microsoft.com' |
196 | 191 | # MainPublisher: 'ESRPRELPACMAN' |
197 | 192 | # DomainTenantId: '$(DomainTenantId)' |
198 | | -======= |
199 | | -jobs: |
200 | | -- job: ReleaseESRPPackage |
201 | | - displayName: 'Release ESRP Package' |
202 | | - pool: |
203 | | - vmImage: 'windows-latest' |
204 | | - |
205 | | - steps: |
206 | | - - task: DownloadPipelineArtifact@2 |
207 | | - inputs: |
208 | | - buildType: 'specific' |
209 | | - project: '$(System.TeamProject)' |
210 | | - definition: 2162 |
211 | | - buildVersionToDownload: 'latest' |
212 | | - branchName: '$(Build.SourceBranch)' |
213 | | - artifactName: 'mssql-python-wheels-dist' |
214 | | - targetPath: '$(Build.SourcesDirectory)\dist' |
215 | | - displayName: 'Download release wheel files artifact from latest successful run on main branch' |
216 | | - |
217 | | - # Show content of the downloaded artifact |
218 | | - - script: | |
219 | | - echo "Contents of the dist directory:" |
220 | | - dir "$(Build.SourcesDirectory)\dist" |
221 | | - displayName: 'List contents of dist directory' |
222 | | -
|
223 | | - - task: EsrpRelease@9 |
224 | | - displayName: 'ESRP Release' |
225 | | - inputs: |
226 | | - connectedservicename: '$(ESRPConnectedServiceName)' |
227 | | - usemanagedidentity: true |
228 | | - keyvaultname: '$(AuthAKVName)' |
229 | | - signcertname: '$(AuthSignCertName)' |
230 | | - clientid: '$(EsrpClientId)' |
231 | | - Intent: 'PackageDistribution' |
232 | | - # Changing content type to Maven release (NOT PyPI) since we want to do dummy release |
233 | | - # for ESRP testing purposes, not for actual PyPI distribution. |
234 | | - # This is a workaround to allow ESRP to process the release without actual PyPI content |
235 | | - # and to avoid ESRP validation errors. |
236 | | - ContentType: 'Maven' |
237 | | - ContentSource: 'Folder' |
238 | | - FolderLocation: '$(Build.SourcesDirectory)/dist' |
239 | | - WaitForReleaseCompletion: true |
240 | | - Owners: '$(owner)' |
241 | | - Approvers: '$(approver)' |
242 | | - ServiceEndpointUrl: 'https://api.esrp.microsoft.com' |
243 | | - MainPublisher: 'ESRPRELPACMAN' |
244 | | - DomainTenantId: '$(DomainTenantId)' |
245 | | ->>>>>>> 06397346bcf475452f4047122b3367d63fbebecd |
0 commit comments