Skip to content

Commit c497c84

Browse files
authored
[azure-pipelines] update azp from buster to bullseye (#2455)
Signed-off-by: maipbui [email protected] What I did Update to bullseye to use python 3.9 How I did it Change pipeline from buster to bullseye How to verify it Pass PR build checker
1 parent 611d8c6 commit c497c84

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ stages:
2626
vmImage: ubuntu-20.04
2727

2828
container:
29-
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster:latest
29+
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:latest
3030

3131
steps:
3232
- script: |
@@ -58,15 +58,15 @@ stages:
5858
sudo dpkg -i libyang_1.0.73_amd64.deb
5959
sudo dpkg -i libyang-cpp_1.0.73_amd64.deb
6060
sudo dpkg -i python3-yang_1.0.73_amd64.deb
61-
workingDirectory: $(Pipeline.Workspace)/target/debs/buster/
61+
workingDirectory: $(Pipeline.Workspace)/target/debs/bullseye/
6262
displayName: 'Install Debian dependencies'
6363
6464
- task: DownloadPipelineArtifact@2
6565
inputs:
6666
source: specific
6767
project: build
6868
pipeline: 9
69-
artifact: sonic-swss-common
69+
artifact: sonic-swss-common.bullseye.amd64
7070
runVersion: 'latestFromBranch'
7171
runBranch: 'refs/heads/master'
7272
displayName: "Download sonic swss common deb packages"
@@ -86,14 +86,14 @@ stages:
8686
sudo pip3 install sonic_yang_models-1.0-py3-none-any.whl
8787
sudo pip3 install sonic_config_engine-1.0-py3-none-any.whl
8888
sudo pip3 install sonic_platform_common-1.0-py3-none-any.whl
89-
workingDirectory: $(Pipeline.Workspace)/target/python-wheels/buster/
89+
workingDirectory: $(Pipeline.Workspace)/target/python-wheels/bullseye/
9090
displayName: 'Install Python dependencies'
9191
9292
- script: |
9393
set -ex
9494
# Install .NET CORE
9595
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
96-
sudo apt-add-repository https://packages.microsoft.com/debian/10/prod
96+
sudo apt-add-repository https://packages.microsoft.com/debian/11/prod
9797
sudo apt-get update
9898
sudo apt-get install -y dotnet-sdk-5.0
9999
displayName: "Install .NET CORE"

0 commit comments

Comments
 (0)