Update helm chart-testing image

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-12-05 15:09:57 -03:00
parent 68b5ec9a48
commit 6052e9dc23
2 changed files with 1 additions and 13 deletions

View file

@ -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"
@ -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"

View file

@ -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