Skip to content

Commit

Permalink
Adds podman-package-centos-7 job
Browse files Browse the repository at this point in the history
As reviewer pointed on below comment, we may need to test with an
older system to validate rpm building.

Change-Id: Ie1b16db032e79eeb7ba9a674455ffa9023bae63d
Needed-By: containers/podman#4795
  • Loading branch information
ssbarnea committed Jan 7, 2020
1 parent c95b41b commit 1a7d153
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions playbooks/podman/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions zuul.d/podman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1a7d153

Please sign in to comment.