From fbe77d4a71c72e572f7d048e149158a3c888881e Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Mar 06 2020 11:52:55 +0000 Subject: Add epel8 support for rpm-scratch-build --- diff --git a/playbooks/epel8/install.yaml b/playbooks/epel8/install.yaml new file mode 100644 index 0000000..b826b31 --- /dev/null +++ b/playbooks/epel8/install.yaml @@ -0,0 +1,7 @@ +- hosts: all + tasks: + - name: Install EPEL + yum: + name: epel-release + state: latest + become: true diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index d89d73b..e892407 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -38,7 +38,7 @@ - job: name: rpm-scratch-build parent: common-koji-rpm-build - description: RPM scratch build on for rawhide target + description: RPM scratch build on for f32 target final: true branches: f32 vars: @@ -50,7 +50,7 @@ - job: name: rpm-scratch-build parent: common-koji-rpm-build - description: RPM scratch build on for rawhide target + description: RPM scratch build on for f31 target final: true branches: f31 vars: @@ -63,7 +63,7 @@ name: rpm-scratch-build parent: common-koji-rpm-build final: true - description: RPM scratch build on for rawhide target + description: RPM scratch build on for f30 target branches: f30 vars: mock_config: fedora-30-x86_64 @@ -71,6 +71,20 @@ release: f30 scratch_build: true +- job: + name: rpm-scratch-build + parent: common-koji-rpm-build + final: true + description: RPM scratch build on for epel8 target + branches: epel8 + nodeset: centos-8-vm + vars: + mock_config: epel-8-x86_64 + target: epel8 + release: epel8 + scratch_build: true + pre-run: playbooks/epel8/install.yaml + # TODO(fbo): In order to have this job run on a container then # fix fedpkg-role to not build the local repo + install deps at # container build time.