From 8b55354547c006053d405c64fe5fe9b627eef47a Mon Sep 17 00:00:00 2001 From: Yaqiang Zhu Date: Mon, 23 Dec 2024 13:45:52 +0800 Subject: [PATCH] [Build] Update to build bookworm debian package (#55) Master build for swss-common has been updated to from bullseye to bookworm https://github.com/sonic-net/sonic-swss-common/pull/937/files, hence updated correspond build in current PR --- .azure-pipelines/build.yml | 12 ++++++------ azure-pipelines.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.azure-pipelines/build.yml b/.azure-pipelines/build.yml index 5fedf57..bb6b30b 100644 --- a/.azure-pipelines/build.yml +++ b/.azure-pipelines/build.yml @@ -66,15 +66,15 @@ jobs: project: build pipeline: Azure.sonic-buildimage.common_libs runVersion: 'latestFromBranch' - runBranch: 'refs/heads/master' + runBranch: 'refs/heads/202411' path: $(Build.ArtifactStagingDirectory)/download ${{ if eq(parameters.arch, 'amd64') }}: artifact: common-lib ${{ else }}: artifact: common-lib.${{ parameters.arch }} patterns: | - target/debs/bullseye/libyang-*.deb - target/debs/bullseye/libyang_*.deb + target/debs/bookworm/libyang-*.deb + target/debs/bookworm/libyang_*.deb displayName: "Download libyang from common lib" - script: | set -ex @@ -87,11 +87,11 @@ jobs: project: build pipeline: 9 ${{ if eq(parameters.arch, 'amd64') }}: - artifact: sonic-swss-common + artifact: sonic-swss-common-bookworm ${{ else }}: - artifact: sonic-swss-common.${{ parameters.arch }} + artifact: sonic-swss-common-bookworm.${{ parameters.arch }} runVersion: 'latestFromBranch' - runBranch: 'refs/heads/master' + runBranch: 'refs/heads/202411' path: '$(Build.SourcesDirectory)/sonic-swss-common' displayName: "Download sonic swss common deb packages" - script: | diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f6a2e1a..8471b82 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,15 +15,15 @@ jobs: pool: vmImage: 'ubuntu-20.04' codeCoverage: true - containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:latest + containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bookworm:latest - template: .azure-pipelines/build.yml parameters: arch: arm64 pool: sonicbld-arm64 - containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye-arm64:latest + containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bookworm-arm64:latest - template: .azure-pipelines/build.yml parameters: arch: armhf pool: sonicbld-armhf - containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye-armhf:latest + containerImage: sonicdev-microsoft.azurecr.io:443/sonic-slave-bookworm-armhf:latest