From 51b86af13ba8f705f9299703fa3b9f6f8a574dab Mon Sep 17 00:00:00 2001
From: Christian Legnitto <LegNeato@users.noreply.github.com>
Date: Mon, 9 Mar 2020 00:12:11 -0700
Subject: [PATCH] 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
---
 azure-pipelines.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5837372b..5baf30e7 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -6,7 +6,7 @@ jobs:
   - job: check_formatting
     displayName: Check formatting
     pool:
-      vmImage: ubuntu-16.04
+      vmImage: 'ubuntu-latest'
     steps:
       - script: |
           export CARGO_HOME="$HOME/.cargo"
@@ -24,7 +24,7 @@ jobs:
   - job: run_book_tests
     displayName: Book code example tests
     pool:
-      vmImage: ubuntu-16.04
+      vmImage: 'ubuntu-latest'
     steps:
       - script: |
           export CARGO_HOME="$HOME/.cargo"
@@ -38,7 +38,7 @@ jobs:
   - job: build_book_master
     displayName: Build rendered book on master branch and push to Github
     pool:
-      vmImage: ubuntu-16.04
+      vmImage: 'ubuntu-latest'
     dependsOn: run_book_tests
     condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
     variables:
@@ -59,17 +59,17 @@ jobs:
   - template: _build/azure-pipelines-template.yml
     parameters:
       name: Linux
-      vmImage: ubuntu-16.04
+      vmImage: 'ubuntu-latest'
 
   - template: _build/azure-pipelines-template.yml
     parameters:
       name: macOS
-      vmImage: macOS-10.13
+      vmImage: 'macOS-latest'
 
   - template: _build/azure-pipelines-template.yml
     parameters:
       name: Windows
-      vmImage: vs2017-win2016
+      vmImage: 'windows-latest'
 
   ###################################################
   # Releases
@@ -78,7 +78,7 @@ jobs:
   - job: check_release_automation
     displayName: Check release automation
     pool:
-      vmImage: ubuntu-16.04
+      vmImage: 'ubuntu-latest'
     steps:
       - script: |
           export CARGO_HOME="$HOME/.cargo"