Skip to content

Commit 8a9d8d1

Browse files
Add Debian Bookworm in PS tarball test job (#529)
1 parent 3c22c53 commit 8a9d8d1

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

binary-tarball-tests/ps/run.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ else
2727
sudo apt-get update -y
2828
sudo apt install -y libaio1 libnuma1 libldap-2.4-2
2929
fi
30-
pip3 install --user pytest-testinfra pytest
30+
31+
if [[ $(lsb_release -sc) == 'bookworm' ]]; then
32+
pip3 install --user --break-system-packages pytest-testinfra pytest
33+
else
34+
pip3 install --user pytest-testinfra pytest
35+
fi
3136

3237
TARBALL_NAME=$(basename "$(find . -maxdepth 1 -name '*.tar.gz'|head -n1)")
3338
if [ -z "${TARBALL_NAME}" ]; then

binary-tarball-tests/ps/test-ps-binary-tarball.groovy

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ pipeline {
4949
junit 'package-testing/binary-tarball-tests/ps/report.xml'
5050
} //End steps
5151
} //End stage Ubuntu Bionic
52+
stage('Debian Bookworm') {
53+
agent {
54+
label "min-bookworm-x64"
55+
}
56+
steps {
57+
script {
58+
currentBuild.displayName = "#${BUILD_NUMBER}-${PS_VERSION}-${PS_REVISION}"
59+
}
60+
run_test()
61+
junit 'package-testing/binary-tarball-tests/ps/report.xml'
62+
} //End steps
63+
} //End stage Debian Bookworm
5264
stage('Debian Bullseye') {
5365
agent {
5466
label "min-bullseye-x64"

0 commit comments

Comments
 (0)