-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding free disk space script * Added lines for free disk space * Take 2 Adding to each job instead of job_controls * Added fake space as to include ci-run-unit in this commit message * Added fake space as to include ci-run-unit in this commit message and to resolve syntax error * Added fake space as to include ci-run-unit in this commit message and to resolve syntax error * Copied and pasted from METplus to resolve syntax error ci-run-unit * Added extra space to trigger tests ci-run-unit * Added extra space to trigger tests and attempted to fix all syntax error ci-run-unit * Removing free disk space from check for differences * Added bogus space ci-run-unit * Removing unnecessary spaces
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#! /bin/bash | ||
|
||
echo Checking disk usage before cleanup | ||
df -h | ||
|
||
printf "\nRemoving files as suggested by https://github.com/actions/virtual-environments/issues/2840" | ||
|
||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
|
||
printf "\nChecking disk usage after cleanup" | ||
|
||
df -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters