Skip to content

Commit b115ea3

Browse files
alchohuth
authored andcommitted
gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
Add build-system-opensuse jobs and opensuse-leap.docker dockerfile. Use openSUSE Leap 15.2 container image in the gitlab-CI. Signed-off-by: Cho, Yu-Chen <[email protected]> Tested-by: Wainer dos Santos Moschetta <[email protected]> Reviewed-by: Wainer dos Santos Moschetta <[email protected]> Message-Id: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent 7b09f12 commit b115ea3

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

.gitlab-ci.d/containers.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,8 @@ amd64-ubuntu-container:
246246
<<: *container_job_definition
247247
variables:
248248
NAME: ubuntu
249+
250+
amd64-opensuse-leap-container:
251+
<<: *container_job_definition
252+
variables:
253+
NAME: opensuse-leap

.gitlab-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,37 @@ acceptance-system-centos:
200200
MAKE_CHECK_ARGS: check-acceptance
201201
<<: *acceptance_definition
202202

203+
build-system-opensuse:
204+
<<: *native_build_job_definition
205+
variables:
206+
IMAGE: opensuse-leap
207+
TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
208+
MAKE_CHECK_ARGS: check-build
209+
artifacts:
210+
expire_in: 2 days
211+
paths:
212+
- build
213+
214+
check-system-opensuse:
215+
<<: *native_test_job_definition
216+
needs:
217+
- job: build-system-opensuse
218+
artifacts: true
219+
variables:
220+
IMAGE: opensuse-leap
221+
MAKE_CHECK_ARGS: check
222+
223+
acceptance-system-opensuse:
224+
<<: *native_test_job_definition
225+
needs:
226+
- job: build-system-opensuse
227+
artifacts: true
228+
variables:
229+
IMAGE: opensuse-leap
230+
MAKE_CHECK_ARGS: check-acceptance
231+
<<: *acceptance_definition
232+
233+
203234
build-disabled:
204235
<<: *native_build_job_definition
205236
variables:
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
FROM opensuse/leap:15.2
2+
3+
# Please keep this list sorted alphabetically
4+
ENV PACKAGES \
5+
bc \
6+
brlapi-devel \
7+
bzip2 \
8+
cyrus-sasl-devel \
9+
gcc \
10+
gcc-c++ \
11+
mkisofs \
12+
gettext-runtime \
13+
git \
14+
glib2-devel \
15+
glusterfs-devel \
16+
libgnutls-devel \
17+
gtk3-devel \
18+
libaio-devel \
19+
libattr-devel \
20+
libcap-ng-devel \
21+
libepoxy-devel \
22+
libfdt-devel \
23+
libiscsi-devel \
24+
libjpeg8-devel \
25+
libpmem-devel \
26+
libpng16-devel \
27+
librbd-devel \
28+
libseccomp-devel \
29+
libssh-devel \
30+
lzo-devel \
31+
make \
32+
libSDL2_image-devel \
33+
ncurses-devel \
34+
ninja \
35+
libnuma-devel \
36+
perl \
37+
libpixman-1-0-devel \
38+
python3-base \
39+
python3-virtualenv \
40+
rdma-core-devel \
41+
libSDL2-devel \
42+
snappy-devel \
43+
libspice-server-devel \
44+
systemd-devel \
45+
systemtap-sdt-devel \
46+
tar \
47+
usbredir-devel \
48+
virglrenderer-devel \
49+
xen-devel \
50+
vte-devel \
51+
zlib-devel
52+
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6
53+
54+
RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
55+
RUN rpm -q $PACKAGES | sort > /packages.txt

0 commit comments

Comments
 (0)