crio: add missing registries.conf
This change fixes recent cri-o test failure because of a missing registries.conf file. Change-Id: Ieb2efa0e097cc76dc9b67389e86c2646dfc0c00d
This commit is contained in:
parent
0bec277bab
commit
211e92ec40
@ -19,6 +19,18 @@
|
|||||||
group: root
|
group: root
|
||||||
state: link
|
state: link
|
||||||
become: true
|
become: true
|
||||||
|
- name: Fix missing registries.conf
|
||||||
|
# See: https://github.com/containers/podman.io/issues/127
|
||||||
|
copy:
|
||||||
|
content: |
|
||||||
|
[registries.search]
|
||||||
|
registries = []
|
||||||
|
[registries.insecure]
|
||||||
|
registries = []
|
||||||
|
[registries.block]
|
||||||
|
registries = []
|
||||||
|
dest: /etc/containers/registries.conf
|
||||||
|
become: true
|
||||||
- name: Set crio cgroup driver
|
- name: Set crio cgroup driver
|
||||||
ini_file:
|
ini_file:
|
||||||
path: /etc/crio/crio.conf
|
path: /etc/crio/crio.conf
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
shell: "kubectl logs pod/quaytest | grep 'Zuul container test'"
|
shell: "kubectl logs pod/quaytest | grep 'Zuul container test'"
|
||||||
|
|
||||||
- name: Run a remote test pod
|
- name: Run a remote test pod
|
||||||
command: kubectl run --generator=run-pod/v1 --image=debian:testing upstream-dockertest --command -- /bin/bash -c 'echo Upstream; sleep infinity'
|
command: kubectl run --generator=run-pod/v1 --image=docker.io/debian:testing upstream-dockertest --command -- /bin/bash -c 'echo Upstream; sleep infinity'
|
||||||
- name: Wait for the pod to be ready
|
- name: Wait for the pod to be ready
|
||||||
command: kubectl wait --for=condition=Ready pod/upstream-dockertest --timeout=60s
|
command: kubectl wait --for=condition=Ready pod/upstream-dockertest --timeout=60s
|
||||||
- name: Check the output of the pod
|
- name: Check the output of the pod
|
||||||
|
Loading…
Reference in New Issue
Block a user