From c82080e1a71d289f797ee75c70755d3a6901c52d Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 14 Apr 2021 12:40:48 +0300 Subject: [PATCH] Pull request: clear working directory after each build to prevent agent's disk bloat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge in DNS/adguard-home from clean-working-directory to master Squashed commit of the following: commit cf5908c8bff984544f6d6fcad5bcd0b8e2109225 Author: Константин Замякин Date: Wed Apr 14 02:06:20 2021 +0300 clear working directory after each build to prevent agent's disk bloat --- bamboo-specs/release.yaml | 10 ++++++++++ bamboo-specs/test.yaml | 2 ++ 2 files changed, 12 insertions(+) diff --git a/bamboo-specs/release.yaml b/bamboo-specs/release.yaml index 97829049..354c03b9 100644 --- a/bamboo-specs/release.yaml +++ b/bamboo-specs/release.yaml @@ -47,6 +47,8 @@ '${system.GO_CACHE_DIR}': '${bamboo.cacheGo}' '${system.GO_PKG_CACHE_DIR}': '${bamboo.cacheGoPkg}' 'key': 'MR' + 'other': + 'clean-working-dir': true 'tasks': - 'checkout': 'force-clean-build': true @@ -82,6 +84,8 @@ 'Make and publish docker': 'key': 'MPD' + 'other': + 'clean-working-dir': true 'tasks': - 'checkout': 'force-clean-build': true @@ -129,6 +133,8 @@ 'Publish to static.adguard.com': 'key': 'PUB' + 'other': + 'clean-working-dir': true 'tasks': - 'clean' - 'checkout': @@ -156,6 +162,8 @@ 'docker': 'image': '${bamboo.dockerGo}' 'key': 'PTS' + 'other': + 'clean-working-dir': true 'tasks': - 'clean' - 'checkout': @@ -185,6 +193,8 @@ 'Publish to Github Releases': 'key': 'PTGR' + 'other': + 'clean-working-dir': true 'tasks': - 'clean' - 'checkout': diff --git a/bamboo-specs/test.yaml b/bamboo-specs/test.yaml index 6154d7a2..23d9183f 100644 --- a/bamboo-specs/test.yaml +++ b/bamboo-specs/test.yaml @@ -22,6 +22,8 @@ '${system.GO_CACHE_DIR}': '${bamboo.cacheGo}' '${system.GO_PKG_CACHE_DIR}': '${bamboo.cacheGoPkg}' 'key': 'TEST' + 'other': + 'clean-working-dir': true 'tasks': - 'checkout': 'force-clean-build': true