diff --git a/scripts/integration b/scripts/integration index 941b822b..61eb9090 100755 --- a/scripts/integration +++ b/scripts/integration @@ -12,8 +12,8 @@ echo "Starting integration tests" # condition that causes the helm-locker tests to fail, because either controller can acquire and harden a helm-release. echo "Running helm-locker integration tests" -KUBECONFIG=$KUBECONFIG go test -cover ./internal/helm-locker +go test -cover ./internal/helm-locker # expects the dev image $IMAGE to be available to the cluster pointed to by $KUBECONFIG echo "Running helm-project-operator integration tests with image : $IMAGE" -KUBECONFIG=$KUBECONFIG IMAGE=$IMAGE go test -cover ./internal/helm-project-operator +IMAGE=$IMAGE go test -cover ./internal/helm-project-operator diff --git a/scripts/version b/scripts/version index 769c023d..135bce7c 100755 --- a/scripts/version +++ b/scripts/version @@ -2,6 +2,8 @@ BUILD_TARGET=${BUILD_TARGET:-"prometheus-federator"} +export KUBECONFIG=$KUBECONFIG + if [ -n "$(git status --porcelain --untracked-files=no)" ]; then DIRTY="-dirty" fi