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

#5 Add example for Drupal project CI with Ansible

parent c5fcb09c
No related branches found
No related tags found
No related merge requests found
variables:
COMPOSE_PROJECT_NAME: example_${CI_PROJECT_ID}_$CI_COMMIT_REF_SLUG
ENVIRONMENT_NAME: example_${CI_PROJECT_ID}/$CI_COMMIT_REF_NAME
THEME_CSS_PATH: web/themes/custom/mytheme/css
include:
- project: 'gitlab-ci-cd/drupal'
ref: master
file: '/test-and-deploy.yml'
Validate Environment:
extends: '.prerequisites'
Build Site:
extends: '.build'
Download DB:
extends: '.dumpdb'
Import DB:
extends: '.importdb'
Update DB:
extends: '.updatedb'
Build Theme:
extends: '.theme'
before_script:
- cd web/themes/custom/mytheme
Test Code Style:
extends: '.codestyle'
Test PHPUnit:
extends: '.phpunit'
Test Behat:
extends: '.behat'
Test Backstop:
extends: '.backstop'
Deploy:
extends: '.dumpdb'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment