Commit b0f233ea authored by Antoine Regimbeau's avatar Antoine Regimbeau

Remove unecessary line in yml

parent 1b7a245e
...@@ -139,7 +139,6 @@ macos-superbuild-prepare: ...@@ -139,7 +139,6 @@ macos-superbuild-prepare:
extends: .common-prepare extends: .common-prepare
stage: prepare stage: prepare
before_script: before_script:
- echo $GIT_CLONE_PATH
# This override the previous before_script # This override the previous before_script
- git checkout $CI_COMMIT_REF_NAME - git checkout $CI_COMMIT_REF_NAME
script: script:
...@@ -158,24 +157,7 @@ macos-superbuild-build: ...@@ -158,24 +157,7 @@ macos-superbuild-build:
extends: .general extends: .general
stage: build stage: build
before_script: before_script:
# First we need to clean the environment
- rm -rf ../../xdk # install dir
- rm -rf ../../SuperBuild_Install.tar # sb tar
# - rm -rf otb/sb_branch.txt # sb_branch
# - rm -rf otb/build # binary dir
- rm -rf ../superbuild-artifact # sb_artifact folder
# This override the previous before_script
- git checkout $CI_COMMIT_REF_NAME - 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 user.email "otbbot@orfeo-toolbox.org"
# - git config --global user.name "otbbot"
# - eval $(ssh-agent -s)
# - ssh-add <(echo "$K8S_SECRET_SSH")
# we do not need this as we are on a persistent machine
# This is for debug, we are checking the owner of the ssh key
- ssh -o StrictHostKeyChecking=no -T git@gitlab.orfeo-toolbox.org - ssh -o StrictHostKeyChecking=no -T git@gitlab.orfeo-toolbox.org
after_script: after_script:
- echo "Nothing to do for after_script" - echo "Nothing to do for after_script"
......
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