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

[ci] do not modify home folders

parent f78bc4ad
No related branches found
No related tags found
No related merge requests found
Pipeline #55461 passed
...@@ -31,7 +31,6 @@ stages: ...@@ -31,7 +31,6 @@ 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 -fv ~/.condarc
- 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
...@@ -119,9 +118,6 @@ build_macos_intel_bob_devtools: ...@@ -119,9 +118,6 @@ build_macos_intel_bob_devtools:
# Deploy targets # Deploy targets
.deploy_template: .deploy_template:
stage: deploy stage: deploy
before_script:
- rm -f ~/.condarc
- 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
...@@ -166,9 +162,6 @@ pypi: ...@@ -166,9 +162,6 @@ pypi:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags) - /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except: except:
- branches - branches
before_script:
- rm -f ~/.condarc
- 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,6 @@ build_linux: ...@@ -33,8 +33,6 @@ build_linux:
extends: .build_template extends: .build_template
tags: tags:
- docker - docker
before_script:
- rm -fv ~/.condarc
image: quay.io/condaforge/linux-anvil-cos7-x86_64 image: quay.io/condaforge/linux-anvil-cos7-x86_64
cache: cache:
key: "linux-cache" key: "linux-cache"
......
...@@ -22,7 +22,6 @@ stages: ...@@ -22,7 +22,6 @@ 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 -fv ~/.condarc
- 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,7 +19,6 @@ stages: ...@@ -19,7 +19,6 @@ 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 ~/.condarc ] && rm -fv ~/.condarc"
- 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,7 +21,6 @@ stages: ...@@ -21,7 +21,6 @@ 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 ~/.condarc ] && rm -fv ~/.condarc"
- 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,7 +21,6 @@ stages: ...@@ -21,7 +21,6 @@ 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 ~/.condarc ] && rm -fv ~/.condarc"
- 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
......
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