Commit ae48033f authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: fix checkout commands

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -22,7 +22,7 @@ before_script: ...@@ -22,7 +22,7 @@ before_script:
# 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
- git checkout $CI_COMMIT_REF_NAME - git checkout -f -q $CI_COMMIT_SHA
after_script: after_script:
- python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH - python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH
...@@ -46,7 +46,7 @@ fast-build: ...@@ -46,7 +46,7 @@ fast-build:
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 - export GIT_LFS_SKIP_SMUDGE=1
- git checkout $CI_COMMIT_REF_NAME - git checkout -f -q $CI_COMMIT_SHA
- python3 CI/check_twin_pipelines.py - python3 CI/check_twin_pipelines.py
script: script:
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
...@@ -82,7 +82,7 @@ ubuntu-llvm: ...@@ -82,7 +82,7 @@ ubuntu-llvm:
before_script: before_script:
# This override the previous before_script # This override the previous before_script
- export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
- git checkout $CI_COMMIT_REF_NAME - git checkout -f -q $CI_COMMIT_SHA
- export GIT_LFS_SKIP_SMUDGE=0 - export GIT_LFS_SKIP_SMUDGE=0
# This is for debug, we are checking the owner of the ssh key # This is for debug, we are checking the owner of the ssh key
- ssh -T git@gitlab.orfeo-toolbox.org - ssh -T git@gitlab.orfeo-toolbox.org
......
Supports Markdown
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