Skip to content

Commit

Permalink
Merge pull request #1560 from torredil/ct
Browse files Browse the repository at this point in the history
Set image repository/tag via `--helm-extra-set-args` param in CT
  • Loading branch information
k8s-ci-robot authored Apr 7, 2023
2 parents 7db7d1a + ad21c24 commit cbd4697
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hack/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,13 @@ if [[ "${HELM_CT_TEST}" == true ]]; then
export CT_REMOTE="ct"
export CT_TARGET_BRANCH="${PULL_BASE_REF}"
fi
yq -i ".image.repository = \"$IMAGE_NAME\" | .image.tag = \"$IMAGE_TAG\"" ${PWD}/charts/aws-ebs-csi-driver/values.yaml
set -x
set +e
export KUBECONFIG="${KUBECONFIG}"
${CHART_TESTING_BIN} lint-and-install --config ${PWD}/tests/ct-config.yaml
${CHART_TESTING_BIN} lint-and-install --config ${PWD}/tests/ct-config.yaml --helm-extra-set-args="--set=image.repository=${IMAGE_NAME},image.tag=${IMAGE_TAG}"
TEST_PASSED=$?
set -e
set +x
git checkout -- ${PWD}/charts/aws-ebs-csi-driver/values.yaml
else
loudecho "Deploying driver"
startSec=$(date +'%s')
Expand Down

0 comments on commit cbd4697

Please sign in to comment.