Skip to content
Snippets Groups Projects
Commit 4f892567 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

replace /root/.conda with ~/.conda

parent 56bb5e9f
Branches
Tags
1 merge request!245Use conda-forge channel as the base for our builds
Pipeline #54460 failed
......@@ -31,8 +31,8 @@ stages:
- docker
image: quay.io/condaforge/linux-anvil-cos7-x86_64
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- rm -f ~/.condarc
- rm -rf ~/.conda
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
......@@ -104,8 +104,8 @@ build_macos_intel_bob_devtools:
.deploy_template:
stage: deploy
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- rm -f ~/.condarc
- rm -rf ~/.conda
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -151,8 +151,8 @@ pypi:
except:
- branches
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- rm -f ~/.condarc
- rm -rf ~/.conda
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -33,8 +33,8 @@ build_linux:
tags:
- docker
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- rm -f ~/.condarc
- rm -rf ~/.conda
image: quay.io/condaforge/linux-anvil-comp7
cache:
key: "linux-cache"
......
......@@ -22,8 +22,8 @@ stages:
- docker
image: quay.io/condaforge/linux-anvil-comp7
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- rm -f ~/.condarc
- rm -rf ~/.conda
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -19,8 +19,8 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r /root/.condarc ] && rm -f /root/.condarc"
- "[ -d /root/.conda ] && rm -rf /root/.conda"
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -21,8 +21,8 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r /root/.condarc ] && rm -f /root/.condarc"
- "[ -d /root/.conda ] && rm -rf /root/.conda"
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -21,8 +21,8 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r /root/.condarc ] && rm -f /root/.condarc"
- "[ -d /root/.conda ] && rm -rf /root/.conda"
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment