Skip to content
Snippets Groups Projects
Verified Commit 92b6a470 authored by David Hoese's avatar David Hoese
Browse files

Try to allow tests to run in any branch on the main repos

parent b7ad403c
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,9 @@ variables:
GEOSPHERE_TAG_REGEX: "^r[0-9]+_[0-9]+"
GEOSPHERE_TEST_TAG_REGEX: "^test-r[0-9]+_[0-9]+"
GCP_TAG_REGEX: "^gcp-r[0-9]+_[0-9]+"
TESTS_BRANCH_REGEX: "^master"
# TESTS_BRANCH_REGEX: "^master"
# only run tests for branches in the main repository
TESTS_PROJECT_NAME: "cspp_geo/geosphere/geosphere-deploy"
GEOSPHERE_NAMESPACE: "geosphere"
GEOSPHERE_TEST_NAMESPACE: "geosphere-test"
GCP_NAMESPACE: "default"
......
......@@ -12,7 +12,7 @@ if [[ -n "$CI_COMMIT_TAG" ]]; then
elif [[ $CI_COMMIT_TAG =~ $GCP_TAG_REGEX ]]; then
ns="${GCP_NAMESPACE}";
fi
elif [[ $CI_COMMIT_BRANCH =~ $TESTS_BRANCH_REGEX ]]; then
elif [[ $CI_PROJECT_NAME =~ $TESTS_PROJECT_NAME ]]; then
ns="${TESTS_NAMESPACE}";
fi
......
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