From ecd59d97fb4362ca0d548e1888fdf963663612ff Mon Sep 17 00:00:00 2001 From: Brad Klein Date: Thu, 22 Jun 2023 15:39:38 -0600 Subject: [PATCH] Update helm image from artifactory --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8207ee5..4321e34 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ CHART_VERSION_1 ?= local CHART_VERSION_2 ?= local CHART_VERSION_3 ?= local -HELM_UNITTEST_IMAGE ?= quintush/helm-unittest:3.3.0-0.2.5 +HELM_UNITTEST_IMAGE ?= artifactory.algol60.net/csm-docker/stable/docker.io/quintush/helm-unittest:latest charts: chart1 chart2 chart3 chart1_test chart2_test chart3_test @@ -67,12 +67,12 @@ chart3: chart1_test: helm lint "${CHART_PATH}/${CHART_NAME_1}" - docker run --rm -v ${PWD}/${CHART_PATH}:/apps ${HELM_UNITTEST_IMAGE} ${CHART_NAME_1} + docker run --rm -v ${PWD}/${CHART_PATH}:/apps -e HELM_CACHE_HOME=/src/.helm/cache -e HELM_CONFIG_HOME=/src/.helm/config -e HELM_DATA_HOME=/src/.helm/data ${HELM_UNITTEST_IMAGE} ${CHART_NAME_1} chart2_test: helm lint "${CHART_PATH}/${CHART_NAME_2}" - docker run --rm -v ${PWD}/${CHART_PATH}:/apps ${HELM_UNITTEST_IMAGE} ${CHART_NAME_2} + docker run --rm -v ${PWD}/${CHART_PATH}:/apps -e HELM_CACHE_HOME=/src/.helm/cache -e HELM_CONFIG_HOME=/src/.helm/config -e HELM_DATA_HOME=/src/.helm/data ${HELM_UNITTEST_IMAGE} ${CHART_NAME_2} chart3_test: helm lint "${CHART_PATH}/${CHART_NAME_3}" - docker run --rm -v ${PWD}/${CHART_PATH}:/apps ${HELM_UNITTEST_IMAGE} ${CHART_NAME_3} + docker run --rm -v ${PWD}/${CHART_PATH}:/apps -e HELM_CACHE_HOME=/src/.helm/cache -e HELM_CONFIG_HOME=/src/.helm/config -e HELM_DATA_HOME=/src/.helm/data ${HELM_UNITTEST_IMAGE} ${CHART_NAME_3}