Skip to content

Commit

Permalink
[INJI-597] free disk space before sonar-check in push trigger workflow
Browse files Browse the repository at this point in the history
Signed-off-by: KiruthikaJeyashankar <[email protected]>
  • Loading branch information
KiruthikaJeyashankar committed Dec 22, 2023
1 parent 6e66df2 commit 41fc18f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41fc18f

Please sign in to comment.