From 24a1407aa06a39c3f48b97093d80f9ec1571241d Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Wed, 12 Feb 2020 13:57:23 +0100
Subject: [PATCH] [gitlab] Remove .conda and .condarc from docker image

The current conda-concourse-ci includes wrong configuration
---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a621cc797..26f707b66 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,6 +61,9 @@ build_linux_36:
 # Deploy targets
 .deploy_template: &deploy_job
   stage: deploy
+  before_script:
+    - "[ -r /root/.condarc ] && rm -f /root/.condarc"
+    - "[ -d /root/.conda ] && rm -rf /root/.conda"
   script:
     - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
     - python3 bootstrap.py channel base
-- 
GitLab