From 57ef7372243936c0a057970e04711e932850bbec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20B=C3=B6ttcher?= <c.boettcher@fz-juelich.de> Date: Tue, 14 Feb 2023 10:06:34 +0100 Subject: [PATCH] add debug step to pipe to see some varibale values --- .gitlab-ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5eef92..1c1d40f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,12 +34,21 @@ variables: - chmod 700 ~/.ssh stages: + - debug - build - publish - deploy - test-deployment - cleanup +debug: + stage: debug + script: + - echo $CI_COMMIT_BRANCH + - echo $MANUAL_FULL_DEPLOY_TESTING + - echo $CI_COMMIT_TAG + - echo $MANUAL_FULL_DEPLOY_PRODUCTION + build-custom-image: stage: build @@ -88,7 +97,7 @@ full-deploy-testing: light-deploy-testing: stage: deploy rules: - - if: ($CI_COMMIT_BRANCH == "main" && ($MANUAL_FULL_DEPLOY_TESTING == "" || $MANUAL_FULL_DEPLOY_TESTING == "false")) + - if: ($CI_COMMIT_BRANCH == "main" && $MANUAL_FULL_DEPLOY_TESTING !~ /true/ ) <<: *ssh_setup environment: Testing -- GitLab