From 7d8d57fd8af49d55868c9721b5f7fa6d816aa0e2 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 26 Jan 2021 14:06:24 +0100 Subject: [PATCH] Improve environment with better name and url --- examples/build-test-deploy-ansible.yml | 3 ++- test-and-deploy.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/build-test-deploy-ansible.yml b/examples/build-test-deploy-ansible.yml index 36b8b77..e4f190f 100644 --- a/examples/build-test-deploy-ansible.yml +++ b/examples/build-test-deploy-ansible.yml @@ -1,6 +1,7 @@ variables: COMPOSE_PROJECT_NAME: example_${CI_PROJECT_ID}_$CI_COMMIT_REF_SLUG - ENVIRONMENT_NAME: example_${CI_PROJECT_ID}/$CI_COMMIT_REF_NAME + ENVIRONMENT_NAME: example_${CI_PROJECT_ID}_$CI_COMMIT_REF_NAME + ENVIRONMENT_URL: https://d9.demo.lakedrops.com THEME_CSS_PATH: web/themes/custom/mytheme/css include: diff --git a/test-and-deploy.yml b/test-and-deploy.yml index bf5c3ae..0345c3f 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -443,6 +443,7 @@ stages: GIT_STRATEGY: none environment: name: ${ENVIRONMENT_NAME} + url: ${ENVIRONMENT_URL} script: | if [[ "$INITIALINSTALL" == "no" ]]; then ascr drupal-deploy $HOST_NAME $SITE_NAME --extra-vars="DRUPAL_ARTEFACT_SRC=${PWD}" ${CAE} @@ -468,6 +469,7 @@ stages: GIT_STRATEGY: none environment: name: ${ENVIRONMENT_NAME} + url: ${ENVIRONMENT_URL} script: | if [[ "$INITIALINSTALL" == "no" ]]; then ascr drupal-deploy $HOST_NAME $SITE_NAME --extra-vars="DRUPAL_ARTEFACT_SRC=${PWD}" ${CAE} -- GitLab