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

Basic local deploy script

parent f9bd3d94
No related branches found
No related tags found
No related merge requests found
......@@ -377,15 +377,17 @@ Debug:
.deployartefact-ng:
stage: deploy
tags:
- ansiblelocal
image: registry.lakedrops.com/ansible-inventories/localhost:latest
- deploylocal
image: registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
variables:
GIT_STRATEGY: none
environment:
name: ${ENVIRONMENT_NAME}
url: ${ENVIRONMENT_URL}
script:
- ascr drupal-deploy-ng ${CI_PROJECT_ID} ${CI_PROJECT_PATH_SLUG} ${CI_COMMIT_BRANCH} --extra-vars="DRUPAL_ARTEFACT_SRC=${PWD}" --extra-vars="SKIP_CONFIG_IMPORT=${SKIPCONFIGIMPORT}" ${CAE}
- rsync -rlDzq --stats ./ /data/app
- cd /data/app
- docker compose up -d
cache: {}
rules:
- if: '$DISABLE_DEPLOYMENT != "0"'
......
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