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

docker/gitlab-drupal-ci#19 Make the trigger jobs more granular to make them...

docker/gitlab-drupal-ci#19 Make the trigger jobs more granular to make them work with the GLab CLI client as well
parent 48bb7868
No related branches found
No related tags found
No related merge requests found
......@@ -86,19 +86,13 @@ CollectDatabaseManual:
variables:
- $TRIGGERMODE == 'manual' && $TRIGGERTASK == 'CollectDatabase'
CollectFiles:
.CollectFiles:
variables:
GIT_STRATEGY: none
tags:
- deploylocal
before_script: !reference [.prepareaccess, before_script]
cache: {}
only:
refs:
- triggers
- chat
variables:
- $CI_PIPELINE_SOURCE == 'chat' || $TRIGGERTASK == 'CollectFiles'
script:
- branch=${CHAT_INPUT}${TRIGGER_INPUT}
- if [[ ! -d /data/${branch} ]]; then echo "Branch $branch does not exist"; exit 1; fi
......@@ -112,6 +106,21 @@ CollectFiles:
paths:
- files.tar.gz
CollectFiles:
extends: .CollectFiles
only:
refs:
- triggers
- chat
variables:
- $CI_PIPELINE_SOURCE == 'chat' || $TRIGGERTASK == 'CollectFiles'
CollectFilesManual:
extends: .CollectFiles
only:
variables:
- $TRIGGERMODE == 'manual' && $TRIGGERTASK == 'CollectFiles'
CopyDataToStage:
variables:
GIT_STRATEGY: none
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment