@matheusbsbs / matheus-bagliano / commits / 7f487ce062
Fork 0

Azure Pipeline: switch to the latest agent pools

It would seem that at least the `vs2015-win2012r2` pool (which we use via its old name, `Hosted`) is about to be phased out. Let's switch before that. While at it, use the newer pool names as suggested at https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Feb 27, 2020 at 13:23 UTC 7f487ce062cb09f5e58ca0594396ef66a16934e2
1 file changed +25 -12
azure-pipelines.yml
+25 -12
@@ -5,7 +5,8 @@ jobs:
5 - job: windows_build
6 displayName: Windows Build
7 condition: succeeded()
8 - pool: Hosted
8 + pool:
9 + vmImage: windows-latest
10 timeoutInMinutes: 240
11 steps:
12 - powershell: |
@@ -61,7 +62,8 @@ jobs:
62 displayName: Windows Test
63 dependsOn: windows_build
64 condition: succeeded()
64 - pool: Hosted
65 + pool:
66 + vmImage: windows-latest
67 timeoutInMinutes: 240
68 strategy:
69 parallel: 10
@@ -133,7 +135,8 @@ jobs:
135 - job: vs_build
136 displayName: Visual Studio Build
137 condition: succeeded()
136 - pool: Hosted VS2017
138 + pool:
139 + vmImage: windows-latest
140 timeoutInMinutes: 240
141 steps:
142 - powershell: |
@@ -181,6 +184,7 @@ jobs:
184 platform: x64
185 configuration: Release
186 maximumCpuCount: 4
187 + msbuildArguments: /p:PlatformToolset=v142
188 - powershell: |
189 & compat\vcbuild\vcpkg_copy_dlls.bat release
190 if (!$?) { exit(1) }
@@ -224,7 +228,8 @@ jobs:
228 displayName: Visual Studio Test
229 dependsOn: vs_build
230 condition: succeeded()
227 - pool: Hosted
231 + pool:
232 + vmImage: windows-latest
233 timeoutInMinutes: 240
234 strategy:
235 parallel: 10
@@ -292,7 +297,8 @@ jobs:
297 - job: linux_clang
298 displayName: linux-clang
299 condition: succeeded()
295 - pool: Hosted Ubuntu 1604
300 + pool:
301 + vmImage: ubuntu-latest
302 steps:
303 - bash: |
304 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -330,7 +336,8 @@ jobs:
336 - job: linux_gcc
337 displayName: linux-gcc
338 condition: succeeded()
333 - pool: Hosted Ubuntu 1604
339 + pool:
340 + vmImage: ubuntu-latest
341 steps:
342 - bash: |
343 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -367,7 +374,8 @@ jobs:
374 - job: osx_clang
375 displayName: osx-clang
376 condition: succeeded()
370 - pool: Hosted macOS
377 + pool:
378 + vmImage: macOS-latest
379 steps:
380 - bash: |
381 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -402,7 +410,8 @@ jobs:
410 - job: osx_gcc
411 displayName: osx-gcc
412 condition: succeeded()
405 - pool: Hosted macOS
413 + pool:
414 + vmImage: macOS-latest
415 steps:
416 - bash: |
417 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -435,7 +444,8 @@ jobs:
444 - job: gettext_poison
445 displayName: GETTEXT_POISON
446 condition: succeeded()
438 - pool: Hosted Ubuntu 1604
447 + pool:
448 + vmImage: ubuntu-latest
449 steps:
450 - bash: |
451 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -472,7 +482,8 @@ jobs:
482 - job: linux32
483 displayName: Linux32
484 condition: succeeded()
475 - pool: Hosted Ubuntu 1604
485 + pool:
486 + vmImage: ubuntu-latest
487 steps:
488 - bash: |
489 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -506,7 +517,8 @@ jobs:
517 - job: static_analysis
518 displayName: StaticAnalysis
519 condition: succeeded()
509 - pool: Hosted Ubuntu 1604
520 + pool:
521 + vmImage: ubuntu-latest
522 steps:
523 - bash: |
524 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -526,7 +538,8 @@ jobs:
538 - job: documentation
539 displayName: Documentation
540 condition: succeeded()
529 - pool: Hosted Ubuntu 1604
541 + pool:
542 + vmImage: ubuntu-latest
543 steps:
544 - bash: |
545 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1