Skip to content

Commit

Permalink
Give 50GB to root
Browse files Browse the repository at this point in the history
  • Loading branch information
matbun committed Nov 6, 2024
1 parent d498e93 commit 99b79a2
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
# - name: Delete huge unnecessary tools folder
# run: |
# rm -rf /opt/hostedtoolcache &&
# curl -fsSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh | bash
- name: Maximize build disk space
uses: easimon/maximize-build-space@v10
with:
root-reserve-mb: 30720 # Reserve 30 GBs for docker cache on / location
root-reserve-mb: 50000 # Reserve 30 GBs for docker cache on / location
remove-dotnet: true
remove-android: true
remove-haskell: true
Expand All @@ -27,8 +23,18 @@ jobs:
- name: Get Repo Owner
id: get_repo_owner
run: echo name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT
- name: Log in to registry
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
# - name: Log in to registry
# run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
# - name: Delete huge unnecessary tools folder and large packages
# run: |
# rm -rf /opt/hostedtoolcache &&
# curl -fsSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh | bash
- name: Integration Test
uses: dagger/dagger-for-github@v6
with:
Expand Down

0 comments on commit 99b79a2

Please sign in to comment.