diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 39acf6fb..f662fdc1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,7 +40,7 @@ stages: DIFF_COVER_WORKING_DIRECTORY: $(System.DefaultWorkingDirectory)/sonic-gnmi container: - image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster:latest + image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:latest steps: - checkout: self @@ -87,24 +87,25 @@ stages: sudo service redis-server start # LIBYANG - sudo dpkg -i ../target/debs/buster/libyang*1.0.73*.deb + sudo dpkg -i ../target/debs/bullseye/libyang*1.0.73*.deb displayName: "Install dependency" - script: | # LIBSWSSCOMMON sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev - sudo dpkg -i ../target/debs/buster/libnl-3-200_*.deb - sudo dpkg -i ../target/debs/buster/libnl-genl-3-200_*.deb - sudo dpkg -i ../target/debs/buster/libnl-route-3-200_*.deb - sudo dpkg -i ../target/debs/buster/libnl-nf-3-200_*.deb - sudo dpkg -i ../target/debs/buster/libhiredis0.14_*.deb + sudo dpkg -i ../target/debs/bullseye/libnl-3-200_*.deb + sudo dpkg -i ../target/debs/bullseye/libnl-genl-3-200_*.deb + sudo dpkg -i ../target/debs/bullseye/libnl-route-3-200_*.deb + sudo dpkg -i ../target/debs/bullseye/libnl-nf-3-200_*.deb + sudo dpkg -i ../target/debs/bullseye/libhiredis0.14_*.deb + sudo dpkg -i ../target/debs/bullseye/libhiredis-dev_*.deb displayName: "Install libswsscommon dependencies" - script: | set -ex # Install .NET CORE curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - - sudo apt-add-repository https://packages.microsoft.com/debian/10/prod + sudo apt-add-repository https://packages.microsoft.com/debian/11/prod sudo apt-get update sudo apt-get install -y dotnet-sdk-5.0 displayName: "Install .NET CORE" @@ -114,7 +115,7 @@ stages: source: specific project: build pipeline: Azure.sonic-swss-common - artifact: sonic-swss-common + artifact: sonic-swss-common.bullseye.amd64 runVersion: 'latestFromBranch' runBranch: 'refs/heads/master' displayName: "Download sonic-swss-common"