From 647f7cb2bfbd42d2189354f0b974d9498e42ad76 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Wed, 15 May 2019 10:13:41 +0200
Subject: [PATCH] Clean before script

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a09476ec5..71967f814d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,9 +45,6 @@ fast-build:
   stage: precheck
   image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
   before_script:
-    - whoami
-    - ls -al "/root"
-    - ssh -vvv -T git@gitlab.orfeo-toolbox.org
     - export GIT_LFS_SKIP_SMUDGE=1
     - git checkout -f -q $CI_COMMIT_SHA
     - python3 CI/check_twin_pipelines.py
@@ -59,7 +56,6 @@ fast-build:
   extends: .general
   only: [merge_requests]
   stage: build
-  dependencies: []
 
 debian-build:
   extends: .common-build
@@ -84,13 +80,9 @@ ubuntu-llvm:
   stage: prepare
   before_script:
 # This override the previous before_script
-    - whoami
     - export GIT_LFS_SKIP_SMUDGE=1
     - git checkout -f -q $CI_COMMIT_SHA
     - export GIT_LFS_SKIP_SMUDGE=0
-# This is for debug, we are checking the owner of the ssh key
-    - ls -al "/root"
-    - ssh -vvv -T git@gitlab.orfeo-toolbox.org
   after_script:
     - echo "Nothing to do for after_script"
   artifacts:
-- 
GitLab