From 10a61506612afe335bf24a53f95ab0016ccf434b Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 30 Dec 2020 13:29:47 +0100 Subject: [PATCH] gitlab-ci-cd/drupal#1 Testing --- test-and-deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test-and-deploy.yml b/test-and-deploy.yml index 3879b7e..c0d0f28 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -73,9 +73,9 @@ stages: fi fi fi - export $DBREQUIRED + echo "DBREQUIRED=${DBREQUIRED}" >> validation.env if [[ "$DBREQUIRED" == "yes" ]]; then - echo "DB need to be pulled." + echo "DB needs to be pulled." else echo "No pulling required." fi @@ -83,6 +83,9 @@ stages: variables: - $CAE - $DISABLE_CI_TESTS + artifacts: + reports: + dotenv: validation.env .build: stage: build @@ -133,6 +136,8 @@ stages: ascr drupal-dump-db ${CI_PROJECT_PATH} ${PWD}/${CI_PROJECT_NAME}.sql master fi cache: {} + dependencies: + - 'Validate Environment' artifacts: name: dbdump when: always @@ -170,6 +175,7 @@ stages: - $CAE - $DISABLE_CI_TESTS dependencies: + - 'Validate Environment' - 'Build Site' - 'Download DB' @@ -194,6 +200,7 @@ stages: - $CAE - $DISABLE_CI_TESTS dependencies: + - 'Validate Environment' - 'Build Site' .theme: -- GitLab