osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ci/+/37520?usp=email )
Change subject: jobs/osmocom-build-tags…: fix workspace clean
......................................................................
jobs/osmocom-build-tags…: fix workspace clean
As this job tries to archive the build logs after running, don't remove
the entire workspace. Instead remove the paths that take up the most
space, which are the one with the git clones and build artifacts (_deps)
as well as the one with the temporary installation dirs (_temp/_inst*).
Fixes: b20e8e8b ("jobs/various: clean workspace on success")
Change-Id: Ied86ba80b38a9b10a7a96631e6dedee9f3762c3b
---
M jobs/osmocom-build-tags-against-master.yml
1 file changed, 19 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/20/37520/1
diff --git a/jobs/osmocom-build-tags-against-master.yml
b/jobs/osmocom-build-tags-against-master.yml
index 8ae4a63..b242103 100644
--- a/jobs/osmocom-build-tags-against-master.yml
+++ b/jobs/osmocom-build-tags-against-master.yml
@@ -33,8 +33,10 @@
"$USER/debian-bookworm-build" \
scripts/osmocom-build-old-tags-against-master.sh
- # Remove workspace on success to free up space
- rm -rf "$WORKSPACE"
+ # Remove git repos and build results on success to free up space
+ # Logs are kept
+ rm -rf "$WORKSPACE"/_deps
+ rm -rf "$WORKSPACE"/_temp/_inst*
scm:
- git:
branches:
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/37520?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ied86ba80b38a9b10a7a96631e6dedee9f3762c3b
Gerrit-Change-Number: 37520
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange