Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
eeee613a
Commit
eeee613a
authored
5 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[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
!100
More cleanup improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/data/gitlab-ci/nightlies.yaml
+22
-21
22 additions, 21 deletions
bob/devtools/data/gitlab-ci/nightlies.yaml
with
22 additions
and
21 deletions
bob/devtools/data/gitlab-ci/nightlies.yaml
+
22
−
21
View file @
eeee613a
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment