Skip to content

Commit

Permalink
CI: Rework chart testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Sep 8, 2024
1 parent da8abcf commit 9f395e6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions test/e2e/run-chart-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,15 @@ if [ "${SKIP_CERT_MANAGER_CREATION:-false}" = "false" ]; then
fi

echo "[dev-env] running helm chart e2e tests..."
docker run --rm --interactive --network host \
--name ct \
--volume $KUBECONFIG:/root/.kube/config \
--volume "${DIR}/../../":/workdir \
--workdir /workdir \
registry.k8s.io/ingress-nginx/e2e-test-runner:v20240829-2c421762@sha256:5b7809bfe9cbd9cd6bcb8033ca27576ca704f05ce729fe4dcb574810f7a25785 \
ct install \
--charts charts/ingress-nginx \
--helm-extra-args "--timeout 60s"
docker run \
--name ct \
--volume "${KUBECONFIG}:/root/.kube/config:ro" \
--volume "${DIR}/../../:/workdir" \
--network host \
--workdir /workdir \
--entrypoint ct \
--rm \
registry.k8s.io/ingress-nginx/e2e-test-runner:v20240829-2c421762@sha256:5b7809bfe9cbd9cd6bcb8033ca27576ca704f05ce729fe4dcb574810f7a25785 \
install \
--charts charts/ingress-nginx \
--helm-extra-args "--timeout 60s"

0 comments on commit 9f395e6

Please sign in to comment.