From 41fc18f1f15c5a58a6b89fbf500ec252b39a6dd5 Mon Sep 17 00:00:00 2001 From: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:42:05 +0530 Subject: [PATCH] [INJI-597] free disk space before sonar-check in push trigger workflow Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --- .github/workflows/push-triggers.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/push-triggers.yml b/.github/workflows/push-triggers.yml index 9fc26d50cb..82af4c9eb3 100644 --- a/.github/workflows/push-triggers.yml +++ b/.github/workflows/push-triggers.yml @@ -38,6 +38,15 @@ jobs: IOS_SERVICE_LOCATION: 'ios' SCRIPT_NAME: "fastlane ios_app_build" + free-disk-space: + run: + df -h + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi $(docker image ls -aq) + df -h + sonar-check: if: ${{ github.event_name != 'pull_request' }} uses: mosip/kattu/.github/workflows/gradlew-sonar-analysis.yml@master