Commit 785446e8 authored by Thomas Löffler's avatar Thomas Löffler

Remove old asset dump job

parent d72a2ebd
......@@ -11,7 +11,6 @@ before_script:
- apk add bash --no-cache
stages:
- dump
- test
- build
- layout
......@@ -120,29 +119,3 @@ deploy-develop:
only:
- develop
dump-assets:
stage: dump
image: ubuntu:18.04
variables:
LANG: de_DE.UTF-8
before_script:
- apt-get update
- apt-get install -y rsync openssh-client php7.2-mysql
- mkdir -p /root/.ssh/
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY_STAGE" | ssh-add -
- ssh-keyscan -p ${STAGE_PORT} ${STAGE_HOST} >> /root/.ssh/known_hosts
- locale
artifacts:
paths:
- ./assets/
expire_in: '1d'
script:
- mkdir -p ./assets/private/fileadmin/
- rsync -ah -e "ssh -p ${STAGE_PORT}" --exclude=_processed_ ${DUMP_USER}@${STAGE_HOST}:ci/shared/private/fileadmin/ ./assets/private/fileadmin/ --delete
- ssh -p${STAGE_PORT} ${DUMP_USER}@${STAGE_HOST} "${PHP_EXECUTABLE} ./ci/current/vendor/bin/typo3cms database:export --exclude-tables ${DUMP_EXCLUDE_TABLES_LIST} | gzip -9 -c" > ./assets/db.sql.gz
dependencies:
when:
only:
- assets
except:
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