From 1a7d1531c135b11fda3860c5b4114d0dda9f783b Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 7 Jan 2020 17:27:45 +0000 Subject: [PATCH] Adds podman-package-centos-7 job As reviewer pointed on below comment, we may need to test with an older system to validate rpm building. Change-Id: Ie1b16db032e79eeb7ba9a674455ffa9023bae63d Needed-By: https://github.com/containers/libpod/pull/4795 --- playbooks/podman/pre.yaml | 16 ++++++++++++++++ zuul.d/podman.yaml | 8 ++++++++ zuul.d/projects.yaml | 1 + 3 files changed, 25 insertions(+) diff --git a/playbooks/podman/pre.yaml b/playbooks/podman/pre.yaml index 1f80f50596..3a671b18df 100644 --- a/playbooks/podman/pre.yaml +++ b/playbooks/podman/pre.yaml @@ -13,6 +13,22 @@ dnf repolist changed_when: true + - name: Enable EPEL for Centos-7 + when: + - ansible_distribution_major_version == "7" + - ansible_distribution == "CentOS" + block: + + - name: Enable EPEL + become: true + package: + name: epel-release + + # CI images may have epel-release pre-installed but disabled! + - name: Enable EPEL + become: true + command: yum-config-manager --enable epel + - name: Install pre-requisites become: true package: diff --git a/zuul.d/podman.yaml b/zuul.d/podman.yaml index ba052fee09..3d7760f7f2 100644 --- a/zuul.d/podman.yaml +++ b/zuul.d/podman.yaml @@ -21,6 +21,14 @@ - name: opendev.org/openstack/tripleo-heat-templates - name: github.com/containers/libpod +- job: + name: podman-package-centos-7 + parent: podman-package-centos-8 + nodeset: + nodes: + - name: test + label: upstream-centos-7 + - job: name: podman-package-rhel-8 parent: podman-package-centos-8 diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 7df004ff21..682e0b3ec9 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -53,6 +53,7 @@ - playbooks/podman/.* # until we fix https://github.com/containers/libpod/issues/4665 voting: false + - podman-package-centos-7: *podman - podman-package-centos-8: *podman - podman-package-fedora-30: *podman