From 661bdf3915071e4053bc62a83cd223441fdbe289 Mon Sep 17 00:00:00 2001 From: Jon Azpiazu <jon.azpiazu@tecnalia.com> Date: Mon, 2 Dec 2024 17:37:01 +0100 Subject: [PATCH] Add lfs hooks to new jobs --- ci-templates/lfs-pull.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ci-templates/lfs-pull.yml b/ci-templates/lfs-pull.yml index e93ea41..c04a1ea 100644 --- a/ci-templates/lfs-pull.yml +++ b/ci-templates/lfs-pull.yml @@ -11,3 +11,23 @@ BEFORE_INSTALL_UPSTREAM_DEPENDENCIES: *lfs-pull-script BEFORE_INSTALL_TARGET_DEPENDENCIES: *lfs-pull-script BEFORE_INSTALL_DOWNSTREAM_DEPENDENCIES: *lfs-pull-script + +.industrial_ci_build_notest: + variables: + AFTER_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_INSTALL_UPSTREAM_DEPENDENCIES: *lfs-pull-script + BEFORE_INSTALL_TARGET_DEPENDENCIES: *lfs-pull-script + BEFORE_INSTALL_DOWNSTREAM_DEPENDENCIES: *lfs-pull-script + +.industrial_ci_test: + variables: + AFTER_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_INSTALL_UPSTREAM_DEPENDENCIES: *lfs-pull-script + BEFORE_INSTALL_TARGET_DEPENDENCIES: *lfs-pull-script + BEFORE_INSTALL_DOWNSTREAM_DEPENDENCIES: *lfs-pull-script -- GitLab