From: Jan Kiszka <jan.kis...@siemens.com>

Variables do not propagate automatically to child pipelines. So define
this one in the artifact version of the child pipeline file.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 .gitlab-ci-artifacts.yml | 3 ---
 ci/artifacts.yml         | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci-artifacts.yml b/.gitlab-ci-artifacts.yml
index 6d2f1ee..85345b8 100644
--- a/.gitlab-ci-artifacts.yml
+++ b/.gitlab-ci-artifacts.yml
@@ -9,8 +9,5 @@
 # SPDX-License-Identifier: MIT
 #
 
-variables:
-  USE_GITLAB_ARTIFACTS: "true"
-
 include:
   - local: '/ci/child_pipelines_artifacts.yml'
diff --git a/ci/artifacts.yml b/ci/artifacts.yml
index 2a0d639..fb1549f 100644
--- a/ci/artifacts.yml
+++ b/ci/artifacts.yml
@@ -8,6 +8,10 @@
 #
 # SPDX-License-Identifier: MIT
 #
+
+variables:
+  USE_GITLAB_ARTIFACTS: "true"
+
 # add lavacli to the container and install the ssh keys
 # for the test infrastructure
 .add-lava-ssh-config:
-- 
2.26.2


Reply via email to