Skip to content

Commit

Permalink
Update helm chart-testing image
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Dec 5, 2020
1 parent 68b5ec9 commit 6052e9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
8 changes: 1 addition & 7 deletions test/e2e/run-chart-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ export KIND_CLUSTER_NAME=${KIND_CLUSTER_NAME:-ingress-nginx-dev}

export KUBECONFIG="${KUBECONFIG:-$HOME/.kube/kind-config-$KIND_CLUSTER_NAME}"

# Disable execution if running as a Prow job
if [[ ! -z ${PROW_JOB_ID:-} ]]; then
echo "skipping execution..."
exit 0
fi

if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then
echo "[dev-env] creating Kubernetes cluster with kind"

Expand All @@ -75,6 +69,6 @@ docker run --rm --interactive --network host \
--volume $KUBECONFIG:/root/.kube/config \
--volume "${DIR}/../../":/workdir \
--workdir /workdir \
aledbf/chart-testing:v3.0.0-rc.4 ct install \
quay.io/helmpack/chart-testing:v3.3.1 ct install \
--charts charts/ingress-nginx \
--helm-extra-args "--timeout 60s"
6 changes: 0 additions & 6 deletions test/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ trap cleanup EXIT

export KIND_CLUSTER_NAME=${KIND_CLUSTER_NAME:-ingress-nginx-dev}

# Disable execution if running as a Prow job
#if [[ ! -z ${PROW_JOB_ID:-} ]]; then
# echo "skipping execution..."
# exit 0
#fi

if ! command -v kind --version &> /dev/null; then
echo "kind is not installed. Use the package manager or visit the official site https://kind.sigs.k8s.io/"
exit 1
Expand Down

0 comments on commit 6052e9d

Please sign in to comment.