From 57613dbb0f30cf0f4c9c9d4c4128feb4e1904c75 Mon Sep 17 00:00:00 2001 From: bschnurr Date: Tue, 7 Oct 2025 18:17:08 -0700 Subject: [PATCH] Update serviceTreeID to Pylance team - Change serviceTreeID from 6e6194bc-7baa-4486-86d0-9f5419626d46 to e3c408e8-09e7-404f-a9af-22b4ac3807a3 - Update areaPath to 'Pylance' Files updated: build/azure-pipeline.stable.yml, build/azure-pipeline.pre-release.yml --- build/azure-pipeline.pre-release.yml | 190 +++++++++++++-------------- build/azure-pipeline.stable.yml | 186 +++++++++++++------------- 2 files changed, 188 insertions(+), 188 deletions(-) diff --git a/build/azure-pipeline.pre-release.yml b/build/azure-pipeline.pre-release.yml index 2db74326..2f12cb5a 100644 --- a/build/azure-pipeline.pre-release.yml +++ b/build/azure-pipeline.pre-release.yml @@ -1,95 +1,95 @@ -# 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: - l10nSourcePaths: ./src - standardizedVersioning: true - ghCreateTag: false - buildPlatforms: - - name: Linux - vsceTarget: '' - - name: Linux - packageArch: arm64 - vsceTarget: linux-arm64 - - name: Linux - packageArch: arm - vsceTarget: linux-armhf - - name: Linux - packageArch: x64 - vsceTarget: linux-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: - - task: NodeTool@0 - inputs: - versionSpec: '22.17.0' - displayName: Select Node version - - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.9' - addToPath: true - architecture: 'x64' - displayName: Select Python version - - - script: npm ci - displayName: Install NPM dependencies - - - script: python -m pip install -U pip - displayName: Upgrade pip - - - script: python -m pip install wheel nox - displayName: Install wheel and nox - - # update according packageArch - - script: python -m nox --session install_bundled_libs - displayName: Install Python dependencies - env: - VSCETARGET: ${{ variables.VSCETARGET }} - - - script: npm run package - displayName: Build extension - - tsa: - config: - areaPath: 'Visual Studio Code Python Extensions' - serviceTreeID: '6e6194bc-7baa-4486-86d0-9f5419626d46' - enabled: true - - publishExtension: ${{ parameters.publishExtension }} +# 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: + l10nSourcePaths: ./src + standardizedVersioning: true + ghCreateTag: false + buildPlatforms: + - name: Linux + vsceTarget: '' + - name: Linux + packageArch: arm64 + vsceTarget: linux-arm64 + - name: Linux + packageArch: arm + vsceTarget: linux-armhf + - name: Linux + packageArch: x64 + vsceTarget: linux-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: + - task: NodeTool@0 + inputs: + versionSpec: '22.17.0' + displayName: Select Node version + + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.9' + addToPath: true + architecture: 'x64' + displayName: Select Python version + + - script: npm ci + displayName: Install NPM dependencies + + - script: python -m pip install -U pip + displayName: Upgrade pip + + - script: python -m pip install wheel nox + displayName: Install wheel and nox + + # update according packageArch + - script: python -m nox --session install_bundled_libs + displayName: Install Python dependencies + env: + VSCETARGET: ${{ variables.VSCETARGET }} + + - script: npm run package + displayName: Build extension + + tsa: + config: + areaPath: 'Pylance' + serviceTreeID: 'e3c408e8-09e7-404f-a9af-22b4ac3807a3' + enabled: true + + publishExtension: ${{ parameters.publishExtension }} diff --git a/build/azure-pipeline.stable.yml b/build/azure-pipeline.stable.yml index 452ab5e9..122caf9b 100644 --- a/build/azure-pipeline.stable.yml +++ b/build/azure-pipeline.stable.yml @@ -1,93 +1,93 @@ -trigger: none -# branches: -# include: -# - release* -# tags: -# include: ['*'] -pr: none - -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/stable.yml@templates - parameters: - l10nSourcePaths: ./src - publishExtension: ${{ parameters.publishExtension }} - buildPlatforms: - - name: Linux - vsceTarget: '' - - name: Linux - packageArch: arm64 - vsceTarget: linux-arm64 - - name: Linux - packageArch: arm - vsceTarget: linux-armhf - - name: Linux - packageArch: x64 - vsceTarget: linux-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: - - task: NodeTool@0 - inputs: - versionSpec: '22.17.0' - displayName: Select Node version - - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.9' - addToPath: true - architecture: 'x64' - displayName: Select Python version - - - script: npm ci - displayName: Install NPM dependencies - - - script: python -m pip install -U pip - displayName: Upgrade pip - - - script: python -m pip install wheel nox - displayName: Install wheel and nox - - # update according packageArch - - script: python -m nox --session install_bundled_libs - displayName: Install Python dependencies - env: - VSCETARGET: ${{ variables.VSCETARGET }} - - - script: python ./build/update_ext_version.py --release --for-publishing - displayName: Update build number - - - script: npm run package - displayName: Build extension - - tsa: - config: - areaPath: 'Visual Studio Code Python Extensions' - serviceTreeID: '6e6194bc-7baa-4486-86d0-9f5419626d46' - enabled: true - - apiScanSoftwareVersion: '2024' +trigger: none +# branches: +# include: +# - release* +# tags: +# include: ['*'] +pr: none + +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/stable.yml@templates + parameters: + l10nSourcePaths: ./src + publishExtension: ${{ parameters.publishExtension }} + buildPlatforms: + - name: Linux + vsceTarget: '' + - name: Linux + packageArch: arm64 + vsceTarget: linux-arm64 + - name: Linux + packageArch: arm + vsceTarget: linux-armhf + - name: Linux + packageArch: x64 + vsceTarget: linux-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: + - task: NodeTool@0 + inputs: + versionSpec: '22.17.0' + displayName: Select Node version + + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.9' + addToPath: true + architecture: 'x64' + displayName: Select Python version + + - script: npm ci + displayName: Install NPM dependencies + + - script: python -m pip install -U pip + displayName: Upgrade pip + + - script: python -m pip install wheel nox + displayName: Install wheel and nox + + # update according packageArch + - script: python -m nox --session install_bundled_libs + displayName: Install Python dependencies + env: + VSCETARGET: ${{ variables.VSCETARGET }} + + - script: python ./build/update_ext_version.py --release --for-publishing + displayName: Update build number + + - script: npm run package + displayName: Build extension + + tsa: + config: + areaPath: 'Pylance' + serviceTreeID: 'e3c408e8-09e7-404f-a9af-22b4ac3807a3' + enabled: true + + apiScanSoftwareVersion: '2024'