Browse Source

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>
maint
Johannes Schindelin 5 years ago committed by Junio C Hamano
parent
commit
7f487ce062
  1. 37
      azure-pipelines.yml

37
azure-pipelines.yml

@ -5,7 +5,8 @@ jobs:
- job: windows_build - job: windows_build
displayName: Windows Build displayName: Windows Build
condition: succeeded() condition: succeeded()
pool: Hosted pool:
vmImage: windows-latest
timeoutInMinutes: 240 timeoutInMinutes: 240
steps: steps:
- powershell: | - powershell: |
@ -61,7 +62,8 @@ jobs:
displayName: Windows Test displayName: Windows Test
dependsOn: windows_build dependsOn: windows_build
condition: succeeded() condition: succeeded()
pool: Hosted pool:
vmImage: windows-latest
timeoutInMinutes: 240 timeoutInMinutes: 240
strategy: strategy:
parallel: 10 parallel: 10
@ -133,7 +135,8 @@ jobs:
- job: vs_build - job: vs_build
displayName: Visual Studio Build displayName: Visual Studio Build
condition: succeeded() condition: succeeded()
pool: Hosted VS2017 pool:
vmImage: windows-latest
timeoutInMinutes: 240 timeoutInMinutes: 240
steps: steps:
- powershell: | - powershell: |
@ -181,6 +184,7 @@ jobs:
platform: x64 platform: x64
configuration: Release configuration: Release
maximumCpuCount: 4 maximumCpuCount: 4
msbuildArguments: /p:PlatformToolset=v142
- powershell: | - powershell: |
& compat\vcbuild\vcpkg_copy_dlls.bat release & compat\vcbuild\vcpkg_copy_dlls.bat release
if (!$?) { exit(1) } if (!$?) { exit(1) }
@ -224,7 +228,8 @@ jobs:
displayName: Visual Studio Test displayName: Visual Studio Test
dependsOn: vs_build dependsOn: vs_build
condition: succeeded() condition: succeeded()
pool: Hosted pool:
vmImage: windows-latest
timeoutInMinutes: 240 timeoutInMinutes: 240
strategy: strategy:
parallel: 10 parallel: 10
@ -292,7 +297,8 @@ jobs:
- job: linux_clang - job: linux_clang
displayName: linux-clang displayName: linux-clang
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: linux_gcc - job: linux_gcc
displayName: linux-gcc displayName: linux-gcc
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: osx_clang - job: osx_clang
displayName: osx-clang displayName: osx-clang
condition: succeeded() condition: succeeded()
pool: Hosted macOS pool:
vmImage: macOS-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: osx_gcc - job: osx_gcc
displayName: osx-gcc displayName: osx-gcc
condition: succeeded() condition: succeeded()
pool: Hosted macOS pool:
vmImage: macOS-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: gettext_poison - job: gettext_poison
displayName: GETTEXT_POISON displayName: GETTEXT_POISON
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: linux32 - job: linux32
displayName: Linux32 displayName: Linux32
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: static_analysis - job: static_analysis
displayName: StaticAnalysis displayName: StaticAnalysis
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 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:
- job: documentation - job: documentation
displayName: Documentation displayName: Documentation
condition: succeeded() condition: succeeded()
pool: Hosted Ubuntu 1604 pool:
vmImage: ubuntu-latest
steps: steps:
- bash: | - bash: |
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1

Loading…
Cancel
Save