Skip to content

Commit

Permalink
[Build] Update to build bookworm debian package (#55)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yaqiangz committed Dec 23, 2024
1 parent 84e4419 commit 8b55354
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8b55354

Please sign in to comment.