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

Add variables to optionally disable deployment

parent 7d2eab81
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ variables:
DISABLE_CI_TEST_CODESTYLE: 0
DISABLE_CI_TEST_INVENTORY: 1
DISABLE_CI_TEST_PHPUNIT: 0
DISABLE_DEPLOYMENT: 0
DISABLE_GITLAB_CI_TESTS: 0
DISABLE_GITLAB_CI_TEST_CODE_QUALITY: 1
DISABLE_GITLAB_CI_TEST_SAST_BANDIT: 1
......
......@@ -347,6 +347,8 @@ Debug:
script:
- ascr $DEPLOYSCRIPT $HOST_NAME $SITE_NAME --extra-vars="SKIP_CONFIG_IMPORT=${SKIPCONFIGIMPORT}" ${CAE}
cache: {}
rules:
- if: '$DISABLE_DEPLOYMENT != "1"'
dependencies:
- 'Build Theme'
......@@ -362,6 +364,8 @@ Debug:
script:
- ascr $DEPLOYSCRIPT $HOST_NAME $SITE_NAME --extra-vars="DRUPAL_ARTEFACT_SRC=${PWD}" --extra-vars="SKIP_CONFIG_IMPORT=${SKIPCONFIGIMPORT}" ${CAE}
cache: {}
rules:
- if: '$DISABLE_DEPLOYMENT != "1"'
dependencies:
- 'Build Prod Site'
- 'Build Theme'
......
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