Skip to content

Commit 0232e2d

Browse files
Update azure pipeline to use ubuntu 22.04 agent (#22676)
Update azure pipeline to use ubuntu 22.04 agent
1 parent 439aa5e commit 0232e2d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.azure-pipelines/azure-pipelines-UpgrateVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ stages:
9797
jobs:
9898
- job: UpgradeVersions
9999
pool:
100-
vmImage: 'ubuntu-20.04'
100+
vmImage: 'ubuntu-22.04'
101101
steps:
102102
- script: |
103103
if [ -z "$(which gh)" ]; then

.azure-pipelines/azure-pipelines-build-ubuntu-2004.yml renamed to .azure-pipelines/azure-pipelines-build-ubuntu-2204.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ stages:
2525

2626
jobs:
2727
- job:
28-
displayName: "amd64/ubuntu-20.04"
28+
displayName: "amd64/ubuntu-22.04"
2929
pool:
30-
vmImage: 'ubuntu-20.04'
30+
vmImage: 'ubuntu-22.04'
3131

3232
steps:
3333
- checkout: self
3434
submodules: true
3535
- script: |
3636
sudo apt-get update
37-
sudo apt-get install -y make wget libtool m4 autoconf dh-exec libdebhelper-perl=13.6ubuntu1~bpo20.04.1 debhelper=13.6ubuntu1~bpo20.04.1 \
37+
sudo apt-get install -y make wget libtool m4 autoconf dh-exec debhelper \
3838
cmake pkg-config python3-pip python cmake libgtest-dev libgmock-dev libyang-dev \
3939
debhelper-compat dh-elpa dh-sequence-python3 python3-all \
4040
libpython3-all-dev python3-six xmlto unzip rake-compiler gem2deb pkg-php-tools \
@@ -63,5 +63,5 @@ stages:
6363
cp *.deb /tmp/artifacts
6464
workingDirectory: src
6565
- publish: /tmp/artifacts
66-
artifact: sonic-buildimage.amd64.ubuntu20_04
67-
displayName: "Archive sonic-buildimage debian packages for ubuntu20.04"
66+
artifact: sonic-buildimage.amd64.ubuntu22_04
67+
displayName: "Archive sonic-buildimage debian packages for ubuntu22.04"

0 commit comments

Comments
 (0)