ensure-podman: Use official podman repos for ubuntu
Reading the installation guide for podman, they reference opensuse.org as the official package repos for ubuntu: https://podman.io/getting-started/installation Using this repo allows us to pull in much newer version of podman on ubuntu. The current PPA package repo hasn't been updated since late 2019. Change-Id: Ie34419184925a4bcf30422a782e6a238c11f2319 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
3bbf04476c
commit
d2718417e2
@ -2,8 +2,11 @@
|
|||||||
include_role:
|
include_role:
|
||||||
name: ensure-package-repositories
|
name: ensure-package-repositories
|
||||||
vars:
|
vars:
|
||||||
|
repositories_keys:
|
||||||
|
- url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/Release.key"
|
||||||
repositories_list:
|
repositories_list:
|
||||||
- repo: ppa:projectatomic/ppa
|
- repo: ppa:projectatomic/ppa
|
||||||
|
- repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/ /"
|
||||||
|
|
||||||
- name: Install podman
|
- name: Install podman
|
||||||
package:
|
package:
|
||||||
@ -13,3 +16,11 @@
|
|||||||
- slirp4netns
|
- slirp4netns
|
||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
# NOTE(pabelanger): Remove default registries.conf file, so we can manage it
|
||||||
|
# ourself. It could have v1 syntax, which doesn't work with v2.
|
||||||
|
- name: Remove /etc/containers/registries.conf
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /etc/containers/registries.conf
|
||||||
|
@ -2,8 +2,9 @@ FROM docker.io/upstream/image as first
|
|||||||
ARG ZUUL_SIBLINGS=""
|
ARG ZUUL_SIBLINGS=""
|
||||||
RUN echo "Zuul siblings: ${ZUUL_SIBLINGS}"
|
RUN echo "Zuul siblings: ${ZUUL_SIBLINGS}"
|
||||||
RUN cp /test-nonce /test-nonce-is-there
|
RUN cp /test-nonce /test-nonce-is-there
|
||||||
COPY .zuul-siblings/opendev.org/project/fake-sibling/file /target
|
COPY . /tmp/src
|
||||||
COPY .zuul-siblings/openstack.org/project/fake-sibling/file /target
|
RUN cp -a /tmp/src/.zuul-siblings/opendev.org/project/fake-sibling/file /target
|
||||||
|
RUN cp -a /tmp/src/.zuul-siblings/openstack.org/project/fake-sibling/file /target
|
||||||
CMD echo "Zuul container test"; sleep infinity
|
CMD echo "Zuul container test"; sleep infinity
|
||||||
|
|
||||||
FROM first as second
|
FROM first as second
|
||||||
|
Loading…
x
Reference in New Issue
Block a user