Skip to content

Commit 8613880

Browse files
Upgrade all v1.4 build systems to use {os}-latest (#6329)
* Upgrade all v1.4 build systems to use `{os}-latest` * update nightly and nuget releases also
1 parent 2cd11f5 commit 8613880

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

build-system/nightly-builds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
33

44
pool:
5-
vmImage: windows-2019
5+
vmImage: windows-latest
66
demands: Cmd
77

88
trigger: none

build-system/pr-validation.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- job: DocsSpellcheck
2020
displayName: "Docs: Spellcheck"
2121
pool:
22-
vmImage: ubuntu-20.04
22+
vmImage: ubuntu-latest
2323
steps:
2424
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
2525
clean: false # whether to fetch clean each time
@@ -37,7 +37,7 @@ jobs:
3737
- job: DocsMarkdownLinting
3838
displayName: "Docs: Markdown Linting"
3939
pool:
40-
vmImage: ubuntu-20.04
40+
vmImage: ubuntu-latest
4141
steps:
4242
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
4343
clean: false # whether to fetch clean each time
@@ -55,7 +55,7 @@ jobs:
5555
- job: WindowsBuild
5656
displayName: Windows Build
5757
pool:
58-
vmImage: windows-2019
58+
vmImage: windows-latest
5959
demands: Cmd
6060
steps:
6161
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
@@ -98,7 +98,7 @@ jobs:
9898
parameters:
9999
name: "netfx_tests_windows"
100100
displayName: ".NET Framework Unit Tests (Windows)"
101-
vmImage: "windows-2019"
101+
vmImage: "windows-latest"
102102
scriptFileName: build.cmd
103103
scriptArgs: runTests incremental
104104
outputDirectory: "TestResults"
@@ -108,7 +108,7 @@ jobs:
108108
parameters:
109109
name: "net_core_tests_windows"
110110
displayName: ".NET Core Unit Tests (Windows)"
111-
vmImage: "windows-2019"
111+
vmImage: "windows-latest"
112112
scriptFileName: build.cmd
113113
scriptArgs: runTestsNetCore incremental
114114
outputDirectory: "TestResults"
@@ -118,7 +118,7 @@ jobs:
118118
parameters:
119119
name: "net_core_tests_linux"
120120
displayName: ".NET Core Unit Tests (Linux)"
121-
vmImage: "ubuntu-18.04"
121+
vmImage: "ubuntu-latest"
122122
scriptFileName: "./build.sh"
123123
scriptArgs: runTestsNetCore incremental
124124
outputDirectory: "TestResults"
@@ -128,7 +128,7 @@ jobs:
128128
parameters:
129129
name: "docfx_test"
130130
displayName: "DocFX warning check"
131-
vmImage: "windows-2019"
131+
vmImage: "windows-latest"
132132
scriptFileName: build.cmd
133133
scriptArgs: docfx
134134
outputDirectory: "TestResults"
@@ -139,7 +139,7 @@ jobs:
139139
parameters:
140140
name: "net_5_tests_windows"
141141
displayName: ".NET 5 Unit Tests (Windows)"
142-
vmImage: "windows-2019"
142+
vmImage: "windows-latest"
143143
scriptFileName: build.cmd
144144
scriptArgs: runTestsNet incremental
145145
outputDirectory: "TestResults"
@@ -149,7 +149,7 @@ jobs:
149149
parameters:
150150
name: "net_5_tests_linux"
151151
displayName: ".NET 5 Unit Tests (Linux)"
152-
vmImage: "ubuntu-18.04"
152+
vmImage: "ubuntu-latest"
153153
scriptFileName: "./build.sh"
154154
scriptArgs: runTestsNet incremental
155155
outputDirectory: "TestResults"
@@ -159,7 +159,7 @@ jobs:
159159
parameters:
160160
name: "net_core_mntr_windows"
161161
displayName: ".NET Core Multi-Node Tests (Windows)"
162-
vmImage: "windows-2019"
162+
vmImage: "windows-latest"
163163
scriptFileName: "build.cmd"
164164
scriptArgs: MultiNodeTestsNetCore incremental
165165
outputDirectory: "TestResults"
@@ -171,7 +171,7 @@ jobs:
171171
parameters:
172172
name: "net_5_mntr_windows"
173173
displayName: ".NET 5 Multi-Node Tests (Windows)"
174-
vmImage: "windows-2019"
174+
vmImage: "windows-latest"
175175
scriptFileName: "build.cmd"
176176
scriptArgs: MultiNodeTestsNet incremental
177177
outputDirectory: "TestResults"
@@ -183,7 +183,7 @@ jobs:
183183
parameters:
184184
name: "nuget_pack"
185185
displayName: "NuGet Pack"
186-
vmImage: "windows-2019"
186+
vmImage: "windows-latest"
187187
scriptFileName: build.cmd
188188
scriptArgs: CreateNuget nugetprerelease=dev incremental
189189
outputDirectory: "bin/nuget"

build-system/windows-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
33

44
pool:
5-
vmImage: windows-2019
5+
vmImage: windows-latest
66
demands: Cmd
77

88
trigger:

0 commit comments

Comments
 (0)