Skip to content

Commit

Permalink
Merge "Add debian-12 support."
Browse files Browse the repository at this point in the history
  • Loading branch information
vvalderrv authored and Gerrit Code Review committed Sep 13, 2024
2 parents 96ae1af + 7435c2d commit 7933a87
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/scripts/dbld_lfit_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ EOF

# Install lftools & boto3 for log / artifact upload.
pip_options=""
if [ "$OS_CODENAME" = "noble" ] ; then
if [ "$OS_CODENAME" = "noble" ] || [ "$OS_CODENAME" = "bookworm" ] ; then
pip_options=" --break-system-packages"
fi
python3 -m pip install$pip_options boto3
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/lib_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export EXECUTOR_CLASSES="$EXECUTOR_DEFAULT_CLASS csit_dut csit_shim"
export EXECUTOR_ARCHS="aarch64 x86_64"
declare -A EXECUTOR_CLASS_ARCH_OS_NAMES
EXECUTOR_CLASS_ARCH_OS_NAMES["builder-aarch64"]="ubuntu-20.04 ubuntu-22.04 ubuntu-24.04"
EXECUTOR_CLASS_ARCH_OS_NAMES["builder-x86_64"]="debian-11 ubuntu-20.04 ubuntu-22.04 ubuntu-24.04"
EXECUTOR_CLASS_ARCH_OS_NAMES["builder-x86_64"]="debian-11 debian-12 ubuntu-20.04 ubuntu-22.04 ubuntu-24.04"
EXECUTOR_CLASS_ARCH_OS_NAMES["csit_dut-aarch64"]="ubuntu-22.04"
EXECUTOR_CLASS_ARCH_OS_NAMES["csit_dut-x86_64"]="ubuntu-22.04"
EXECUTOR_CLASS_ARCH_OS_NAMES["csit_shim-aarch64"]="ubuntu-22.04"
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/lib_vpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ docker_build_setup_vpp() {
# definitions here.
declare -A VPP_BRANCHES
VPP_BRANCHES["debian-11"]="stable/2402 stable/2406 master"
VPP_BRANCHES["debian-12"]="master"
VPP_BRANCHES["ubuntu-20.04"]="stable/2402 stable/2406 master"
VPP_BRANCHES["ubuntu-22.04"]="stable/2402 stable/2406 master"
VPP_BRANCHES["ubuntu-24.04"]="master"
Expand Down
4 changes: 2 additions & 2 deletions extras/bash/sandbox_test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

jjb-sandbox-env()
{
local jjb_version=${JJB_VERSION:-"6.0.0"}
local jjb_version=${JJB_VERSION:-"6.4.1"}

if [ -z "$WS_ROOT" ] ; then
echo "ERROR: WS_ROOT is not set!"
Expand Down Expand Up @@ -73,7 +73,7 @@ jjb-sandbox-env()
&& python3 -m venv $VENV_DIR \
&& source $VENV_DIR/bin/activate \
&& pip3 install --upgrade pip \
&& pip3 install wheel \
&& pip3 install --upgrade setuptools \
&& pip3 install jenkins-job-builder==$jjb_version

alias jjsb='jenkins-jobs --conf $JENKINS_INI'
Expand Down
2 changes: 1 addition & 1 deletion jjb/scripts/publish_library_py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PYTHON_SCRIPT="/w/workspace/publish_library.py"

OS_CODENAME="$(grep 'VERSION_CODENAME=' /etc/os-release | cut -d= -f2)"
pip_options=""
if [ "$OS_CODENAME" = "noble" ] ; then
if [ "$OS_CODENAME" = "noble" ] || [ "$OS_CODENAME" = "bookworm" ] ; then
pip_options=" --break-system-packages"
fi
# shellcheck disable=SC2086
Expand Down
7 changes: 4 additions & 3 deletions jjb/vpp/vpp-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@
project: 'vpp'
os:
- 'ubuntu2404'
- 'debian12'
make-parallel-jobs: '4'
make-test-multiworker-os: 'debian-11'
make-test-multiworker-os: 'debian-11 debian-12'
make-test-os: 'ubuntu-20.04 ubuntu-22.04 ubuntu-24.04'
stream:
- 'master':
branch: 'master'
branch-refspec: ''
branch-refspec: 'refs/changes/61/41561/3'
executor-arch: 'x86_64'
# [end] VPP-X86_64 PROJECT

Expand Down Expand Up @@ -109,7 +110,7 @@
os:
- 'ubuntu2404'
make-parallel-jobs: '4'
make-test-multiworker-os: 'debian-11'
make-test-multiworker-os: 'debian-11 debian-12'
make-test-os: 'ubuntu-20.04 ubuntu-22.04 ubuntu-24.04'
stream:
- 'master':
Expand Down

0 comments on commit 7933a87

Please sign in to comment.