Skip to content

Commit

Permalink
k8s-infra: verify manifests for registry.k8s.io
Browse files Browse the repository at this point in the history
Related:
  - kubernetes/k8s.io#3411

Verify the manifests lists registry.k8s.io in replacement of k8s.gcr.io

See: https://groups.google.com/d/msgid/kubernetes-sig-testing/CANw6fcFgKaCLLiuY_8TBp%3DKWROHZbuj1FYWAfyGW6XOQ%3D_nLUA%40mail.gmail.com?utm_medium=email&utm_source=footer

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
  • Loading branch information
ameukam committed Mar 24, 2022
1 parent c1f2706 commit 27cf3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/manifests/verify_manifest_lists.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const (
// first release that is known to have full support.
firstKnownVersion = "v1.12.0-rc.1"

gcrBucket = "https://k8s.gcr.io/v2"
gcrBucket = "https://registry.k8s.io/v2"

typeManifestList = "application/vnd.docker.distribution.manifest.list.v2+json"
typeManifest = "application/vnd.docker.distribution.manifest.v2+json"
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/manifests/verify_manifest_lists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi

# install go if missing
if ! `go version > /dev/null`; then
curl -sSL https://dl.google.com/go/go1.16.linux-amd64.tar.gz -o "/${TMP}/go.tar.gz"
curl -sSL https://dl.google.com/go/go1.17.linux-amd64.tar.gz -o "/${TMP}/go.tar.gz"
tar -C /usr/local -xzf "/${TMP}/go.tar.gz"
export PATH="$PATH":/usr/local/go/bin
rm "/${TMP}/go.tar.gz"
Expand Down

0 comments on commit 27cf3de

Please sign in to comment.