Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1b63e9d
this should work now
scbedd May 31, 2024
403ccb6
disable everything other than the sdist so we can check the artifact …
scbedd May 31, 2024
326f062
gotta lineitem the foreach
scbedd May 31, 2024
dea61e0
for -> each
scbedd May 31, 2024
81125b7
Remove reference to an unbound variable
scbedd May 31, 2024
45bcf54
dump the visible artifacts. what is going on?
scbedd May 31, 2024
ed1d6ef
fix issue with the filter in the extraction method
scbedd May 31, 2024
d859c7d
and remove the additional artifact dump
scbedd May 31, 2024
b981106
re-enable the full build. do we get all the artifacts?
scbedd May 31, 2024
ab55458
fix the artifact list
scbedd May 31, 2024
7f6fb0f
fix the name of the windows whls
scbedd May 31, 2024
d3f7bef
what is going on
scbedd Jun 1, 2024
bdcd876
additional output to the release phase
scbedd Jun 3, 2024
c605c83
manual copy of the files
scbedd Jun 3, 2024
789caa9
I don't know why powershell is doing this
scbedd Jun 3, 2024
bd83d05
remove extraneous outputs to the artifact selection. add the ESRP rel…
scbedd Jun 3, 2024
7667698
disable the release step, we aren't dumping all the available artifacts
scbedd Jun 3, 2024
7a7fb0d
maintain folder structure for deduping
scbedd Jun 4, 2024
dc04115
Get-RelativePath isn't a real thing in pshell. use Resolve-Path
scbedd Jun 4, 2024
04afc2a
we need to be certain that relative path doesn't accidentally include…
scbedd Jun 4, 2024
d3d2afa
typo in release script
scbedd Jun 4, 2024
cec1256
this is the most ridiculous thing I have ever seen
scbedd Jun 4, 2024
72653c8
Create-Item -> New-Item
scbedd Jun 4, 2024
89b60f4
we weren't joining the correct paths
scbedd Jun 5, 2024
38397a9
enable the esrp release stage
scbedd Jun 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion .azure-pipelines/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extends:
template: /.azure-pipelines/templates/stages/1es-redirect.yml
parameters:
stages:
- stage:
- stage: Build_and_Test
displayName: 'Build and Test'
variables:
- template: /.azure-pipelines/templates/variables/image.yml
Expand Down Expand Up @@ -460,3 +460,63 @@ extends:
testResultsFiles: '**/test-results-*.xml'
testResultsFormat: 'JUnit'
testRunTitle: 'ManyLinux2014 Python $(PythonVersion)'

- stage: Release
dependsOn: Build_and_Test

jobs:
- deployment: Publish
environment: 'package-publish'
pool:
name: azsdk-pool-mms-ubuntu-2004-general
image: azsdk-pool-mms-ubuntu-2004-1espt
os: linux

strategy:
runOnce:
deploy:
steps:
- checkout: self

- template: /.azure-pipelines/templates/steps/download-targeted-artifacts.yml
parameters:
ArtifactList:
- 'uamqp-sdist'
- 'uamqp-linux-3.8-whl'
- 'uamqp-linux-3.9-whl'
- 'uamqp-linux-3.10-whl'
- 'uamqp-linux-3.11-whl'
- 'uamqp-linux-3.12-whl'
- 'uamqp-macosx10.9-3.8-whl'
- 'uamqp-macosx10.9-3.9-whl'
- 'uamqp-macosx10.9-3.10-whl'
- 'uamqp-macosx10.9-3.11-whl'
- 'uamqp-macosx10.9-3.12-whl'
- 'uamqp-manylinux2014_x86_64-3.8-x64-whl'
- 'uamqp-manylinux2014_x86_64-3.9-x64-whl'
- 'uamqp-manylinux2014_x86_64-3.10-x64-whl'
- 'uamqp-manylinux2014_x86_64-3.11-x64-whl'
- 'uamqp-manylinux2014_x86_64-3.12-x64-whl'
- 'uamqp-winx64-3.8-whl'
- 'uamqp-winx64-3.9-whl'
- 'uamqp-winx64-3.10-whl'
- 'uamqp-winx64-3.11-whl'
- 'uamqp-winx64-3.12-whl'
- 'uamqp-winx86-3.8-whl'
- 'uamqp-winx86-3.9-whl'
- 'uamqp-winx86-3.10-whl'
- 'uamqp-winx86-3.11-whl'
- 'uamqp-winx86-3.12-whl'

- pwsh: |
Get-ChildItem "$(Pipeline.Workspace)" -Recurse -Force
| Where-Object { ($_.Name -like "*.tar.gz" -or $_.Name -like "*.whl") } `
| % { Write-Host $_.FullName }

Write-Host "Copying artifacts into staging directory"
Get-ChildItem "$(Pipeline.Workspace)" -Recurse -Force `
| Where-Object { ($_.Name -like "*.tar.gz" -or $_.Name -like "*.whl") } `
| Copy-Item -Destination "$(Build.ArtifactStagingDirectory)"

Get-ChildItem "$(Build.ArtifactStagingDirectory)" -Recurse -Force | % { Write-Host $_.FullName }
displayName: Move artifact to $(Build.ArtifactStagingDirectory)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
parameters:
ArtifactList: []

steps:
- ${{ each artifact in parameters.ArtifactList }}:
- download: current
displayName: "Download ${{ artifact }}"
artifact: ${{ artifact }}
timeoutInMinutes: 5