Commit 251275d4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[ci] do not modify home folders

parent f78bc4ad
Pipeline #55461 passed with stages
in 12 minutes and 46 seconds
......@@ -31,7 +31,6 @@ stages:
- docker
image: quay.io/condaforge/linux-anvil-cos7-x86_64
before_script:
- rm -fv ~/.condarc
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
......@@ -119,9 +118,6 @@ build_macos_intel_bob_devtools:
# Deploy targets
.deploy_template:
stage: deploy
before_script:
- rm -f ~/.condarc
- rm -rf ~/.conda
script:
- python3 ./bob/devtools/bootstrap.py -vv local base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......@@ -166,9 +162,6 @@ pypi:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except:
- branches
before_script:
- 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,6 @@ build_linux:
extends: .build_template
tags:
- docker
before_script:
- rm -fv ~/.condarc
image: quay.io/condaforge/linux-anvil-cos7-x86_64
cache:
key: "linux-cache"
......
......@@ -22,7 +22,6 @@ stages:
- docker
image: quay.io/condaforge/linux-anvil-cos7-x86_64
before_script:
- rm -fv ~/.condarc
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -19,7 +19,6 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -fv ~/.condarc"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -21,7 +21,6 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -fv ~/.condarc"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -21,7 +21,6 @@ stages:
# All stages are prepared the same, with a base set of commands
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -fv ~/.condarc"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment