Skip to content

Commit

Permalink
Fix GH runners memory issue by increasing swapfile (#9596) (#9628)
Browse files Browse the repository at this point in the history
(cherry picked from commit 81c7b97)

Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] authored Aug 30, 2023
1 parent 07ba9e6 commit 945c4b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/check-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Increase swapfile
run: |
sudo swapoff -a
sudo fallocate -l 10G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- name: Run compatibility task
run: ./gradlew checkCompatibility -i | tee $HOME/gradlew-check.out

Expand Down

0 comments on commit 945c4b5

Please sign in to comment.