Skip to content

Commit 8226e46

Browse files
authored
Upgrade pipeline to use bullseye. (#58)
Why I did it GNMI native write needs to use bullseye as build environment. How I did it Upgrade pipeline to use bullseye. How to verify it PR checker should pass.
1 parent 8117415 commit 8226e46

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ stages:
4040
DIFF_COVER_WORKING_DIRECTORY: $(System.DefaultWorkingDirectory)/sonic-gnmi
4141

4242
container:
43-
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster:latest
43+
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:latest
4444

4545
steps:
4646
- checkout: self
@@ -87,24 +87,25 @@ stages:
8787
sudo service redis-server start
8888
8989
# LIBYANG
90-
sudo dpkg -i ../target/debs/buster/libyang*1.0.73*.deb
90+
sudo dpkg -i ../target/debs/bullseye/libyang*1.0.73*.deb
9191
displayName: "Install dependency"
9292
9393
- script: |
9494
# LIBSWSSCOMMON
9595
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
96-
sudo dpkg -i ../target/debs/buster/libnl-3-200_*.deb
97-
sudo dpkg -i ../target/debs/buster/libnl-genl-3-200_*.deb
98-
sudo dpkg -i ../target/debs/buster/libnl-route-3-200_*.deb
99-
sudo dpkg -i ../target/debs/buster/libnl-nf-3-200_*.deb
100-
sudo dpkg -i ../target/debs/buster/libhiredis0.14_*.deb
96+
sudo dpkg -i ../target/debs/bullseye/libnl-3-200_*.deb
97+
sudo dpkg -i ../target/debs/bullseye/libnl-genl-3-200_*.deb
98+
sudo dpkg -i ../target/debs/bullseye/libnl-route-3-200_*.deb
99+
sudo dpkg -i ../target/debs/bullseye/libnl-nf-3-200_*.deb
100+
sudo dpkg -i ../target/debs/bullseye/libhiredis0.14_*.deb
101+
sudo dpkg -i ../target/debs/bullseye/libhiredis-dev_*.deb
101102
displayName: "Install libswsscommon dependencies"
102103
103104
- script: |
104105
set -ex
105106
# Install .NET CORE
106107
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
107-
sudo apt-add-repository https://packages.microsoft.com/debian/10/prod
108+
sudo apt-add-repository https://packages.microsoft.com/debian/11/prod
108109
sudo apt-get update
109110
sudo apt-get install -y dotnet-sdk-5.0
110111
displayName: "Install .NET CORE"
@@ -114,7 +115,7 @@ stages:
114115
source: specific
115116
project: build
116117
pipeline: Azure.sonic-swss-common
117-
artifact: sonic-swss-common
118+
artifact: sonic-swss-common.bullseye.amd64
118119
runVersion: 'latestFromBranch'
119120
runBranch: 'refs/heads/master'
120121
displayName: "Download sonic-swss-common"

0 commit comments

Comments
 (0)