Commit da6245dd authored by Magnus Westergaard's avatar Magnus Westergaard
Browse files

DEICH-4373: Free up some disk space as part of the nightly pipeline.

parent 8741aa8e
......@@ -27,6 +27,7 @@
- push
- deploy-test
- sanity
- docker-cleanup
- deploy-stage
- deploy-prod
......@@ -468,6 +469,20 @@
- when: manual
allow_failure: true # TODO: move to the default clause of the if block if cypress 4 behaves (or we downgrade to 3)
zork-cleanup:
stage: docker-cleanup
script:
- df -h /
- docker system df
- docker image prune -f # TODO: prune cache, volumes if necessary
- docker system df
- df -h /
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- when: manual
allow_failure: true
#
## Push stages here
.push:
......
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