From 34b0d8cd88e09ab8c4ef716bdcfc520755e81e75 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Tue, 15 Nov 2022 19:47:47 +0000 Subject: [PATCH] update build agent image to ubuntu 22.04 --- .devops/azure-pipelines-ci.yml | 4 ++-- .devops/azure-pipelines-pr.yml | 4 ++-- .devops/azure-pipelines-release.yml | 2 +- .devops/azure-pipelines-test-dependent-projects.yml | 2 +- .devops/azure-pipelines-test.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.devops/azure-pipelines-ci.yml b/.devops/azure-pipelines-ci.yml index d9b3169..cc596c9 100644 --- a/.devops/azure-pipelines-ci.yml +++ b/.devops/azure-pipelines-ci.yml @@ -6,7 +6,7 @@ pr: none jobs: - job: Build pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' steps: - task: Npm@1 displayName: 'npm install' @@ -22,7 +22,7 @@ jobs: customCommand: run build - job: Pack pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' steps: - task: NodeTool@0 displayName: 'Install Node 11.x' diff --git a/.devops/azure-pipelines-pr.yml b/.devops/azure-pipelines-pr.yml index 499630f..bbbf5f6 100644 --- a/.devops/azure-pipelines-pr.yml +++ b/.devops/azure-pipelines-pr.yml @@ -1,7 +1,7 @@ jobs: - job: Build pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' steps: - task: Npm@1 displayName: 'npm install' @@ -17,7 +17,7 @@ jobs: customCommand: run build - job: Check_Everything pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' steps: - task: Npm@1 displayName: 'npm install' diff --git a/.devops/azure-pipelines-release.yml b/.devops/azure-pipelines-release.yml index 8e2e0fb..afb9b9c 100644 --- a/.devops/azure-pipelines-release.yml +++ b/.devops/azure-pipelines-release.yml @@ -4,7 +4,7 @@ pr: none jobs: - job: Release pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' steps: - script: | npm install diff --git a/.devops/azure-pipelines-test-dependent-projects.yml b/.devops/azure-pipelines-test-dependent-projects.yml index ef7e25a..2259b5b 100644 --- a/.devops/azure-pipelines-test-dependent-projects.yml +++ b/.devops/azure-pipelines-test-dependent-projects.yml @@ -4,7 +4,7 @@ variables: msRestAzureArtifactName: ms-rest-azure-js msRestAzureJsPackageName: azure-ms-rest-azure-js.tgz tempDirectory: $(Pipeline.Workspace)/.tmp - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' jobs: - job: prepare_ms_rest_js diff --git a/.devops/azure-pipelines-test.yml b/.devops/azure-pipelines-test.yml index 0be869d..933d995 100644 --- a/.devops/azure-pipelines-test.yml +++ b/.devops/azure-pipelines-test.yml @@ -4,7 +4,7 @@ parameters: jobs: - job: 'testOn${{parameters.nodeVersion}}' pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'ubuntu-22.04' dependsOn: Build condition: succeeded() steps: