Commit ec46d362 authored by aregimbe's avatar aregimbe
Browse files

CI: add prepare stage

parent 14896a4d
......@@ -66,3 +66,27 @@ build:ubuntu-llvm-wip:
except: [merge_requests]
extends: .common-build
stage: prepare
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
# This override the previous before_script
- git checkout $CI_COMMIT_REF_NAME
# We are now doing the git-lfs install
# This is done after the checkout so we avoid downloading Data
# But we need it to upload the archive
- git-lfs install
- git config --global ""
- git config --global "otbbot"
- eval $(ssh-agent -s)
- ssh-add <(echo "$K8S_SECRET_SSH")
# This is for debug, we are checking the owner of the ssh key
# - ssh -o StrictHostKeyChecking=no -T
- ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
expire_in: 24 hrs
# This recovers logs from superbuild build
- build/*/*/*/*.log
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