Skip to content

Commit 25eea00

Browse files
grooverdanRazvanLiviuVarzaru
authored andcommitted
MDBF-1118: Add OpenSUSE 16.0
1 parent 8c3570d commit 25eea00

File tree

4 files changed

+26
-11
lines changed

4 files changed

+26
-11
lines changed

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

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

38+
- image: opensuse/leap:16.0
39+
platforms: linux/amd64
40+
tag: opensuse1600
41+
nogalera: true
42+
3843
uses: ./.github/workflows/bbw_build_container_template.yml
3944
with:
4045
dockerfile: opensuse.Dockerfile pip.Dockerfile

ci_build_images/opensuse.Dockerfile

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN zypper update -y \
1616
&& VERSION_ID=${VERSION_ID%.*}0${VERSION_ID#*.} \
1717
&& ARCH=$(rpm --query --queryformat='%{ARCH}' zypper) \
1818
&& if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \
19+
&& if [ "$VERSION" = 16.0 ]; then JAVA=21; BOOST=1_86_0 ; PYTHON=313 ; \
20+
else JAVA=17; BOOST=1_75_0; PYTHON=311; fi \
1921
&& zypper addrepo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-"${ARCH}-${ID%%-leap}-${VERSION_ID}".repo \
2022
&& zypper install -y \
2123
bzip2 \
@@ -37,14 +39,14 @@ RUN zypper update -y \
3739
judy-devel \
3840
krb5-devel \
3941
libaio-devel \
40-
libboost_atomic1_75_0-devel \
41-
libboost_chrono1_75_0-devel \
42-
libboost_date_time1_75_0-devel \
43-
libboost_filesystem1_75_0-devel \
44-
libboost_program_options1_75_0-devel \
45-
libboost_regex1_75_0-devel \
46-
libboost_system1_75_0-devel \
47-
libboost_thread1_75_0-devel \
42+
libboost_atomic"${BOOST}"-devel \
43+
libboost_chrono"${BOOST}"-devel \
44+
libboost_date_time"${BOOST}"-devel \
45+
libboost_filesystem"${BOOST}"-devel \
46+
libboost_program_options"${BOOST}"-devel \
47+
libboost_regex"${BOOST}"-devel \
48+
libboost_system"${BOOST}"-devel \
49+
libboost_thread"${BOOST}"-devel \
4850
libbz2-devel \
4951
libcurl-devel \
5052
libedit-devel \
@@ -56,13 +58,13 @@ RUN zypper update -y \
5658
libxml2-devel \
5759
libzstd-devel \
5860
lzo-devel \
59-
java-11-openjdk-devel \
61+
java-"${JAVA}"-openjdk-devel \
6062
pam-devel \
6163
pcre2-devel \
6264
perl-Net-SSLeay \
6365
policycoreutils \
64-
python311-devel \
65-
python311-pip \
66+
python"${PYTHON}"-devel \
67+
python"${PYTHON}"-pip \
6668
rpm-build \
6769
rpmlint \
6870
snappy-devel \

constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
SUPPORTED_PLATFORMS["11.7"] += ["amd64-almalinux-8-bintar"]
214214
SUPPORTED_PLATFORMS["11.8"] = SUPPORTED_PLATFORMS["11.7"].copy()
215215
SUPPORTED_PLATFORMS["11.8"] += [
216+
"amd64-opensuse-1600",
216217
"aarch64-debian-sid",
217218
"amd64-debian-sid",
218219
"ppc64le-debian-sid",

os_info.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ opensuse-1506:
126126
arch:
127127
- amd64
128128
type: rpm
129+
opensuse-1600:
130+
image_tag: opensuse1600
131+
tags:
132+
- release_packages
133+
arch:
134+
- amd64
135+
type: rpm
129136
rhel-7:
130137
image_tag: rhel7
131138
tags:

0 commit comments

Comments
 (0)