Commit 17c8b20e authored by Michael Friedrich's avatar Michael Friedrich

CI: Add Fedora 31

parent 9a282c63
Pipeline #7267 passed with stage
in 7 minutes and 57 seconds
......@@ -23,3 +23,6 @@ before_script:
'30':
<<: *build_job
'31':
<<: *build_job
FROM fedora:31
RUN dnf update -y --setopt=install_weak_deps=False
RUN dnf install -y --allowerasing \
sudo wget curl which tar expect git \
patch rpm-build redhat-rpm-config rpmlint \
patch ccache make util-linux \
dnf-utils rpmdevtools createrepo \
&& dnf clean all
RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \
https://packages.icinga.com/fedora/ICINGA-release.repo
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \
&& chown build.build /usr/local/bin
USER build
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"]
VARIANT := x86_64
include ../image.mk
all:
$(MAKE) -C 29
$(MAKE) -C 30
$(MAKE) -C 31
push:
$(MAKE) -C 29 push
$(MAKE) -C 30 push
$(MAKE) -C 31 push
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment