From b0f233ead141fc49ffe93774562bbf97942ae291 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Tue, 14 May 2019 11:43:26 +0200
Subject: [PATCH] Remove unecessary line in yml

---
 .gitlab-ci.yml | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71e44a17c8..a546a042c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -139,7 +139,6 @@ macos-superbuild-prepare:
   extends: .common-prepare
   stage: prepare
   before_script:
-    - echo $GIT_CLONE_PATH
 # This override the previous before_script
     - git checkout $CI_COMMIT_REF_NAME
   script:
@@ -158,24 +157,7 @@ macos-superbuild-build:
   extends: .general
   stage: build
   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
-# 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
   after_script:
     - echo "Nothing to do for after_script"
-- 
GitLab