* [PATCH] CI: Add repo dir to disk usage and ability to purge everything
@ 2021-04-20 17:49 Jon Mason
0 siblings, 0 replies; only message in thread
From: Jon Mason @ 2021-04-20 17:49 UTC (permalink / raw)
To: meta-arm
Add the newly added repo dir to the disk usage calculation and add the
ability to remove each of the persistent directories.
Change-Id: Ib922ad42c62efdeccf01851ac751742ed67748ae
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
.gitlab-ci.yml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fec2890..d0aa166 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -156,7 +156,21 @@ usage:
stage: prep
when: manual
script:
- - du -h -s $DL_DIR $SSTATE_DIR
+ - du -h -s $DL_DIR $SSTATE_DIR $KAS_REPO_REF_DIR
+
+delete-dl-dir:
+ extends: .setup
+ stage: prep
+ when: manual
+ script:
+ - rm -rf $DL_DIR/*
+
+delete-repo-dir:
+ extends: .setup
+ stage: prep
+ when: manual
+ script:
+ - rm -rf $KAS_REPO_REF_DIR/*
# Wipe out old sstate
prune-sstate:
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-20 17:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 17:49 [PATCH] CI: Add repo dir to disk usage and ability to purge everything Jon Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).