Skip to content

Commit dcabe10

Browse files
yrodierebeikov
authored andcommitted
Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91)
1 parent 08ac5d3 commit dcabe10

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/ci-prerequisites-atlas.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reclaims disk space and sanitizes user home on Atlas infrastructure
2+
3+
# We use the GitHub cache for the relevant parts of these directories.
4+
# Also, we do not want to keep things like ~/.gradle/build-scan-data.
5+
rm -rf ~/.gradle/
6+
rm -rf ~/.m2/

.github/workflows/atlas.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- uses: actions/checkout@v4
4242
with:
4343
persist-credentials: false
44-
- name: Reclaim Disk Space
45-
run: .github/ci-prerequisites.sh
44+
- name: Reclaim disk space and sanitize user home
45+
run: .github/ci-prerequisites-atlas.sh
4646
- name: Start database
4747
env:
4848
RDBMS: ${{ matrix.rdbms }}

0 commit comments

Comments
 (0)