Skip to content

Commit 29047de

Browse files
bschnurrCopilot
andauthored
Fix line endings in stable pipeline YAML (#1005)
Normalize to CRLF and add blank line separators between stages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4dd4fc1 commit 29047de

1 file changed

Lines changed: 143 additions & 142 deletions

File tree

Lines changed: 143 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,143 @@
1-
name: Publish Release
2-
trigger:
3-
branches:
4-
include:
5-
- 'release/*'
6-
pr: none
7-
8-
resources:
9-
repositories:
10-
- repository: MicroBuildTemplate
11-
type: git
12-
name: 1ESPipelineTemplates/MicroBuildTemplate
13-
ref: refs/tags/release
14-
15-
- repository: templates
16-
type: git
17-
name: DevDiv/Pylance-Eng
18-
ref: refs/heads/main
19-
variables:
20-
- name: TeamName
21-
value: VSCode-python-debugger
22-
- name: VsixName
23-
value: python-debugger.vsix
24-
- name: AZURE_ARTIFACTS_FEED
25-
value: 'https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/'
26-
27-
parameters:
28-
- name: publishExtension
29-
displayName: 🚀 Publish Extension
30-
type: boolean
31-
default: false
32-
33-
- name: buildPlatforms
34-
type: object
35-
default:
36-
- name: Linux
37-
vsceTarget: ''
38-
- name: Linux
39-
packageArch: arm64
40-
vsceTarget: linux-arm64
41-
- name: Linux
42-
packageArch: arm
43-
vsceTarget: linux-armhf
44-
- name: Linux
45-
packageArch: x64
46-
vsceTarget: linux-x64
47-
- name: MacOS
48-
packageArch: arm64
49-
vsceTarget: darwin-arm64
50-
- name: MacOS
51-
packageArch: x64
52-
vsceTarget: darwin-x64
53-
- name: Windows
54-
packageArch: arm
55-
vsceTarget: win32-arm64
56-
- name: Windows
57-
packageArch: x64
58-
vsceTarget: win32-x64
59-
60-
- name: buildSteps
61-
type: stepList
62-
default:
63-
- script: npm ci
64-
displayName: Install NPM dependencies
65-
66-
- script: python -m pip install -U pip
67-
displayName: Upgrade pip
68-
69-
- script: python -m pip install wheel
70-
displayName: Install wheel
71-
72-
- script: python -m pip install nox
73-
displayName: Install nox
74-
75-
- script: python -m nox --session install_bundled_libs
76-
displayName: Install Python dependencies
77-
78-
- script: python ./build/update_ext_version.py --release --for-publishing
79-
displayName: Update build number
80-
81-
- pwsh: Copy-Item -Path "pre-built/*" -Destination "." -Recurse -Force
82-
displayName: Copy pre-built files
83-
84-
- script: npm run package
85-
displayName: Build extension
86-
87-
extends:
88-
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
89-
parameters:
90-
sdl:
91-
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
92-
codeSignValidation:
93-
enabled: true
94-
sbom:
95-
enabled: false # Disable global SBOM generation; we'll enable selectively per artifact output
96-
pool:
97-
name: AzurePipelines-EO
98-
os: windows
99-
100-
customBuildTags:
101-
- ES365AIMigrationTooling
102-
stages:
103-
- stage: Build
104-
displayName: Build & Package Extension
105-
jobs:
106-
- template: azure-pipelines/extension/templates/jobs/package.yml@templates
107-
parameters:
108-
buildPlatforms: ${{ parameters.buildPlatforms }}
109-
buildSteps: ${{ parameters.buildSteps }}
110-
isPreRelease: false
111-
standardizedVersioning: true
112-
customNPMRegistry: $(AZURE_ARTIFACTS_FEED)
113-
- stage: WaitForValidation
114-
displayName: Wait for Validation
115-
dependsOn: Build
116-
jobs:
117-
- job: wait_for_validation
118-
displayName: Wait for manual validation
119-
pool: server
120-
steps:
121-
- task: ManualValidation@0
122-
timeoutInMinutes: 1440 # task times out in 1 day
123-
inputs:
124-
notifyUsers: 'plseng@microsoft.com'
125-
instructions: 'please test the latest draft release then publish it.'
126-
onTimeout: 'reject'
127-
128-
- stage: Publish
129-
displayName: Publish Extension
130-
dependsOn: WaitForValidation
131-
jobs:
132-
- template: azure-pipelines/extension/templates/jobs/publish-extension.yml@templates
133-
parameters:
134-
buildPlatforms: ${{ parameters.buildPlatforms }}
135-
publishExtension: ${{ parameters.publishExtension }}
136-
preRelease: false
137-
teamName: $(TeamName)
138-
ghCreateTag: true
139-
ghCreateRelease: true
140-
ghReleaseAddChangeLog: true
141-
customNPMRegistry: $(AZURE_ARTIFACTS_FEED)
142-
1+
name: Publish Release
2+
trigger:
3+
branches:
4+
include:
5+
- 'release/*'
6+
pr: none
7+
8+
resources:
9+
repositories:
10+
- repository: MicroBuildTemplate
11+
type: git
12+
name: 1ESPipelineTemplates/MicroBuildTemplate
13+
ref: refs/tags/release
14+
15+
- repository: templates
16+
type: git
17+
name: DevDiv/Pylance-Eng
18+
ref: refs/heads/main
19+
variables:
20+
- name: TeamName
21+
value: VSCode-python-debugger
22+
- name: VsixName
23+
value: python-debugger.vsix
24+
- name: AZURE_ARTIFACTS_FEED
25+
value: 'https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/'
26+
27+
parameters:
28+
- name: publishExtension
29+
displayName: 🚀 Publish Extension
30+
type: boolean
31+
default: false
32+
33+
- name: buildPlatforms
34+
type: object
35+
default:
36+
- name: Linux
37+
vsceTarget: ''
38+
- name: Linux
39+
packageArch: arm64
40+
vsceTarget: linux-arm64
41+
- name: Linux
42+
packageArch: arm
43+
vsceTarget: linux-armhf
44+
- name: Linux
45+
packageArch: x64
46+
vsceTarget: linux-x64
47+
- name: MacOS
48+
packageArch: arm64
49+
vsceTarget: darwin-arm64
50+
- name: MacOS
51+
packageArch: x64
52+
vsceTarget: darwin-x64
53+
- name: Windows
54+
packageArch: arm
55+
vsceTarget: win32-arm64
56+
- name: Windows
57+
packageArch: x64
58+
vsceTarget: win32-x64
59+
60+
- name: buildSteps
61+
type: stepList
62+
default:
63+
- script: npm ci
64+
displayName: Install NPM dependencies
65+
66+
- script: python -m pip install -U pip
67+
displayName: Upgrade pip
68+
69+
- script: python -m pip install wheel
70+
displayName: Install wheel
71+
72+
- script: python -m pip install nox
73+
displayName: Install nox
74+
75+
- script: python -m nox --session install_bundled_libs
76+
displayName: Install Python dependencies
77+
78+
- script: python ./build/update_ext_version.py --release --for-publishing
79+
displayName: Update build number
80+
81+
- pwsh: Copy-Item -Path "pre-built/*" -Destination "." -Recurse -Force
82+
displayName: Copy pre-built files
83+
84+
- script: npm run package
85+
displayName: Build extension
86+
87+
extends:
88+
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
89+
parameters:
90+
sdl:
91+
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
92+
codeSignValidation:
93+
enabled: true
94+
sbom:
95+
enabled: false # Disable global SBOM generation; we'll enable selectively per artifact output
96+
pool:
97+
name: AzurePipelines-EO
98+
os: windows
99+
100+
customBuildTags:
101+
- ES365AIMigrationTooling
102+
stages:
103+
- stage: Build
104+
displayName: Build & Package Extension
105+
jobs:
106+
- template: azure-pipelines/extension/templates/jobs/package.yml@templates
107+
parameters:
108+
buildPlatforms: ${{ parameters.buildPlatforms }}
109+
buildSteps: ${{ parameters.buildSteps }}
110+
isPreRelease: false
111+
standardizedVersioning: true
112+
customNPMRegistry: $(AZURE_ARTIFACTS_FEED)
113+
114+
- stage: WaitForValidation
115+
displayName: Wait for Validation
116+
dependsOn: Build
117+
jobs:
118+
- job: wait_for_validation
119+
displayName: Wait for manual validation
120+
pool: server
121+
steps:
122+
- task: ManualValidation@0
123+
timeoutInMinutes: 1440 # task times out in 1 day
124+
inputs:
125+
notifyUsers: 'plseng@microsoft.com'
126+
instructions: 'please test the latest draft release then publish it.'
127+
onTimeout: 'reject'
128+
129+
- stage: Publish
130+
displayName: Publish Extension
131+
dependsOn: WaitForValidation
132+
jobs:
133+
- template: azure-pipelines/extension/templates/jobs/publish-extension.yml@templates
134+
parameters:
135+
buildPlatforms: ${{ parameters.buildPlatforms }}
136+
publishExtension: ${{ parameters.publishExtension }}
137+
preRelease: false
138+
teamName: $(TeamName)
139+
ghCreateTag: true
140+
ghCreateRelease: true
141+
ghReleaseAddChangeLog: true
142+
customNPMRegistry: $(AZURE_ARTIFACTS_FEED)
143+

0 commit comments

Comments
 (0)