Skip to content

Commit 7c4d66b

Browse files
bschnurrCopilot
andauthored
Remove PET artifact download from DevDiv release pipelines (#1839)
Remove the Monaco-scoped PET artifact download from the new DevDiv pre-release and stable pipelines. This removes the failing DownloadPipelineArtifact step, its PET directory and target setup, and the now-unused stable petBranch parameter. When the extension does not bundle PET, it falls back to the Python extension's PET binary. Failed build: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=15501280&view=results Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2ed4fe3f-2b2f-4539-b915-375b541edccb
1 parent ca8f48f commit 7c4d66b

2 files changed

Lines changed: 0 additions & 107 deletions

File tree

‎build/azure-devdiv-pipeline.pre-release.yml‎

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -74,57 +74,6 @@ parameters:
7474
- script: python ./build/update_ext_version.py --for-publishing
7575
displayName: Validate version number
7676

77-
- bash: |
78-
mkdir -p $(Build.SourcesDirectory)/python-env-tools/bin
79-
chmod +x $(Build.SourcesDirectory)/python-env-tools/bin
80-
displayName: Make Directory for python-env-tool binary
81-
82-
- bash: |
83-
if [ "$(vsceTarget)" == "win32-x64" ]; then
84-
echo "##vso[task.setvariable variable=buildTarget]x86_64-pc-windows-msvc"
85-
elif [ "$(vsceTarget)" == "win32-arm64" ]; then
86-
echo "##vso[task.setvariable variable=buildTarget]aarch64-pc-windows-msvc"
87-
elif [ "$(vsceTarget)" == "linux-x64" ]; then
88-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
89-
elif [ "$(vsceTarget)" == "linux-arm64" ]; then
90-
echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu"
91-
elif [ "$(vsceTarget)" == "linux-armhf" ]; then
92-
echo "##vso[task.setvariable variable=buildTarget]armv7-unknown-linux-gnueabihf"
93-
elif [ "$(vsceTarget)" == "darwin-x64" ]; then
94-
echo "##vso[task.setvariable variable=buildTarget]x86_64-apple-darwin"
95-
elif [ "$(vsceTarget)" == "darwin-arm64" ]; then
96-
echo "##vso[task.setvariable variable=buildTarget]aarch64-apple-darwin"
97-
elif [ "$(vsceTarget)" == "alpine-x64" ]; then
98-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
99-
elif [ "$(vsceTarget)" == "alpine-arm64" ]; then
100-
echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu"
101-
elif [ "$(vsceTarget)" == "web" ]; then
102-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
103-
else
104-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
105-
fi
106-
displayName: Set buildTarget variable
107-
108-
- task: DownloadPipelineArtifact@2
109-
inputs:
110-
buildType: specific
111-
project: Monaco
112-
definition: 591
113-
buildVersionToDownload: latestFromBranch
114-
branchName: refs/heads/main
115-
targetPath: $(Build.SourcesDirectory)/python-env-tools/bin
116-
artifactName: bin-$(buildTarget)
117-
itemPattern: |
118-
pet.exe
119-
pet
120-
ThirdPartyNotices.txt
121-
122-
- bash: |
123-
ls -l ./python-env-tools/bin
124-
chmod +x ./python-env-tools/bin/pet*
125-
ls -l ./python-env-tools/bin
126-
displayName: Set chmod for pet binary
127-
12877
- script: npm run package
12978
displayName: Build extension
13079

‎build/azure-devdiv-pipeline.stable.yml‎

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ parameters:
3333
type: boolean
3434
default: true
3535

36-
- name: petBranch
37-
displayName: PET artifact branch
38-
type: string
39-
default: refs/heads/release/2026.12
40-
4136
- name: buildPlatforms
4237
type: object
4338
default:
@@ -74,57 +69,6 @@ parameters:
7469
- script: python ./build/update_ext_version.py --release --for-publishing
7570
displayName: Update build number
7671

77-
- bash: |
78-
mkdir -p $(Build.SourcesDirectory)/python-env-tools/bin
79-
chmod +x $(Build.SourcesDirectory)/python-env-tools/bin
80-
displayName: Make Directory for python-env-tool binary
81-
82-
- bash: |
83-
if [ "$(vsceTarget)" == "win32-x64" ]; then
84-
echo "##vso[task.setvariable variable=buildTarget]x86_64-pc-windows-msvc"
85-
elif [ "$(vsceTarget)" == "win32-arm64" ]; then
86-
echo "##vso[task.setvariable variable=buildTarget]aarch64-pc-windows-msvc"
87-
elif [ "$(vsceTarget)" == "linux-x64" ]; then
88-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
89-
elif [ "$(vsceTarget)" == "linux-arm64" ]; then
90-
echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu"
91-
elif [ "$(vsceTarget)" == "linux-armhf" ]; then
92-
echo "##vso[task.setvariable variable=buildTarget]armv7-unknown-linux-gnueabihf"
93-
elif [ "$(vsceTarget)" == "darwin-x64" ]; then
94-
echo "##vso[task.setvariable variable=buildTarget]x86_64-apple-darwin"
95-
elif [ "$(vsceTarget)" == "darwin-arm64" ]; then
96-
echo "##vso[task.setvariable variable=buildTarget]aarch64-apple-darwin"
97-
elif [ "$(vsceTarget)" == "alpine-x64" ]; then
98-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
99-
elif [ "$(vsceTarget)" == "alpine-arm64" ]; then
100-
echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu"
101-
elif [ "$(vsceTarget)" == "web" ]; then
102-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
103-
else
104-
echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl"
105-
fi
106-
displayName: Set buildTarget variable
107-
108-
- task: DownloadPipelineArtifact@2
109-
inputs:
110-
buildType: specific
111-
project: Monaco
112-
definition: 593
113-
buildVersionToDownload: latestFromBranch
114-
branchName: ${{ parameters.petBranch }}
115-
targetPath: $(Build.SourcesDirectory)/python-env-tools/bin
116-
artifactName: bin-$(buildTarget)
117-
itemPattern: |
118-
pet.exe
119-
pet
120-
ThirdPartyNotices.txt
121-
122-
- bash: |
123-
ls -lf ./python-env-tools/bin
124-
chmod +x ./python-env-tools/bin/pet*
125-
ls -lf ./python-env-tools/bin
126-
displayName: Set chmod for pet binary
127-
12872
- script: npm run package
12973
displayName: Build extension
13074

0 commit comments

Comments
 (0)