mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Merge pull request #18145 from sohankunkerkar/registry-migration
*: migrate image registry to registry.k8s.io
This commit is contained in:
@@ -10,7 +10,7 @@ var (
|
||||
ALPINEAMD64ID = "961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4"
|
||||
ALPINEARM64DIGEST = "quay.io/libpod/alpine@sha256:f270dcd11e64b85919c3bab66886e59d677cf657528ac0e4805d3c71e458e525"
|
||||
ALPINEARM64ID = "915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c2c0672"
|
||||
INFRA_IMAGE = "k8s.gcr.io/pause:3.2" //nolint:revive,stylecheck
|
||||
INFRA_IMAGE = "registry.k8s.io/pause:3.2" //nolint:revive,stylecheck
|
||||
BB = "quay.io/libpod/busybox:latest"
|
||||
HEALTHCHECK_IMAGE = "quay.io/libpod/alpine_healthcheck:latest" //nolint:revive,stylecheck
|
||||
fedoraToolbox = "registry.fedoraproject.org/fedora-toolbox:36"
|
||||
|
||||
@@ -23,8 +23,8 @@ var _ = Describe("Podman manifest", func() {
|
||||
)
|
||||
|
||||
const (
|
||||
imageList = "docker://k8s.gcr.io/pause:3.1"
|
||||
imageListInstance = "docker://k8s.gcr.io/pause@sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39"
|
||||
imageList = "docker://registry.k8s.io/pause:3.1"
|
||||
imageListInstance = "docker://registry.k8s.io/pause@sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39"
|
||||
imageListARM64InstanceDigest = "sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39"
|
||||
imageListAMD64InstanceDigest = "sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610"
|
||||
imageListARMInstanceDigest = "sha256:c84b0a3a07b628bc4d62e5047d0f8dff80f7c00979e1e28a821a033ecda8fe53"
|
||||
|
||||
@@ -1961,7 +1961,7 @@ var _ = Describe("Podman play kube", func() {
|
||||
It("podman play kube should use customized infra_image", func() {
|
||||
conffile := filepath.Join(podmanTest.TempDir, "container.conf")
|
||||
|
||||
infraImage := "k8s.gcr.io/pause:3.2"
|
||||
infraImage := "registry.k8s.io/pause:3.2"
|
||||
err := os.WriteFile(conffile, []byte(fmt.Sprintf("[engine]\ninfra_image=\"%s\"\n", infraImage)), 0644)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
|
||||
@@ -325,7 +325,7 @@ EOF
|
||||
|
||||
@test "podman pod create should fail when infra-name is already in use" {
|
||||
local infra_name="infra_container_$(random_string 10 | tr A-Z a-z)"
|
||||
local infra_image="k8s.gcr.io/pause:3.5"
|
||||
local infra_image="registry.k8s.io/pause:3.5"
|
||||
local pod_name="$(random_string 10 | tr A-Z a-z)"
|
||||
|
||||
run_podman --noout pod create --name $pod_name --infra-name "$infra_name" --infra-image "$infra_image"
|
||||
|
||||
@@ -80,6 +80,7 @@ RELABEL="system_u:object_r:container_file_t:s0"
|
||||
# Make sure that the K8s pause image isn't pulled but the local podman-pause is built.
|
||||
run_podman images
|
||||
run_podman 1 image exists k8s.gcr.io/pause
|
||||
run_podman 1 image exists registry.k8s.io/pause
|
||||
run_podman image exists $(pause_image)
|
||||
|
||||
run_podman stop -a -t 0
|
||||
|
||||
Reference in New Issue
Block a user