Commit eeee613a authored by André Anjos's avatar André Anjos 💬
Browse files

[gitlab-ci/nightlies] Move cleanup to **after** the build (executes even if it fails)

parent 1cd9e861
......@@ -10,28 +10,8 @@ variables:
# Definition of our build pipeline order
stages:
- cleanup
- build
# Periodic cleanup of beta packages
cleanup:
stage: cleanup
tags:
- docker
image: continuumio/conda-concourse-ci
script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- bdt ci clean-betas -vv --dry-run
cache: &test_caches
key: "linux-cache"
paths:
- miniconda.sh
- ${CONDA_ROOT}/pkgs/*.tar.bz2
- ${CONDA_ROOT}/pkgs/urls.txt
- cleanup
# Build targets
......@@ -64,3 +44,24 @@ macosx:
extends: .build_template
tags:
- macosx
# Periodic cleanup of beta packages
cleanup:
stage: cleanup
tags:
- docker
image: continuumio/conda-concourse-ci
when: always
script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- bdt ci clean-betas -vv --dry-run
cache: &test_caches
key: "linux-cache"
paths:
- miniconda.sh
- ${CONDA_ROOT}/pkgs/*.tar.bz2
- ${CONDA_ROOT}/pkgs/urls.txt
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