diff --git a/ci-templates/lfs-pull.yml b/ci-templates/lfs-pull.yml index 8e90299a74da3af69d0d868ac991ea0ef13f4647..554087253bb8f83e430e9102a7b0bca500cc7e11 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