diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9afb7d7d935d713044dbc2900c0cf3593009ae0c..d35af4a1ec8415c662b0c911753fd170243068a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,3 +23,6 @@ before_script: '33': <<: *build_job + +'34': + <<: *build_job diff --git a/34/Dockerfile b/34/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..e5a72820e3c553fc522b50a06a1e776c466f6629 --- /dev/null +++ b/34/Dockerfile @@ -0,0 +1,24 @@ +FROM fedora:34 + +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"] diff --git a/34/Makefile b/34/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..f451fe153997996b75db9be5b1b9b967fad97fc4 --- /dev/null +++ b/34/Makefile @@ -0,0 +1,2 @@ +VARIANT := x86_64 +include ../image.mk diff --git a/Makefile b/Makefile index 8356c41f4e84d3de9a703ff5ad3c5cf49bc5aaf3..6a6ac77ab721b0eec48f705e57d7003b145967a8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ all: $(MAKE) -C 32 $(MAKE) -C 33 + $(MAKE) -C 34 push: $(MAKE) -C 32 push $(MAKE) -C 33 push + $(MAKE) -C 34 push