Skip to content

Commit 316bafa

Browse files
committed
CI: Use newer podman/buildah on Ubuntu Jammy
Change-Id: Ifce506b49571950ee16e26aae06f20aa94567722
1 parent 8f863be commit 316bafa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/playbooks/pre.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@
158158
prefix = "docker.io"
159159
location = "{{ zuul_site_mirror_fqdn }}:8082"
160160
161+
- name: Add libcontainers repo for newer buildah on Ubuntu 22.04
162+
ansible.builtin.apt_repository:
163+
repo: deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/ /
164+
filename: kubic-libcontainers
165+
state: present
166+
become: true
167+
when: ansible_distribution == "Ubuntu" and ansible_distribution_release == "jammy"
168+
161169
- name: Install Podman
162170
package:
163171
name: podman

0 commit comments

Comments
 (0)