From 316bafaf075ee85f555fce5e5c4df72f88e52450 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 8 Dec 2023 10:55:33 +0100 Subject: [PATCH] CI: Use newer podman/buildah on Ubuntu Jammy Change-Id: Ifce506b49571950ee16e26aae06f20aa94567722 --- tests/playbooks/pre.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 4e176bf335..d80802bd44 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -158,6 +158,14 @@ prefix = "docker.io" location = "{{ zuul_site_mirror_fqdn }}:8082" + - name: Add libcontainers repo for newer buildah on Ubuntu 22.04 + ansible.builtin.apt_repository: + repo: deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/ / + filename: kubic-libcontainers + state: present + become: true + when: ansible_distribution == "Ubuntu" and ansible_distribution_release == "jammy" + - name: Install Podman package: name: podman