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