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

Add CI template for data handling of Drupal sites

parents
No related branches found
No related tags found
No related merge requests found
variables:
GIT_STRATEGY: none
CollectConfig:
tags:
- ansible
script:
- ascr drupal-collect-config ${CI_PROJECT_NAME} $CAE
cache: {}
only:
refs:
- triggers
variables:
- $CAE
CollectDatabase:
tags:
- ansible
cache: {}
only: [chat]
script:
- ascr drupal-dump-db ${CI_PROJECT_NAME} ${PWD}/${CI_PROJECT_NAME}.sql ${CHAT_INPUT}
artifacts:
name: dbdump
when: always
paths:
- ${CI_PROJECT_NAME}.sql
CollectFiles:
tags:
- ansible
cache: {}
only: [chat]
script:
- ascr drupal-asset-archive ${CI_PROJECT_NAME} ${PWD}/${CI_PROJECT_NAME}.zip ${CHAT_INPUT}
artifacts:
name: dbdump
when: always
paths:
- ${CI_PROJECT_NAME}.zip
CopyDataToStage:
tags:
- ansible
cache: {}
only: [chat]
script:
- ascr drupal-data-copy ${CHAT_INPUT}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment