From 17cc8e6991ca9dd7359908eba9615d5531191206 Mon Sep 17 00:00:00 2001 From: Elia Date: Thu, 22 Feb 2024 08:30:50 +0000 Subject: [PATCH] Update .gitlab-ci.yml file Temp Debug pipeline --- .gitlab-ci.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cf3ea67..5d0515c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -198,29 +198,43 @@ tag_release: code_tag="prod" #adding temporary debug code to find the right condition + + echo "START - Debug pipeline condition" + if [ "$is_master" == "true"]; then echo "1 is true" + else + echo "1 is false" fi if [[ $CI_COMMIT_TAG =~ "dev" ]]; then echo "2 is true" + else + echo "2 is false" fi if [ "$is_master" == "true"] || [[ $CI_COMMIT_TAG =~ "dev" ]]; then echo "3 is true" + else + echo "3 is false" fi if [ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]; then echo "4 is true" + else + echo "4 is false" fi if [[ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]]; then echo "5 is true" + else + echo "5 is false" fi if [ "$is_master" == "true"] || [ $CI_COMMIT_TAG =~ "dev" ]; then echo "6 is true" - fi - if [ "$is_master" == "true"] || [ "$CI_COMMIT_TAG" =~ "dev" ]; then - echo "7 is true" + else + echo "6 is false" fi - if [ "$is_master" == "true"] || [[$CI_COMMIT_TAG =~ "dev" ]]; then + echo "END - debug pipeline" + + if [ "$is_master" == "true"] || [[ $CI_COMMIT_TAG =~ "dev" ]]; then if [[ $CI_COMMIT_TAG =~ "dev" ]]; then env_tags="$CI_COMMIT_TAG tds"