Skip to content
Snippets Groups Projects
Commit eeee613a authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

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

parent 1cd9e861
No related branches found
No related tags found
1 merge request!100More cleanup improvements
...@@ -10,28 +10,8 @@ variables: ...@@ -10,28 +10,8 @@ variables:
# Definition of our build pipeline order # Definition of our build pipeline order
stages: stages:
- cleanup
- build - build
- cleanup
# 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
# Build targets # Build targets
...@@ -64,3 +44,24 @@ macosx: ...@@ -64,3 +44,24 @@ macosx:
extends: .build_template extends: .build_template
tags: tags:
- macosx - 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
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