Skip to content

Commit

Permalink
[202405][Build] Update to build bookworm debian package (#57)
Browse files Browse the repository at this point in the history
Update to build bookworm debian package since dhcp_relay container is using bookworm in this release branch
  • Loading branch information
yaqiangz authored Dec 25, 2024
1 parent af39395 commit 9f8ce5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ jobs:
project: build
pipeline: Azure.sonic-buildimage.common_libs
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
# common_libs doesn't support for building bookworm libs, hence we use 202411
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 +88,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/202405'
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 9f8ce5a

Please sign in to comment.