From c4d5a57b3f44204ff69979d46e21c68c7fb85c61 Mon Sep 17 00:00:00 2001 From: bschnurr Date: Thu, 23 Apr 2026 13:25:34 -0700 Subject: [PATCH] Fix line endings in stable pipeline YAML Normalize to CRLF and add blank line separators between stages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- build/azure-devdiv-pipeline.stable.yml | 285 +++++++++++++------------ 1 file changed, 143 insertions(+), 142 deletions(-) diff --git a/build/azure-devdiv-pipeline.stable.yml b/build/azure-devdiv-pipeline.stable.yml index 68db72f3..c24efdb2 100644 --- a/build/azure-devdiv-pipeline.stable.yml +++ b/build/azure-devdiv-pipeline.stable.yml @@ -1,142 +1,143 @@ -name: Publish Release -trigger: - branches: - include: - - 'release/*' -pr: none - -resources: - repositories: - - repository: MicroBuildTemplate - type: git - name: 1ESPipelineTemplates/MicroBuildTemplate - ref: refs/tags/release - - - repository: templates - type: git - name: DevDiv/Pylance-Eng - ref: refs/heads/main -variables: - - name: TeamName - value: VSCode-python-debugger - - name: VsixName - value: python-debugger.vsix - - name: AZURE_ARTIFACTS_FEED - value: 'https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/' - -parameters: - - name: publishExtension - displayName: 🚀 Publish Extension - type: boolean - default: false - - - name: buildPlatforms - type: object - default: - - 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 - - - name: buildSteps - type: stepList - default: - - script: npm ci - displayName: Install NPM dependencies - - - script: python -m pip install -U pip - displayName: Upgrade pip - - - script: python -m pip install wheel - displayName: Install wheel - - - script: python -m pip install nox - displayName: Install nox - - - script: python -m nox --session install_bundled_libs - displayName: Install Python dependencies - - - script: python ./build/update_ext_version.py --release --for-publishing - displayName: Update build number - - - pwsh: Copy-Item -Path "pre-built/*" -Destination "." -Recurse -Force - displayName: Copy pre-built files - - - script: npm run package - displayName: Build extension - -extends: - template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate - parameters: - sdl: - sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES - codeSignValidation: - enabled: true - sbom: - enabled: false # Disable global SBOM generation; we'll enable selectively per artifact output - pool: - name: AzurePipelines-EO - os: windows - - customBuildTags: - - ES365AIMigrationTooling - stages: - - stage: Build - displayName: Build & Package Extension - jobs: - - template: azure-pipelines/extension/templates/jobs/package.yml@templates - parameters: - buildPlatforms: ${{ parameters.buildPlatforms }} - buildSteps: ${{ parameters.buildSteps }} - isPreRelease: false - standardizedVersioning: true - customNPMRegistry: $(AZURE_ARTIFACTS_FEED) - - stage: WaitForValidation - displayName: Wait for Validation - dependsOn: Build - jobs: - - job: wait_for_validation - displayName: Wait for manual validation - pool: server - steps: - - task: ManualValidation@0 - timeoutInMinutes: 1440 # task times out in 1 day - inputs: - notifyUsers: 'plseng@microsoft.com' - instructions: 'please test the latest draft release then publish it.' - onTimeout: 'reject' - - - stage: Publish - displayName: Publish Extension - dependsOn: WaitForValidation - jobs: - - template: azure-pipelines/extension/templates/jobs/publish-extension.yml@templates - parameters: - buildPlatforms: ${{ parameters.buildPlatforms }} - publishExtension: ${{ parameters.publishExtension }} - preRelease: false - teamName: $(TeamName) - ghCreateTag: true - ghCreateRelease: true - ghReleaseAddChangeLog: true - customNPMRegistry: $(AZURE_ARTIFACTS_FEED) - +name: Publish Release +trigger: + branches: + include: + - 'release/*' +pr: none + +resources: + repositories: + - repository: MicroBuildTemplate + type: git + name: 1ESPipelineTemplates/MicroBuildTemplate + ref: refs/tags/release + + - repository: templates + type: git + name: DevDiv/Pylance-Eng + ref: refs/heads/main +variables: + - name: TeamName + value: VSCode-python-debugger + - name: VsixName + value: python-debugger.vsix + - name: AZURE_ARTIFACTS_FEED + value: 'https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/' + +parameters: + - name: publishExtension + displayName: 🚀 Publish Extension + type: boolean + default: false + + - name: buildPlatforms + type: object + default: + - 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 + + - name: buildSteps + type: stepList + default: + - script: npm ci + displayName: Install NPM dependencies + + - script: python -m pip install -U pip + displayName: Upgrade pip + + - script: python -m pip install wheel + displayName: Install wheel + + - script: python -m pip install nox + displayName: Install nox + + - script: python -m nox --session install_bundled_libs + displayName: Install Python dependencies + + - script: python ./build/update_ext_version.py --release --for-publishing + displayName: Update build number + + - pwsh: Copy-Item -Path "pre-built/*" -Destination "." -Recurse -Force + displayName: Copy pre-built files + + - script: npm run package + displayName: Build extension + +extends: + template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate + parameters: + sdl: + sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES + codeSignValidation: + enabled: true + sbom: + enabled: false # Disable global SBOM generation; we'll enable selectively per artifact output + pool: + name: AzurePipelines-EO + os: windows + + customBuildTags: + - ES365AIMigrationTooling + stages: + - stage: Build + displayName: Build & Package Extension + jobs: + - template: azure-pipelines/extension/templates/jobs/package.yml@templates + parameters: + buildPlatforms: ${{ parameters.buildPlatforms }} + buildSteps: ${{ parameters.buildSteps }} + isPreRelease: false + standardizedVersioning: true + customNPMRegistry: $(AZURE_ARTIFACTS_FEED) + + - stage: WaitForValidation + displayName: Wait for Validation + dependsOn: Build + jobs: + - job: wait_for_validation + displayName: Wait for manual validation + pool: server + steps: + - task: ManualValidation@0 + timeoutInMinutes: 1440 # task times out in 1 day + inputs: + notifyUsers: 'plseng@microsoft.com' + instructions: 'please test the latest draft release then publish it.' + onTimeout: 'reject' + + - stage: Publish + displayName: Publish Extension + dependsOn: WaitForValidation + jobs: + - template: azure-pipelines/extension/templates/jobs/publish-extension.yml@templates + parameters: + buildPlatforms: ${{ parameters.buildPlatforms }} + publishExtension: ${{ parameters.publishExtension }} + preRelease: false + teamName: $(TeamName) + ghCreateTag: true + ghCreateRelease: true + ghReleaseAddChangeLog: true + customNPMRegistry: $(AZURE_ARTIFACTS_FEED) +