ci: Use ubuntu-latest vmImage where applicable

Not specifying the vmImage defaults to ubuntu-16.04, which will be deprecated soon and is experiencing brownouts.
merge-requests/60/head
ameerj 2021-10-11 16:57:41 +07:00
parent 97452b9558
commit 1ea303e2af
4 changed files with 12 additions and 0 deletions

@ -1,6 +1,8 @@
jobs: jobs:
- job: merge - job: merge
displayName: 'pull requests' displayName: 'pull requests'
pool:
vmImage: 'ubuntu-latest'
steps: steps:
- checkout: self - checkout: self
submodules: recursive submodules: recursive
@ -24,6 +26,8 @@ jobs:
- job: upload_source - job: upload_source
displayName: 'upload' displayName: 'upload'
dependsOn: merge dependsOn: merge
pool:
vmImage: 'ubuntu-latest'
steps: steps:
- template: ./sync-source.yml - template: ./sync-source.yml
parameters: parameters:

@ -1,6 +1,8 @@
jobs: jobs:
- job: merge - job: merge
displayName: 'pull requests' displayName: 'pull requests'
pool:
vmImage: 'ubuntu-latest'
steps: steps:
- checkout: self - checkout: self
submodules: recursive submodules: recursive
@ -23,6 +25,8 @@ jobs:
- job: upload_source - job: upload_source
displayName: 'upload' displayName: 'upload'
dependsOn: merge dependsOn: merge
pool:
vmImage: 'ubuntu-latest'
steps: steps:
- template: ./sync-source.yml - template: ./sync-source.yml
parameters: parameters:

@ -66,5 +66,7 @@ stages:
jobs: jobs:
- job: github - job: github
displayName: 'github' displayName: 'github'
pool:
vmImage: ubuntu-latest
steps: steps:
- template: ./templates/release-github.yml - template: ./templates/release-github.yml

@ -29,5 +29,7 @@ stages:
jobs: jobs:
- job: release - job: release
displayName: 'source' displayName: 'source'
pool:
vmImage: 'ubuntu-latest'
steps: steps:
- template: ./templates/release-private-tag.yml - template: ./templates/release-private-tag.yml