Skip to content

Commit

Permalink
Update helm image from artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Klein committed Jun 22, 2023
1 parent d357b4e commit ecd59d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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}

0 comments on commit ecd59d9

Please sign in to comment.