From 293df1b2eb34ec6a565236cef14842d08909edda Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:28:13 -0700 Subject: [PATCH] Update ubuntu VMImage (#21834) * Update ubuntu vm-image * Update platform-matrix.json --- eng/containers/ci.yml | 2 +- eng/pipelines/templates/jobs/ci.yml | 4 ++-- eng/pipelines/templates/jobs/smoke.tests.yml | 12 ++++++------ eng/pipelines/templates/stages/platform-matrix.json | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/eng/containers/ci.yml b/eng/containers/ci.yml index 1ae7ac990661b..defe2b5347424 100644 --- a/eng/containers/ci.yml +++ b/eng/containers/ci.yml @@ -9,7 +9,7 @@ trigger: - eng/containers/ pool: - vmImage: 'ubuntu-18.04' + vmImage: 'ubuntu-20.04' variables: dockerfile: ./eng/containers/UbuntuNetCoreKeyring/Dockerfile diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index 678e5851e6ceb..57b59af52fe89 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -101,8 +101,8 @@ jobs: - job: "Analyze" condition: and(succeededOrFailed(), ne(variables['Skip.Analyze'], true)) pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 steps: - template: /eng/common/pipelines/templates/steps/check-spelling.yml - task: UsePythonVersion@0 diff --git a/eng/pipelines/templates/jobs/smoke.tests.yml b/eng/pipelines/templates/jobs/smoke.tests.yml index 17bec0b1fd7aa..e36a94663c755 100644 --- a/eng/pipelines/templates/jobs/smoke.tests.yml +++ b/eng/pipelines/templates/jobs/smoke.tests.yml @@ -16,8 +16,8 @@ jobs: - ${{ if eq(parameters.Daily, false) }}: - job: smoke_test_eligibility pool: - name: "azsdk-pool-mms-ubuntu-1804-general" - vmImage: "MMSUbuntu18.04" + name: "azsdk-pool-mms-ubuntu-2004-general" + vmImage: "MMSUbuntu20.04" displayName: Check Smoke Test Eligibility steps: # pipelines only supports template each when it generates the entire script block. @@ -48,15 +48,15 @@ jobs: strategy: matrix: Linux (AzureCloud): - Pool: "azsdk-pool-mms-ubuntu-1804-general" - OSVmImage: "MMSUbuntu18.04" + Pool: "azsdk-pool-mms-ubuntu-2004-general" + OSVmImage: "MMSUbuntu20.04" TestTargetFramework: netcoreapp2.1 SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) ArmTemplateParameters: $(azureCloudArmParameters) Location: "westus" Linux (AzureCloud Canary): - Pool: "azsdk-pool-mms-ubuntu-1804-general" - OSVmImage: "MMSUbuntu18.04" + Pool: "azsdk-pool-mms-ubuntu-2004-general" + OSVmImage: "MMSUbuntu20.04" TestTargetFramework: netcoreapp2.1 SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) ArmTemplateParameters: $(azureCloudArmParameters) diff --git a/eng/pipelines/templates/stages/platform-matrix.json b/eng/pipelines/templates/stages/platform-matrix.json index 90522fa0ab48b..86ce21a288944 100644 --- a/eng/pipelines/templates/stages/platform-matrix.json +++ b/eng/pipelines/templates/stages/platform-matrix.json @@ -5,9 +5,9 @@ }, "matrix": { "Agent": { - "ubuntu-18.04": { - "OSVmImage": "MMSUbuntu18.04", - "Pool": "azsdk-pool-mms-ubuntu-1804-general" + "ubuntu-20.04": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general" }, "windows-2019": { "OSVmImage": "MMS2019",