mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
test images: Image Promoter fixes
This commit is contained in:
commit
53a394e53f
@ -698,7 +698,10 @@ function kube::util::ensure_dockerized {
|
||||
# SED: The name of the gnu-sed binary
|
||||
#
|
||||
function kube::util::ensure-gnu-sed {
|
||||
if LANG=C sed --help 2>&1 | grep -q GNU; then
|
||||
# NOTE: the echo below is a workaround to ensure sed is executed before the grep.
|
||||
# see: https://github.com/kubernetes/kubernetes/issues/87251
|
||||
sed_help="$(LANG=C sed --help 2>&1)"
|
||||
if echo "${sed_help}" | grep -q "GNU\|BusyBox"; then
|
||||
SED="sed"
|
||||
elif command -v gsed &>/dev/null; then
|
||||
SED="gsed"
|
||||
|
@ -22,6 +22,7 @@ TASK=$1
|
||||
WHAT=$2
|
||||
|
||||
KUBE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
|
||||
source "${KUBE_ROOT}/hack/lib/logging.sh"
|
||||
source "${KUBE_ROOT}/hack/lib/util.sh"
|
||||
|
||||
# Mapping of go ARCH to actual architectures shipped part of multiarch/qemu-user-static project
|
||||
@ -166,8 +167,7 @@ if [[ "${WHAT}" == "all-conformance" ]]; then
|
||||
# Discussed during Conformance Office Hours Meeting (2019.12.17):
|
||||
# https://docs.google.com/document/d/1W31nXh9RYAb_VaYkwuPLd1hFxuRX3iU0DmaQ4lkCsX8/edit#heading=h.l87lu17xm9bh
|
||||
# echoserver image not included: https://github.com/kubernetes/kubernetes/issues/84158
|
||||
conformance_images=("agnhost" "dnsutils" "jessie-dnsutils" "kitten" "mounttest" "mounttest-user"\
|
||||
"nautilus" "nonewprivs" "resource-consumer" "resource-consumer-controller" "sample-apiserver" "test-webserver")
|
||||
conformance_images=("agnhost" "jessie-dnsutils" "kitten" "nautilus" "nonewprivs" "resource-consumer" "sample-apiserver")
|
||||
for image in "${conformance_images[@]}"; do
|
||||
eval "${TASK}" "${image}"
|
||||
done
|
||||
|
@ -1 +1 @@
|
||||
1.1
|
||||
1.2
|
||||
|
@ -1,5 +0,0 @@
|
||||
amd64=gcr.io/kubernetes-e2e-test-images/mounttest-amd64:1.0
|
||||
arm=gcr.io/kubernetes-e2e-test-images/mounttest-arm:1.0
|
||||
arm64=gcr.io/kubernetes-e2e-test-images/mounttest-arm64:1.0
|
||||
ppc64le=gcr.io/kubernetes-e2e-test-images/mounttest-ppc64le:1.0
|
||||
s390x=gcr.io/kubernetes-e2e-test-images/mounttest-s390x:1.0
|
@ -1,16 +0,0 @@
|
||||
# Copyright 2016 The Kubernetes Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM BASEIMAGE
|
||||
USER 1001
|
@ -1 +0,0 @@
|
||||
1.0
|
@ -1 +1 @@
|
||||
1.0
|
||||
1.1
|
||||
|
@ -1 +1 @@
|
||||
1.5
|
||||
1.6
|
||||
|
@ -1 +1 @@
|
||||
1.17
|
||||
1.17.2
|
||||
|
Loading…
Reference in New Issue
Block a user