From 526fa7dcd8adfddf7a69edd7f3240d96c1535370 Mon Sep 17 00:00:00 2001
From: Dmitry Kalinkin <dkalinkin@bnl.gov>
Date: Fri, 13 Sep 2024 18:10:32 -0400
Subject: [PATCH] .gitlab-ci.yml: cleanup disk space on success (#38)

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 60e6a7f1..e38469ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -159,6 +159,9 @@ benchmarks:physics:success:
   variables:
     STATE: "success"
     DESCRIPTION: "Succeeded!"
+  after_script:
+    # Cleanup scratch space
+    - rm -rfv $LOCAL_DATA_PATH
   when: on_success
 
 benchmarks:physics:failure:
-- 
GitLab