From 97e21b13b5325a4ed25b94ee21adcc0b18a522ee Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Fri, 6 Dec 2024 13:31:21 +0100 Subject: [PATCH] fix: move variable to global pipeline definition Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- gitlab-ci-1.2.yml | 3 +++ includes/deploy/demo.yml | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gitlab-ci-1.2.yml b/gitlab-ci-1.2.yml index 33afb8b..35b0ec9 100644 --- a/gitlab-ci-1.2.yml +++ b/gitlab-ci-1.2.yml @@ -12,6 +12,9 @@ variables: CONTRIBUTORS: "wpdesk,dyszczo,grola,piotrpo,marcinkolanko" MINIMAL_WP_TESTED_UP: "6.2" MINIMAL_WC_TESTED_UP: "8.1" + DEMO_DEPLOY_TARGETS: + value: "demo.wpdesk.org,demo.wpdesk.pl" + description: "Override this variable in project's .gitlab-ci.yml to support other servers. List supported targets separated by `,`. You may also use short name for deploy target, like \"wpdesk,octolize\" to support both wpdesk and both octolize targets. Currently supported targets: demo.wpdesk.org, demo.wpdesk.pl, demo.octolize.com, stage.demo.octolize.com, demo.flexibleinvoices." stages: - prepare-vendor diff --git a/includes/deploy/demo.yml b/includes/deploy/demo.yml index af344a8..a1605a5 100644 --- a/includes/deploy/demo.yml +++ b/includes/deploy/demo.yml @@ -1,9 +1,5 @@ deploy:demo: image: gitlab.wpdesk.dev:5050/wpdesk/docker-tests/amazon-svn-deploy:24.09 - variables: - DEMO_DEPLOY_TARGETS: - value: "demo.wpdesk.org,demo.wpdesk.pl" - description: "Override this variable in project's .gitlab-ci.yml to support other servers. List supported targets separated by `,`. You may also use short name for deploy target, like \"wpdesk,octolize\" to support both wpdesk and both octolize targets. Currently supported targets: demo.wpdesk.org, demo.wpdesk.pl, demo.octolize.com, stage.demo.octolize.com, demo.flexibleinvoices." environment: name: $DEPLOY_SERVER url: https://$DEPLOY_SERVER -- GitLab