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

[gitlab] Remove /root/.condarc in docker images from continuum

parent feadf62a
No related branches found
No related tags found
1 merge request!140Remove /root/.condarc in docker images from continuum
Pipeline #36246 failed
......@@ -31,6 +31,8 @@ stages:
tags:
- docker
image: continuumio/conda-concourse-ci
before_build:
- rm -f /root/.condarc
artifacts:
paths:
- ${CONDA_ROOT}/conda-bld/linux-64/*.conda
......@@ -94,6 +96,8 @@ build_macosx_37:
# Deploy targets
.deploy_template:
stage: deploy
before_build:
- rm -f /root/.condarc
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -136,6 +140,8 @@ pypi:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except:
- branches
before_build:
- rm -f /root/.condarc
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -36,6 +36,8 @@ build_linux:
extends: .build_template
tags:
- docker
before_script:
- rm -f /root/.condarc
image: continuumio/conda-concourse-ci
cache:
key: "linux-cache"
......
......@@ -17,7 +17,11 @@ 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
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -45,9 +49,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 +62,6 @@ build:
- bdt ci clean -vv
dependencies:
- build
tags:
- docker
image: continuumio/conda-concourse-ci
cache:
key: "deploy"
......
......@@ -17,6 +17,7 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r /root/.condarc ] && rm -f /root/.condarc"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -19,6 +19,7 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r /root/.condarc ] && rm -f /root/.condarc"
- 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