Commit Graph

16 Commits

Author SHA1 Message Date
Antonio Ojea
742dd6b9c7 use a community owned domain for the invalid registry 2022-01-10 19:37:46 +01:00
jonyhy
010641c849 test: add benchmark test
Signed-off-by: jonyhy <yun.hao@daocloud.io>
2021-09-29 17:46:11 +08:00
Kubernetes Prow Robot
98e526390d
Merge pull request #103724 from claudiubelu/update-e2e-test-images-url
Update e2e test images url
2021-08-12 09:10:13 -07:00
Caleb Woodbine
bbb368b701 Update e2e test images url
Removes any reference from the registry gcr.io/kubernetes-e2e-test-images in
kubernetes/kubernetes, replacing it with k8s.gcr.io/kubernetes-e2e-test-images.
In some cases, the images had to be updated since a few things have changed since
their original implementation, most notably being the fact that some of the images
have been centralized into the agnhost image.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-07-27 22:01:43 -07:00
Claudiu Belu
927d0c3932 cleanup: Removes GcrRelease and SampleRegistry from manifest.go
Those fields are not used for any images, we can remove them.
2021-07-04 09:07:38 -07:00
John Schnake
0adf70b61b Clean up and make more image handling consistent
- Cleans up some of the image registry handling by
initializing values in a more consistent and clear
manner.

- Adds the Docker library registry to the list of
values that is override-able.

- Adds a few branches to logic to ensure each registry
is handled the same.
2021-05-05 21:08:29 -05:00
Maciej Szulik
8acab3cc49
Limit image spec's hash length
To be able to properly limit the length of hash string we should limit
after encoding to base, not before.
2021-04-15 16:14:45 +02:00
Carlos Panato
c0e61e95a0
revert removal of gcr.io/gke-release from pr 100179 2021-03-16 16:30:18 +01:00
Kubernetes Prow Robot
9657dd77a3
Merge pull request #100179 from cpanato/GH-1525-gke
test: remove gcr.io/gke-release since it is deprecated
2021-03-14 23:49:04 -07:00
Carlos Panato
bd32786b20
test: remove gcr.io/gke-release since it is deprecated 2021-03-12 14:35:10 +01:00
pacoxu
59d96263e4 remove e2e volume registry as it is not used 2021-03-11 15:54:33 +08:00
Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.

This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:

KUBE_TEST_REPO=quay.io/openshift/community-e2e-images

would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.

The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.

The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Michelle Au
ab5b3e256b Update e2e csi images to k8s.gcr.io
Change-Id: Ic6c3f805aab1647f01f40fee725d6e8be992d04e
2020-08-03 17:04:21 -07:00
Rafael Fonseca
74183e0d88 Make nested /volume/ repo images overridable
The multi-arch container images used in tests live in quay.io which
doesn't support nesting. By making the /volume/ images repo configurable,
we are able to override them despite our current limitation.

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
2020-07-10 13:37:12 +02:00
Davanum Srinivas
5c966e3beb
Use staging-csi to work around quay.io availability
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 12:51:54 -04:00
Johannes M. Scheuermann
302e9d9f6b Add patch method for container images
Return error if registry is missing otherwise the log message could be
overlooked by a developer
2019-07-15 19:05:09 +02:00