Skip to content

Commit 502b0b6

Browse files
committed
GHA: Switch to bci-base:15.7
1 parent d2d209c commit 502b0b6

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

.github/workflows/build-install.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,18 @@ jobs:
3838
- 'registry.opensuse.org/opensuse/leap:15.6'
3939
- 'registry.opensuse.org/opensuse/tumbleweed'
4040

41+
# SLE
42+
- 'registry.suse.com/bci/bci-base:15.7'
43+
4144
# CentOS Stream
4245
- 'quay.io/centos/centos:stream9'
4346

4447
container:
4548
image: ${{ matrix.container }}
4649

4750
steps:
48-
- name: 'Install packages (OpenSUSE)'
49-
if: ${{ contains(matrix.container, '/opensuse/') }}
51+
- name: 'Install packages (OpenSUSE/SLE)'
52+
if: ${{ contains(matrix.container, '/opensuse/') || contains(matrix.container, '/bci/bci-base') }}
5053
run: |
5154
zypper -n modifyrepo --disable repo-openh264 || :
5255
zypper -n --gpg-auto-import-keys refresh
@@ -67,8 +70,8 @@ jobs:
6770
with:
6871
fetch-depth: 0
6972

70-
- name: 'Install build dependencies (OpenSUSE)'
71-
if: ${{ contains(matrix.container, '/opensuse/') }}
73+
- name: 'Install build dependencies (OpenSUSE/SLE)'
74+
if: ${{ contains(matrix.container, '/opensuse/') || contains(matrix.container, '/bci/bci-base') }}
7275
run: |
7376
zypper --non-interactive install $(rpmspec -q --buildrequires contrib/osc.spec)
7477
@@ -89,8 +92,8 @@ jobs:
8992
9093
./contrib/build_rpm.py --srpm --rpm
9194
92-
- name: 'Install built RPMs (OpenSUSE)'
93-
if: ${{ contains(matrix.container, '/opensuse/') }}
95+
- name: 'Install built RPMs (OpenSUSE/SLE)'
96+
if: ${{ contains(matrix.container, '/opensuse/') || contains(matrix.container, '/bci/bci-base') }}
9497
run: |
9598
zypper --non-interactive install --force --allow-vendor-change --allow-unsigned-rpm ./contrib/*/*.rpm
9699

.github/workflows/tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
- 'registry.opensuse.org/opensuse/leap:15.6'
6464
- 'registry.opensuse.org/opensuse/tumbleweed'
6565

66+
# SLE
67+
- 'registry.suse.com/bci/bci-base:15.7'
68+
6669
# CentOS Stream
6770
- 'quay.io/centos/centos:stream9'
6871

@@ -77,8 +80,8 @@ jobs:
7780
image: ${{ matrix.container }}
7881

7982
steps:
80-
- name: 'Install packages (openSUSE)'
81-
if: ${{ contains(matrix.container, '/opensuse/') }}
83+
- name: 'Install packages (openSUSE/SLE)'
84+
if: ${{ contains(matrix.container, '/opensuse/') || contains(matrix.container, '/bci/bci-base') }}
8285
run: |
8386
zypper -n modifyrepo --disable repo-openh264 || :
8487
zypper -n --gpg-auto-import-keys refresh

behave/Containerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
FROM opensuse/leap:15.6
1+
FROM registry.suse.com/bci/bci-base:15.7
22

3-
RUN zypper -n modifyrepo --disable repo-openh264 || : \
4-
&& zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.6/OBS:Server:Unstable.repo \
5-
&& zypper ar --repo http://download.opensuse.org/repositories/devel:/tools:/scm/15.6/devel:tools:scm.repo \
6-
&& zypper ar --repo https://download.opensuse.org/repositories/devel:/Factory:/git-workflow/15.6/devel:Factory:git-workflow.repo \
3+
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.7/OBS:Server:Unstable.repo \
4+
&& zypper ar --repo http://download.opensuse.org/repositories/devel:/tools:/scm/15.7/devel:tools:scm.repo \
5+
&& zypper ar --repo https://download.opensuse.org/repositories/devel:/Factory:/git-workflow/15.7/devel:Factory:git-workflow.repo \
76
&& zypper -n --gpg-auto-import-keys refresh
87

98
RUN zypper -n install \
109
bash \
1110
bash-completion \
12-
crun \
1311
fuse-overlayfs \
1412
git \
1513
gitea-action-runner \
@@ -29,7 +27,9 @@ RUN zypper -n install \
2927
sqlite3 \
3028
systemd \
3129
vim \
32-
&& zypper -n install --repo=devel_tools_scm gitea \
30+
devel_Factory_git-workflow:gitea \
31+
# gd package is not available in the repos, but required by obs-api-deps -> perl-GD; we'll include it from leap 15.6
32+
https://download.opensuse.org/distribution/leap/15.6/repo/oss/x86_64/gd-2.2.5-11.3.1.x86_64.rpm \
3333
&& rm -rf /var/cache/zypp/*
3434

3535
COPY container-files/ /

0 commit comments

Comments
 (0)