Skip to content

Commit

Permalink
gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
alcho authored and huth committed Jan 11, 2021
1 parent 7b09f12 commit b115ea3
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.d/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,8 @@ amd64-ubuntu-container:
<<: *container_job_definition
variables:
NAME: ubuntu

amd64-opensuse-leap-container:
<<: *container_job_definition
variables:
NAME: opensuse-leap
31 changes: 31 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,37 @@ acceptance-system-centos:
MAKE_CHECK_ARGS: check-acceptance
<<: *acceptance_definition

build-system-opensuse:
<<: *native_build_job_definition
variables:
IMAGE: opensuse-leap
TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
MAKE_CHECK_ARGS: check-build
artifacts:
expire_in: 2 days
paths:
- build

check-system-opensuse:
<<: *native_test_job_definition
needs:
- job: build-system-opensuse
artifacts: true
variables:
IMAGE: opensuse-leap
MAKE_CHECK_ARGS: check

acceptance-system-opensuse:
<<: *native_test_job_definition
needs:
- job: build-system-opensuse
artifacts: true
variables:
IMAGE: opensuse-leap
MAKE_CHECK_ARGS: check-acceptance
<<: *acceptance_definition


build-disabled:
<<: *native_build_job_definition
variables:
Expand Down
55 changes: 55 additions & 0 deletions tests/docker/dockerfiles/opensuse-leap.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
FROM opensuse/leap:15.2

# Please keep this list sorted alphabetically
ENV PACKAGES \
bc \
brlapi-devel \
bzip2 \
cyrus-sasl-devel \
gcc \
gcc-c++ \
mkisofs \
gettext-runtime \
git \
glib2-devel \
glusterfs-devel \
libgnutls-devel \
gtk3-devel \
libaio-devel \
libattr-devel \
libcap-ng-devel \
libepoxy-devel \
libfdt-devel \
libiscsi-devel \
libjpeg8-devel \
libpmem-devel \
libpng16-devel \
librbd-devel \
libseccomp-devel \
libssh-devel \
lzo-devel \
make \
libSDL2_image-devel \
ncurses-devel \
ninja \
libnuma-devel \
perl \
libpixman-1-0-devel \
python3-base \
python3-virtualenv \
rdma-core-devel \
libSDL2-devel \
snappy-devel \
libspice-server-devel \
systemd-devel \
systemtap-sdt-devel \
tar \
usbredir-devel \
virglrenderer-devel \
xen-devel \
vte-devel \
zlib-devel
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6

RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
RUN rpm -q $PACKAGES | sort > /packages.txt

0 comments on commit b115ea3

Please sign in to comment.