Skip to content

Commit 648cb8b

Browse files
authored
CI: Replace chart-testing image by e2e-test-runner. (#10761)
1 parent be7f508 commit 648cb8b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

hack/verify-chart-lint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ set -o nounset
1919
set -o pipefail
2020

2121
KUBE_ROOT="$( cd "$(dirname "$0")../" >/dev/null 2>&1 ; pwd -P )"
22-
# TODO: This is a temporary workaround while we don't update Helm Chart test
23-
curl https://raw.githubusercontent.com/helm/chart-testing/v3.8.0/etc/chart_schema.yaml -o /tmp/chart_schema.yaml
24-
ct lint --charts ${KUBE_ROOT}/charts/ingress-nginx --validate-maintainers=false --chart-yaml-schema=/tmp/chart_schema.yaml
22+
ct lint --charts ${KUBE_ROOT}/charts/ingress-nginx --validate-maintainers=false

test/e2e/run-chart-test.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,12 @@ if [ "${SKIP_CERT_MANAGER_CREATION:-false}" = "false" ]; then
104104
fi
105105

106106
echo "[dev-env] running helm chart e2e tests..."
107-
# Uses a custom chart-testing image to avoid timeouts waiting for namespace deletion.
108-
# The changes can be found here: https://github.com/aledbf/chart-testing/commit/41fe0ae0733d0c9a538099fb3cec522e888e3d82
109107
docker run --rm --interactive --network host \
110108
--name ct \
111109
--volume $KUBECONFIG:/root/.kube/config \
112110
--volume "${DIR}/../../":/workdir \
113111
--workdir /workdir \
114-
aledbf/chart-testing:v3.3.1-next ct install \
112+
registry.k8s.io/ingress-nginx/e2e-test-runner:v20231208-4c39e6acc@sha256:0607184ca9c53c9c24a47b6f52347dd96137b05c6f276efa67051929a39e8f7a \
113+
ct install \
115114
--charts charts/ingress-nginx \
116115
--helm-extra-args "--timeout 60s"

0 commit comments

Comments
 (0)