Skip to content
Snippets Groups Projects
Commit 1a62630a authored by RKGarcia's avatar RKGarcia
Browse files

Fix regex in helm_based_job to properly detect gamma tags

parent 4710d306
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
- export HELM_EXPERIMENTAL_OCI="1"
- docker info
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- if [[ $CI_COMMIT_TAG =~ ^gamma-test-[0-9]+_[0-9]+ ]]; then
- if [[ $CI_COMMIT_TAG =~ ^gamma-test-r[0-9]+_[0-9]+ ]]; then
export KUBECONFIG="$GAMMA_GEOSPHERE_TEST_CONFIG";
kubectl config set-context $(kubectl config current-context) --namespace=${GAMMA_GEOSPHERE_TEST_NAMESPACE};
kubectl config view --minify;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment