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

[ci skip] alway rm -v

parent e7281340
No related branches found
No related tags found
No related merge requests found
Pipeline #54507 skipped
...@@ -33,8 +33,8 @@ build_linux: ...@@ -33,8 +33,8 @@ build_linux:
tags: tags:
- docker - docker
before_script: before_script:
- rm -f ~/.condarc - rm -fv ~/.condarc
- rm -rf ~/.conda - rm -rfv ~/.conda
image: quay.io/condaforge/linux-anvil-comp7 image: quay.io/condaforge/linux-anvil-comp7
cache: cache:
key: "linux-cache" key: "linux-cache"
......
...@@ -22,8 +22,8 @@ stages: ...@@ -22,8 +22,8 @@ stages:
- docker - docker
image: quay.io/condaforge/linux-anvil-comp7 image: quay.io/condaforge/linux-anvil-comp7
before_script: before_script:
- rm -f ~/.condarc - rm -fv ~/.condarc
- rm -rf ~/.conda - rm -rfv ~/.conda
- 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,9 +21,9 @@ stages: ...@@ -21,9 +21,9 @@ 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 -f ~/.condarc" - "[ -r ~/.condarc ] && rm -fv ~/.condarc"
# remove ~/.conda if it exists unless it's a mac machine # remove ~/.conda if it exists unless it's a mac machine
- "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rf ~/.conda" - "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rfv ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt - python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh - source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
...@@ -21,9 +21,9 @@ stages: ...@@ -21,9 +21,9 @@ 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 -f ~/.condarc" - "[ -r ~/.condarc ] && rm -fv ~/.condarc"
# remove ~/.conda if it exists unless it's a mac machine # remove ~/.conda if it exists unless it's a mac machine
- "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rf ~/.conda" - "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rfv ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt - python3 bootstrap.py -vv channel bdt
- 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