Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91562
)
This commit is contained in:
parent
cf6ac4a67e
commit
61bf908a1c
|
@ -0,0 +1,6 @@
|
|||
# Reclaims disk space and sanitizes user home on Atlas infrastructure
|
||||
|
||||
# We use the GitHub cache for the relevant parts of these directories.
|
||||
# Also, we do not want to keep things like ~/.gradle/build-scan-data.
|
||||
rm -rf ~/.gradle/
|
||||
rm -rf ~/.m2/
|
|
@ -98,7 +98,7 @@ jobs:
|
|||
if: "${{ github.event_name == 'pull_request' && !cancelled() }}"
|
||||
with:
|
||||
name: build-scan-data-${{ matrix.rdbms }}
|
||||
path: build-scan-data.tgz
|
||||
path: ~/.gradle/build-scan-data
|
||||
|
||||
- name: Upload test reports (if Gradle failed)
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -130,8 +130,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Reclaim Disk Space
|
||||
run: .github/ci-prerequisites.sh
|
||||
- name: Reclaim disk space and sanitize user home
|
||||
run: .github/ci-prerequisites-atlas.sh
|
||||
- name: Start database
|
||||
env:
|
||||
RDBMS: ${{ matrix.rdbms }}
|
||||
|
|
Loading…
Reference in New Issue