From 2b7f7652bb5b199aab38c0ac3874d1f4da029492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Moreno?= <inigo.moreno@tecnalia.com> Date: Wed, 22 Sep 2021 11:26:04 +0200 Subject: [PATCH] Fix error --- ci-templates/lfs-pull.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ci-templates/lfs-pull.yml b/ci-templates/lfs-pull.yml index 8e90299..5540872 100644 --- a/ci-templates/lfs-pull.yml +++ b/ci-templates/lfs-pull.yml @@ -3,9 +3,10 @@ find $$current_ws -type f -name .lfsconfig -execdir git lfs ls-files \\; ;" .industrial_ci: - BEFORE_INIT: "bash <(curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh);\ - apt install -qq -y git-lfs; \ - git config --global credential.helper store; \ - echo https://$ARTIFACT_CI_USER:$ARTIFACT_CI_TOKEN@artifact.tecnalia.com > ~/.git-credentials ;" - BEFORE_BUILD_TARGET_WORKSPACE: *lfs-pull-script - BEFORE_BUILD_UPSTREAM_WORKSPACE: *lfs-pull-script + variables: + BEFORE_INIT: "bash <(curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh);\ + apt install -qq -y git-lfs; \ + git config --global credential.helper store; \ + echo https://$ARTIFACT_CI_USER:$ARTIFACT_CI_TOKEN@artifact.tecnalia.com > ~/.git-credentials ;" + BEFORE_BUILD_TARGET_WORKSPACE: *lfs-pull-script + BEFORE_BUILD_UPSTREAM_WORKSPACE: *lfs-pull-script -- GitLab