From bccfb97e9231a6ad5f5b04de48bf22994071321c Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 1 Dec 2026 14:41:20 -0800 Subject: [PATCH] Remove the Monaco Python pre-release pipeline YAML Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6 --- build/azure-pipeline.pre-release.yml | 174 --------------------------- 1 file changed, 174 deletions(-) delete mode 100644 build/azure-pipeline.pre-release.yml diff --git a/build/azure-pipeline.pre-release.yml b/build/azure-pipeline.pre-release.yml deleted file mode 100644 index b2fa82384fd9..000000000000 --- a/build/azure-pipeline.pre-release.yml +++ /dev/null @@ -1,174 +0,0 @@ -# Run on a schedule -trigger: none -pr: none - -schedules: - - cron: '0 10 * * 1-5' # 10AM UTC (2AM PDT) MON-FRI (VS Code Pre-release builds at 9PM PDT) - displayName: Nightly Pre-Release Schedule - always: false # only run if there are source code changes - branches: - include: - - main - -resources: - repositories: - - repository: templates - type: github - name: microsoft/vscode-engineering - ref: main - endpoint: Monaco - -parameters: - - name: publishExtension - displayName: 🚀 Publish Extension - type: boolean - default: false - -extends: - template: azure-pipelines/extension/pre-release.yml@templates - parameters: - publishExtension: ${{ parameters.publishExtension }} - ghCreateTag: false - standardizedVersioning: true - l10nSourcePaths: ./src/client - - buildPlatforms: - - name: Linux - vsceTarget: 'web' - - name: Linux - packageArch: arm64 - vsceTarget: linux-arm64 - - name: Linux - packageArch: arm - vsceTarget: linux-armhf - - name: Linux - packageArch: x64 - vsceTarget: linux-x64 - - name: Linux - packageArch: arm64 - vsceTarget: alpine-arm64 - - name: Linux - packageArch: x64 - vsceTarget: alpine-x64 - - name: MacOS - packageArch: arm64 - vsceTarget: darwin-arm64 - - name: MacOS - packageArch: x64 - vsceTarget: darwin-x64 - - name: Windows - packageArch: arm - vsceTarget: win32-arm64 - - name: Windows - packageArch: x64 - vsceTarget: win32-x64 - - buildSteps: - - bash: | - set -euo pipefail - nodeVersion="$(tr -d '\r\n' < .nvmrc)" - nodeVersion="${nodeVersion#v}" - if [[ -z "$nodeVersion" ]]; then - echo ".nvmrc does not contain a Node version" >&2 - exit 1 - fi - echo "##vso[task.setvariable variable=nodeVersion;isReadOnly=true]$nodeVersion" - displayName: Read Node version - - - task: UseNode@1 - inputs: - version: $(nodeVersion) - displayName: Select Node version - - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.10' - addToPath: true - architecture: 'x64' - displayName: Select Python version - - - task: PipAuthenticate@1 - inputs: - artifactFeeds: 'Monaco/vscode' - displayName: Authenticate to vscode feed - - - script: python -m pip install -U pip - displayName: Upgrade pip - - - script: python -m pip install wheel==0.47.0 nox==2026.7.11 - displayName: Install wheel and nox - - - script: npm ci - displayName: Install NPM dependencies - - - script: nox --session install_python_libs - displayName: Install Python extension dependencies - - - script: python ./build/update_package_file.py - displayName: Update telemetry in package.json - - - script: npm run addExtensionPackDependencies - displayName: Update optional extension dependencies - - - script: npx gulp prePublishBundle - displayName: Build - - - bash: | - mkdir -p $(Build.SourcesDirectory)/python-env-tools/bin - chmod +x $(Build.SourcesDirectory)/python-env-tools/bin - displayName: Make Directory for python-env-tool binary - - - bash: | - if [ "$(vsceTarget)" == "win32-x64" ]; then - echo "##vso[task.setvariable variable=buildTarget]x86_64-pc-windows-msvc" - elif [ "$(vsceTarget)" == "win32-arm64" ]; then - echo "##vso[task.setvariable variable=buildTarget]aarch64-pc-windows-msvc" - elif [ "$(vsceTarget)" == "linux-x64" ]; then - echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl" - elif [ "$(vsceTarget)" == "linux-arm64" ]; then - echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu" - elif [ "$(vsceTarget)" == "linux-armhf" ]; then - echo "##vso[task.setvariable variable=buildTarget]armv7-unknown-linux-gnueabihf" - elif [ "$(vsceTarget)" == "darwin-x64" ]; then - echo "##vso[task.setvariable variable=buildTarget]x86_64-apple-darwin" - elif [ "$(vsceTarget)" == "darwin-arm64" ]; then - echo "##vso[task.setvariable variable=buildTarget]aarch64-apple-darwin" - elif [ "$(vsceTarget)" == "alpine-x64" ]; then - echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl" - elif [ "$(vsceTarget)" == "alpine-arm64" ]; then - echo "##vso[task.setvariable variable=buildTarget]aarch64-unknown-linux-gnu" - elif [ "$(vsceTarget)" == "web" ]; then - echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl" - else - echo "##vso[task.setvariable variable=buildTarget]x86_64-unknown-linux-musl" - fi - displayName: Set buildTarget variable - - - task: DownloadPipelineArtifact@2 - inputs: - buildType: 'specific' - project: 'Monaco' - definition: 591 - buildVersionToDownload: 'latest' - branchName: 'refs/heads/main' - targetPath: '$(Build.SourcesDirectory)/python-env-tools/bin' - artifactName: 'bin-$(buildTarget)' - itemPattern: | - pet.exe - pet - ThirdPartyNotices.txt - - - bash: | - ls -lf ./python-env-tools/bin - chmod +x ./python-env-tools/bin/pet* - ls -lf ./python-env-tools/bin - displayName: Set chmod for pet binary - - - script: python -c "import shutil; shutil.rmtree('.nox', ignore_errors=True)" - displayName: Clean up Nox - - tsa: - config: - areaPath: 'Visual Studio Code Python Extensions' - serviceTreeID: '6e6194bc-7baa-4486-86d0-9f5419626d46' - enabled: true