Skip to content
Snippets Groups Projects
Commit 81c9c612 authored by jurgenhaas's avatar jurgenhaas
Browse files

Disable tests for main branch when being merged from release or develop

parent 6366abf0
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,12 @@ Debug:
elif [[ "$CI_COMMIT_MESSAGE" == *"release into main"* ]]; then
TESTSDISABLED="yes"
GITLABTESTSDISABLED="yes"
elif [[ "$CI_COMMIT_MESSAGE" == *"Merge branch 'release' into 'main'"* ]]; then
TESTSDISABLED="yes"
GITLABTESTSDISABLED="yes"
elif [[ "$CI_COMMIT_MESSAGE" == *"Merge branch 'develop' into 'main'"* ]]; then
TESTSDISABLED="yes"
GITLABTESTSDISABLED="yes"
elif [[ "$DISABLE_CI_TEST_BACKSTOP" == "1" && "$DISABLE_CI_TEST_BEHAT" == "1" && "$DISABLE_CI_TEST_CYPRESSE2E" == "1" ]]; then
echo "DB not required"
elif [[ "$CI_COMMIT_REF_NAME" == "main" ]]; then
......@@ -195,6 +201,7 @@ Debug:
fi
if [[ "$INITIALINSTALL" == "yes" ]]; then
TESTSDISABLED="yes"
GITLABTESTSDISABLED="yes"
fi
DEPLOYSCRIPT="drupal-deploy"
......
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