Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bookworm build to PR checks #1371

Merged
merged 3 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
sudo mkdir -m 755 /var/run/sswsyncd

sudo apt-get install -y rsyslog
sudo service rsyslog start
sudo rsyslogd

cat /etc/apt/sources.list
dpkg --list | grep libnl
Expand Down Expand Up @@ -167,7 +167,8 @@ jobs:
displayName: "Compile sonic sairedis with coverage enabled"
- script: |
sudo cp azsyslog.conf /etc/rsyslog.conf
sudo service rsyslog restart
sudo killall rsyslogd
sudo rsyslogd
displayName: "Update rsyslog.conf"
- ${{ if eq(parameters.run_unit_test, true) }}:
- script: |
Expand Down
36 changes: 36 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,42 @@ stages:
syslog_artifact_name: sonic-sairedis.syslog.arm64
debian_version: ${{ parameters.debian_version }}

- stage: BuildBookworm
dependsOn: BuildArm
condition: succeeded('BuildArm')
jobs:
- template: .azure-pipelines/build-template.yml
parameters:
arch: amd64
sonic_slave: sonic-slave-bookworm
swss_common_artifact_name: sonic-swss-common-bookworm
artifact_name: sonic-sairedis-bookworm
syslog_artifact_name: sonic-sairedis-bookworm.syslog
run_unit_test: true
debian_version: ${{ parameters.debian_version }}

- template: .azure-pipelines/build-template.yml
parameters:
arch: armhf
timeout: 180
pool: sonicbld-armhf
sonic_slave: sonic-slave-bookworm-armhf
swss_common_artifact_name: sonic-swss-common-bookworm.armhf
artifact_name: sonic-sairedis-bookworm.armhf
syslog_artifact_name: sonic-sairedis-bookworm.syslog.armhf
debian_version: ${{ parameters.debian_version }}

- template: .azure-pipelines/build-template.yml
parameters:
arch: arm64
timeout: 180
pool: sonicbld-arm64
sonic_slave: sonic-slave-bookworm-arm64
swss_common_artifact_name: sonic-swss-common-bookworm.arm64
artifact_name: sonic-sairedis-bookworm.arm64
syslog_artifact_name: sonic-sairedis-bookworm.syslog.arm64
debian_version: ${{ parameters.debian_version }}

- stage: BuildSwss
dependsOn: Build
condition: succeeded('Build')
Expand Down
Loading