Commit 9b8319af authored by Thomas Löffler's avatar Thomas Löffler

Add sys_registry to exclude from asset dump and add variable to add more project specific

parent 4dbf30ff
variables:
GIT_STRATEGY: "none"
GIT_SSL_NO_VERIFY: "true"
ADDITIONAL_TABLE_EXCLUDES: ""
cache:
key: "$CI_COMMIT_REF_NAME-$CI_JOB_STAGE"
......@@ -133,7 +134,7 @@ Get dump for local environment:
<<: *maintenance_template
script:
- mkdir dump
- ssh ${STAGE_USER}@${STAGE_HOST} "php ./ci/current/vendor/bin/typo3cms database:export -c Default -e 'cf_*' -e 'cache_*' -e '[bf]e_sessions' -e '[bf]e_users' -e 'sys_log' -e 'sys_history' -e 'tx_solr_*' -e 'tx_igldapssoauth_config' | gzip -9 -c" > ./dump/dump.sql.gz
- ssh ${STAGE_USER}@${STAGE_HOST} "php ./ci/current/vendor/bin/typo3cms database:export -c Default -e 'cf_*' -e 'cache_*' -e '[bf]e_sessions' -e '[bf]e_users' -e 'sys_log' -e 'sys_history' -e 'sys_registry' -e 'tx_solr_*' -e 'tx_igldapssoauth_config' ${ADDITIONAL_TABLE_EXCLUDES} | gzip -9 -c" > ./dump/dump.sql.gz
artifacts:
paths:
- ./dump/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment