Skip to content
Snippets Groups Projects
Commit 4a705e7a authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Move the anchor definition

parent c9b7407e
No related branches found
No related tags found
No related merge requests found
Pipeline #56499 failed
...@@ -15,6 +15,18 @@ services: ...@@ -15,6 +15,18 @@ services:
- name: tecnalia-docker-dev.artifact.tecnalia.com/docker:dind - name: tecnalia-docker-dev.artifact.tecnalia.com/docker:dind
alias: docker alias: docker
.lfs_setup_template: &lfs_setup_definition # Hidden key that defines an anchor
AFTER_SETUP_UPSTREAM_WORKSPACE: "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 ;\
cd ~/upstream_ws ;\
find . -type f -name .lfsconfig -execdir git lfs pull \\; ;\
find . -type f -name .lfsconfig -execdir git lfs ls-files \\; ;\
cd ~/target_ws ;\
find . -type f -name .lfsconfig -execdir git lfs pull \\; ;\
find . -type f -name .lfsconfig -execdir git lfs ls-files \\; ;"
stages: stages:
- build - build
...@@ -29,15 +41,3 @@ include : ...@@ -29,15 +41,3 @@ include :
default: default:
tags: tags:
- docker - docker
.lfs_setup_template: &lfs_setup_definition # Hidden key that defines an anchor
AFTER_SETUP_UPSTREAM_WORKSPACE: "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 ;\
cd ~/upstream_ws ;\
find . -type f -name .lfsconfig -execdir git lfs pull \\; ;\
find . -type f -name .lfsconfig -execdir git lfs ls-files \\; ;\
cd ~/target_ws ;\
find . -type f -name .lfsconfig -execdir git lfs pull \\; ;\
find . -type f -name .lfsconfig -execdir git lfs ls-files \\; ;"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment