CI: use images from quay.io to prevent being throttled by docker hub (#8209)

* CI: use netchecker images from quay to prevent throttling

* Molecule: use hello-world image from quay.io
This commit is contained in:
Cristian Calin 2021-11-19 23:23:40 +02:00 committed by GitHub
parent be9de6b9d9
commit c74e1c9db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View file

@ -14,6 +14,6 @@ def test_docker_service(host):
def test_docker_run(host):
with host.sudo():
cmd = host.command("docker run hello-world")
cmd = host.command("docker run quay.io/kubespray/hello-world:latest")
assert cmd.rc == 0
assert "Hello from Docker!" in cmd.stdout
assert "Hello from Docker" in cmd.stdout

View file

@ -3,7 +3,7 @@
"name": "gvisor1"
},
"image": {
"image": "docker.io/library/hello-world:latest"
"image": "quay.io/kubespray/hello-world:latest"
},
"log_path": "gvisor1.0.log",
"linux": {}

View file

@ -26,4 +26,4 @@ def test_run_pod(host):
log_f = host.file("/tmp/gvisor1.0.log")
assert log_f.exists
assert b"Hello from Docker!" in log_f.content
assert b"Hello from Docker" in log_f.content

View file

@ -3,7 +3,7 @@
"name": "kata1"
},
"image": {
"image": "docker.io/library/hello-world:latest"
"image": "quay.io/kubespray/hello-world:latest"
},
"log_path": "kata1.0.log",
"linux": {}

View file

@ -34,4 +34,4 @@ def test_run_pod(host):
log_f = host.file("/tmp/kata1.0.log")
assert log_f.exists
assert b"Hello from Docker!" in log_f.content
assert b"Hello from Docker" in log_f.content

View file

@ -20,3 +20,6 @@ crio_registries_mirrors:
mirrors:
- location: mirror.gcr.io
insecure: false
netcheck_agent_image_repo: "{{ quay_image_repo }}/kubespray/k8s-netchecker-agent"
netcheck_server_image_repo: "{{ quay_image_repo }}/kubespray/k8s-netchecker-server"