From b7254cf5dc6c6f2c4e98c0b12b2b65b7fa05d77b Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Thu, 14 Sep 2023 09:20:30 +0200 Subject: [PATCH] ci(univention-management-stack): Enforce choice between UCS and UMS --- .gitlab-ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 489ed23f..0174c074 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,16 +58,13 @@ variables: - "yes" - "no" DEPLOY_UCS: - description: "Enable Univention Corporate Server deployment." - value: "no" - options: - - "yes" - - "no" - DEPLOY_UMS: - description: "Enable Univention Management Stack deployment." + description: >- + Enable Univention Corporate Server deployment. + "ums-eval" does deploy the Univention Management Stack instead of the UCS container. value: "no" options: - "yes" + - "ums-eval" - "no" DEPLOY_PROVISIONING: description: "Enable Provisioning Components." @@ -225,7 +222,7 @@ ucs-deploy: - if: > $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && - ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS != "no") + ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS == "yes") when: "always" variables: COMPONENT: "univention-corporate-container" @@ -249,7 +246,7 @@ ums-deploy: - if: > $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && - $DEPLOY_UMS != "no" + $DEPLOY_UCS == "ums-eval" when: "always" variables: COMPONENT: "univention-management-stack"