Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
eeee613a
Commit
eeee613a
authored
Aug 21, 2019
by
André Anjos
💬
Browse files
[gitlab-ci/nightlies] Move cleanup to **after** the build (executes even if it fails)
parent
1cd9e861
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/devtools/data/gitlab-ci/nightlies.yaml
View file @
eeee613a
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment