summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-06-24 16:41:25 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2020-06-26 15:50:50 +0100
commita0f4d1490a9ecbf40b52c22bbb26c21289a5e850 (patch)
treef2489cd4b7bcaf3a15924780e9d84c06a80de675
parentaa4482a2239bfa0e3fc07a50f438d45603b24691 (diff)
gitlab: add builds on CentOS 8 Stream
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r--.gitlab-ci.yml11
-rw-r--r--ci/centos-stream.Dockerfile74
2 files changed, 85 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9865238..0f7cfb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,11 @@ x86-centos-8-container:
variables:
NAME: centos-8
+x86-centos-stream-container:
+ <<: *container_job_definition
+ variables:
+ NAME: centos-stream
+
x86-debian-9-container:
<<: *container_job_definition
variables:
@@ -151,6 +156,12 @@ x86-centos-8-git-build:
NAME: centos-8
RPM: skip
+x86-centos-stream-dist-build:
+ <<: *git_native_build_job_definition
+ variables:
+ NAME: centos-stream
+ RPM: skip
+
x86-debian-9-dist-build:
<<: *dist_native_build_job_definition
variables:
diff --git a/ci/centos-stream.Dockerfile b/ci/centos-stream.Dockerfile
new file mode 100644
index 0000000..ca90710
--- /dev/null
+++ b/ci/centos-stream.Dockerfile
@@ -0,0 +1,74 @@
+FROM centos:8
+
+RUN dnf install -y centos-release-stream && \
+ dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y Stream-PowerTools && \
+ dnf install -y epel-release && \
+ dnf update -y && \
+ dnf install -y \
+ autoconf \
+ automake \
+ bash \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ chrony \
+ cyrus-sasl-devel \
+ gcc \
+ gdb \
+ gdk-pixbuf2-devel \
+ gettext \
+ gettext-devel \
+ git \
+ glib2-devel \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ gobject-introspection-devel \
+ gtk-doc \
+ gtk3-devel \
+ icoutils \
+ intltool \
+ libgcrypt-devel \
+ libnl3-devel \
+ libtirpc-devel \
+ libtool \
+ libxml2 \
+ libxml2-devel \
+ libxslt \
+ lsof \
+ make \
+ meson \
+ net-tools \
+ ninja-build \
+ patch \
+ perl \
+ perl-App-cpanminus \
+ pkgconfig \
+ pulseaudio-libs-devel \
+ python3 \
+ python3-docutils \
+ python3-pip \
+ python3-setuptools \
+ python3-wheel \
+ rpcgen \
+ rpm-build \
+ screen \
+ spice-gtk3-devel \
+ strace \
+ sudo \
+ vala \
+ vim && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+
+ENV MAKE "/usr/bin/make"
+ENV NINJA "/usr/bin/ninja"
+ENV PYTHON "/usr/bin/python3"
+
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"