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

#39 Debugging

parent a232b7d7
No related branches found
No related tags found
No related merge requests found
......@@ -196,3 +196,22 @@ DeployAssetsToDrupal:
- git clone -b ${ASSET_BRANCH} ${ASSET_REPO} vendor/${ASSET_PATH}
- drush migrate:import --all --skip-progress-bar
- drush migrate:import --all --skip-progress-bar
Debug:
variables:
GIT_STRATEGY: none
tags:
- deploylocal
before_script: !reference [.prepareaccess, before_script]
cache: {}
only: [chat]
script:
- IFS=' ' read sourcebranch targetbranch <<< ${CHAT_INPUT}
- echo "Source ${sourcebranch}"
- echo "Target ${targetbranch}"
- if [[ ! -d /data/${sourcebranch}/app ]]; then echo "Source branch does not exist!"; exit 1; fi
- if [[ ! -d /data/${targetbranch}/app ]]; then echo "Target branch does not exist!"; exit 2; fi
- cd /data/${sourcebranch}/app
- docker compose exec php drush st
- cd /data/${targetbranch}/app
- docker compose exec php drush st
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