Skip to content

Commit

Permalink
test: Fake current pause-amd64 container for kubernetes tests
Browse files Browse the repository at this point in the history
For some yet unknown reason kubernetes on our current (!) and rebuilt
Fedora images now wants the "k8s.gcr.io/pause-amd64:3.1" container image
instead of "gcr.io/google_containers/pause-amd64:3.0".

Fake this by tagging the old container accordingly, until this gets
fixed properly in docker-images.setup (but this requires rebuilding
*all* of our images, and some of them cannot be rebuilt now due to other
bugs).

See issue #9179
  • Loading branch information
martinpitt committed May 15, 2018
1 parent db5d408 commit a931f2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/verify/check-kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class TestKubernetes(kubelib.KubernetesCase, kubelib.KubernetesCommonTests):

m.upload(["verify/files/mock-k8s-tiny-app.json"], "/tmp")
self.wait_api_server()
# HACK: https://github.com/cockpit-project/cockpit/issues/9179 ; fix this in docker-images.setup instead and rebuild images
m.execute("docker tag gcr.io/google_containers/pause-amd64:3.0 k8s.gcr.io/pause-amd64:3.1")

@skipImage("No kubernetes packaged", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable", "fedora-i386", "rhel-7", "rhel-7-5", "rhel-8", "centos-7")
@skipImage("No cockpit-kubernetes packaged", "continuous-atomic", "fedora-atomic", "rhel-atomic")
Expand Down

0 comments on commit a931f2d

Please sign in to comment.