Update images for azure pipelines (#555)
There were warnings saying later this month these images were going away. Switch to supported images from https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
This commit is contained in:
parent
00b111a1ff
commit
51b86af13b
1 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ jobs:
|
||||||
- job: check_formatting
|
- job: check_formatting
|
||||||
displayName: Check formatting
|
displayName: Check formatting
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
export CARGO_HOME="$HOME/.cargo"
|
export CARGO_HOME="$HOME/.cargo"
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- job: run_book_tests
|
- job: run_book_tests
|
||||||
displayName: Book code example tests
|
displayName: Book code example tests
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
export CARGO_HOME="$HOME/.cargo"
|
export CARGO_HOME="$HOME/.cargo"
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- job: build_book_master
|
- job: build_book_master
|
||||||
displayName: Build rendered book on master branch and push to Github
|
displayName: Build rendered book on master branch and push to Github
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: 'ubuntu-latest'
|
||||||
dependsOn: run_book_tests
|
dependsOn: run_book_tests
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||||
variables:
|
variables:
|
||||||
|
@ -59,17 +59,17 @@ jobs:
|
||||||
- template: _build/azure-pipelines-template.yml
|
- template: _build/azure-pipelines-template.yml
|
||||||
parameters:
|
parameters:
|
||||||
name: Linux
|
name: Linux
|
||||||
vmImage: ubuntu-16.04
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
- template: _build/azure-pipelines-template.yml
|
- template: _build/azure-pipelines-template.yml
|
||||||
parameters:
|
parameters:
|
||||||
name: macOS
|
name: macOS
|
||||||
vmImage: macOS-10.13
|
vmImage: 'macOS-latest'
|
||||||
|
|
||||||
- template: _build/azure-pipelines-template.yml
|
- template: _build/azure-pipelines-template.yml
|
||||||
parameters:
|
parameters:
|
||||||
name: Windows
|
name: Windows
|
||||||
vmImage: vs2017-win2016
|
vmImage: 'windows-latest'
|
||||||
|
|
||||||
###################################################
|
###################################################
|
||||||
# Releases
|
# Releases
|
||||||
|
@ -78,7 +78,7 @@ jobs:
|
||||||
- job: check_release_automation
|
- job: check_release_automation
|
||||||
displayName: Check release automation
|
displayName: Check release automation
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
export CARGO_HOME="$HOME/.cargo"
|
export CARGO_HOME="$HOME/.cargo"
|
||||||
|
|
Loading…
Add table
Reference in a new issue