Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
f62c3513
Commit
f62c3513
authored
May 31, 2018
by
eric pellegrini
Browse files
Added clean stage in gitlab YAML
parent
e102d3e4
Pipeline
#3782
canceled with stages
in 2 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f62c3513
stages
:
-
ci
-
deploy
-
clean
############################
# ubuntu trusty pipeline
...
...
@@ -198,3 +199,15 @@ deploy:windows:
-
sci
-
windows-10
clean_docker
:
stage
:
clean
when
:
always
script
:
-
docker rm `docker ps -q -f "status=exited"`
-
docker images -a --format "{{.Repository}}:{{.Tag}}" | grep mdanse | xargs docker rmi -f
-
docker rmi `docker images -q -f "dangling=true"`
tags
:
-
docker
-
sci
-
ubuntu
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment