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

Revert "[ci] remove rm -f /root/.condarc instances"

This reverts commit d088f518.
parent 1223698e
Branches
Tags
1 merge request!245Use conda-forge channel as the base for our builds
......@@ -15,10 +15,6 @@ stages:
# Build targets
.build_template:
stage: build
before_script:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
artifacts:
expire_in: 1 week
cache:
......@@ -33,7 +29,13 @@ stages:
BUILD_EGG: "true"
tags:
- docker
image: quay.io/condaforge/linux-anvil-comp7
image: quay.io/condaforge/linux-anvil-cos7-x86_64
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
artifacts:
paths:
- dist/*.zip
......@@ -51,6 +53,10 @@ stages:
tags:
- macos
- intel
before_script:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
artifacts:
paths:
- ${CONDA_ROOT}/conda-bld/osx-64/*.conda
......@@ -97,6 +103,9 @@ build_macos_intel_bob_devtools:
# 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
......@@ -141,6 +150,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
......
......@@ -32,6 +32,9 @@ build_linux:
extends: .build_template
tags:
- docker
before_script:
- rm -f /root/.condarc
- rm -rf /root/.conda
image: quay.io/condaforge/linux-anvil-comp7
cache:
key: "linux-cache"
......
......@@ -22,6 +22,8 @@ stages:
- docker
image: quay.io/condaforge/linux-anvil-comp7
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
......
......@@ -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
......
......@@ -21,6 +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"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -21,6 +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"
- 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