Skip to content

Commit 7f4dacd

Browse files
committed
MDBF-1157: Add SLES 16.0 as BB release builder
SLES 16.0 and 15 SP7 have a few version/packaging differences. Both versions supported Python 3.13 so just used that. Notably SLES 16.0 doesn't have: * jemalloc-devel - we didn't appear to be using it. Upstream EOLed it so any residual use (ColumnStore?) will need to adjust. * rpmlint - we never got a CI that used it. * subversion - unclear why it was in original build, but its not there now.
1 parent a0d8723 commit 7f4dacd

File tree

3 files changed

+35
-16
lines changed

3 files changed

+35
-16
lines changed

.github/workflows/build-sles.pip-based.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
tag: sles1507
3737
nogalera: false
3838

39+
- image: registry.suse.com/bci/bci-base:16.0
40+
platforms: linux/amd64, linux/s390x
41+
tag: sles1600
42+
nogalera: true
43+
3944
uses: ./.github/workflows/bbw_build_container_template.yml
4045
with:
4146
dockerfile: sles.Dockerfile pip.Dockerfile

ci_build_images/sles.Dockerfile

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ COPY --chmod=755 mariadb_zypper_expect /
1313
RUN zypper -n update \
1414
&& zypper -n install -t pattern devel_basis \
1515
&& . /etc/os-release \
16-
&& VERSION_ID=${VERSION_ID%%.*} \
16+
&& if [ "$VERSION_ID" = "15.7" ]; then \
17+
BOOST_VER=1_66_0; \
18+
FMT_VER=8; \
19+
LIBURING_VER=2; \
20+
else \
21+
BOOST_VER=1_86_0; \
22+
FMT_VER=11; \
23+
LIBURING_VER=; \
24+
fi \
25+
&& VERSION_ID="${VERSION_ID%%.*}" \
1726
&& ARCH=$(rpm --query --queryformat='%{ARCH}' zypper) \
1827
&& if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \
1928
&& zypper addrepo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-"${ARCH}-${ID%%leap}-${VERSION_ID}".repo \
@@ -31,34 +40,31 @@ RUN zypper -n update \
3140
gdb \
3241
git \
3342
glibc-locale \
34-
jemalloc-devel \
3543
libaio-devel \
36-
libboost_atomic1_66_0-devel \
37-
libboost_chrono1_66_0-devel \
38-
libboost_date_time1_66_0-devel \
39-
libboost_filesystem1_66_0-devel \
40-
libboost_program_options1_66_0-devel \
41-
libboost_regex1_66_0-devel \
42-
libboost_system1_66_0-devel \
43-
libboost_thread1_66_0-devel \
44+
libboost_atomic"${BOOST_VER}"-devel \
45+
libboost_chrono"${BOOST_VER}"-devel \
46+
libboost_date_time"${BOOST_VER}"-devel \
47+
libboost_filesystem"${BOOST_VER}"-devel \
48+
libboost_program_options"${BOOST_VER}"-devel \
49+
libboost_regex"${BOOST_VER}"-devel \
50+
libboost_system"${BOOST_VER}"-devel \
51+
libboost_thread"${BOOST_VER}"-devel \
4452
libcurl-devel \
4553
libffi-devel \
46-
libfmt8 \
54+
libfmt"${FMT_VER}" \
4755
libgnutls-devel \
4856
liblz4-devel \
4957
libopenssl-3-devel \
50-
liburing2-devel \
58+
liburing"${LIBURING_VER}"-devel \
5159
libxml2-devel \
5260
pam-devel \
5361
pcre2-devel \
5462
perl-Net-SSLeay \
5563
policycoreutils \
56-
python311-devel \
57-
python311-pip \
64+
python313-devel \
65+
python313-pip \
5866
rpm-build \
59-
rpmlint \
6067
snappy-devel \
61-
subversion \
6268
systemd-devel \
6369
wget \
6470
# Using OSS repository only for judy-devel as a build-time dependency.

os_info.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ sles-1507:
196196
- amd64
197197
- s390x
198198
type: rpm
199+
sles-1600:
200+
image_tag: sles1600
201+
tags:
202+
- release_packages
203+
arch:
204+
- amd64
205+
- s390x
206+
type: rpm
199207
ubuntu-2204:
200208
image_tag: ubuntu22.04
201209
tags:

0 commit comments

Comments
 (0)