From dfceffda94d2f15d23adfef2d1738e9c3421b3e5 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Wed, 28 Jun 2023 12:08:41 +0200 Subject: [PATCH] gitlab-ci-cd/drupal#57 Allow SKIPRELEASE and USELIVEDB for .check4update --- test-and-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test-and-deploy.yml b/test-and-deploy.yml index fbca025..90b95ff 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -708,8 +708,11 @@ Debug: - EC=0 - grep "composer.lock" /tmp/test.log || EC=$? - if [[ $EC -ne 0 ]]; then exit 0; fi + - COMMITFLAGS="[SKIP_CONFIG_IMPORT]" + - if [[ "${SKIPREALEASE}" != "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [CREATE_RELEASE]"; fi + - if [[ "${USELIVEDB}" == "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [PULL_DB]"; fi - git add composer.lock - - git -c user.email=gitlab-runner@lakedrops.com -c user.name=GitLabCI commit -m "Updates recognized automatically [CREATE_RELEASE] [SKIP_CONFIG_IMPORT]" + - git -c user.email=gitlab-runner@lakedrops.com -c user.name=GitLabCI commit -m "Updates recognized automatically ${COMMITFLAGS}" - git push origin HEAD:$CI_COMMIT_REF_NAME only: variables: -- GitLab