Skip to content
Snippets Groups Projects
Commit 9ae9d2fa authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'no-root-condarc' into 'master'

Remove /root/.condarc in docker images from continuum

See merge request !140
parents feadf62a 36f8b3e4
Branches
Tags
1 merge request!140Remove /root/.condarc in docker images from continuum
Pipeline #36250 passed
......@@ -31,6 +31,9 @@ stages:
tags:
- docker
image: continuumio/conda-concourse-ci
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
artifacts:
paths:
- ${CONDA_ROOT}/conda-bld/linux-64/*.conda
......@@ -94,6 +97,9 @@ build_macosx_37:
# Deploy targets
.deploy_template:
stage: deploy
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -136,6 +142,9 @@ pypi:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except:
- branches
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -36,6 +36,9 @@ build_linux:
extends: .build_template
tags:
- docker
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
image: continuumio/conda-concourse-ci
cache:
key: "linux-cache"
......
......@@ -17,7 +17,12 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
tags:
- docker
image: continuumio/conda-concourse-ci
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -45,9 +50,6 @@ build:
- sphinx
- ${CONDA_ROOT}/conda-bld/linux-64/*.conda
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
tags:
- docker
image: continuumio/conda-concourse-ci
cache:
key: "build"
......@@ -61,9 +63,6 @@ build:
- bdt ci clean -vv
dependencies:
- build
tags:
- docker
image: continuumio/conda-concourse-ci
cache:
key: "deploy"
......
......@@ -17,6 +17,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"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -19,6 +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"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- 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