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:
parent
be9de6b9d9
commit
c74e1c9db3
6 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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": {}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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": {}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue