Commit 46770ad2 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Add lfs install

parent e05dab55
...@@ -36,7 +36,6 @@ fast-build: ...@@ -36,7 +36,6 @@ fast-build:
stage: precheck stage: precheck
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
before_script: before_script:
- export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
- python3 CI/check_twin_pipelines.py - python3 CI/check_twin_pipelines.py
after_script: after_script:
...@@ -50,6 +49,7 @@ fast-build: ...@@ -50,6 +49,7 @@ fast-build:
only: [merge_requests] only: [merge_requests]
stage: build stage: build
before_script: before_script:
- git lfs install --skip-repo
# Provision efficiently the local LFS cache before checkout # Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_SHA - git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch # Checkout the expected branch
...@@ -79,9 +79,8 @@ ubuntu-llvm: ...@@ -79,9 +79,8 @@ ubuntu-llvm:
only: [merge_requests] only: [merge_requests]
stage: prepare stage: prepare
before_script: before_script:
- export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
- export GIT_LFS_SKIP_SMUDGE=0 - git lfs install --skip-repo
artifacts: artifacts:
expire_in: 24 hrs expire_in: 24 hrs
paths: paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment