From 8ae73db81775a1ca15da9505df3bcd05c80cded8 Mon Sep 17 00:00:00 2001 From: Markus Frosch <markus.frosch@icinga.com> Date: Tue, 6 Nov 2018 14:08:19 +0100 Subject: [PATCH] Add Fedora 29 --- .gitlab-ci.yml | 3 +++ 29/Dockerfile | 25 +++++++++++++++++++++++++ 29/Makefile | 2 ++ Makefile | 2 ++ 4 files changed, 32 insertions(+) create mode 100644 29/Dockerfile create mode 100644 29/Makefile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 496816b..fa37ee7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,3 +27,6 @@ before_script: '28': <<: *build_job + +'29': + <<: *build_job diff --git a/29/Dockerfile b/29/Dockerfile new file mode 100644 index 0000000..652a372 --- /dev/null +++ b/29/Dockerfile @@ -0,0 +1,25 @@ +FROM fedora:29 + +RUN dnf update -y + +# TODO: Remove this once the build deps for boost have been cleaned up... +RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build + +RUN dnf install -y \ + 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 groupadd -g 1000 jenkins \ + && useradd -u 1000 -g 1000 -m jenkins \ + && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ + && echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers + +RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \ + https://packages.icinga.com/fedora/ICINGA-release.repo + +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"] diff --git a/29/Makefile b/29/Makefile new file mode 100644 index 0000000..f451fe1 --- /dev/null +++ b/29/Makefile @@ -0,0 +1,2 @@ +VARIANT := x86_64 +include ../image.mk diff --git a/Makefile b/Makefile index 7902a41..2bc24fe 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ all: $(MAKE) -C 27 $(MAKE) -C 28 + $(MAKE) -C 29 push: $(MAKE) -C 27 push $(MAKE) -C 28 push + $(MAKE) -C 29 push -- GitLab