diff --git a/.github/actions/maximize-build-space b/.github/actions/maximize-build-space deleted file mode 160000 index c28619d8999a..000000000000 --- a/.github/actions/maximize-build-space +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c28619d8999a147d5e09c1199f84ff6af6ad5794 diff --git a/.github/workflows/api-test.yml b/.github/workflows/api-test.yml index b6878086a1fe..b1668aad9169 100644 --- a/.github/workflows/api-test.yml +++ b/.github/workflows/api-test.yml @@ -51,19 +51,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Maximize runner space - uses: ./.github/actions/maximize-build-space - with: - root-reserve-mb: 28672 - temp-reserve-mb: 10240 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' + - run: df -h + - name: "node-cleanup" + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + - run: df -h - uses: actions/checkout@v4 with: submodules: true @@ -152,6 +146,8 @@ jobs: - name: Load Docker Images run: | docker load -i /tmp/standalone-image.tar + - name: df -h + run: df -h - name: Run Test run: | ./mvnw -B -f dolphinscheduler-api-test/pom.xml -am \ diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 8c8b66965fe4..46fb46e9f3f4 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -56,19 +56,6 @@ jobs: java: [ '8', '11' ] timeout-minutes: 30 steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Maximize runner space - uses: ./.github/actions/maximize-build-space - with: - root-reserve-mb: 28672 - temp-reserve-mb: 10240 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' - uses: actions/checkout@v4 with: submodules: true @@ -86,6 +73,7 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-backend restore-keys: ${{ runner.os }}-maven- + - run: df -h - name: Build and Package on ${{ matrix.java }} run: | ./mvnw -B clean install \ @@ -119,6 +107,13 @@ jobs: - name: cluster-test-postgresql-with-postgresql-registry script: .github/workflows/cluster-test/postgresql_with_postgresql_registry/start-job.sh steps: + - run: df -h + - name: "node-cleanup" + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + - run: df -h - uses: actions/checkout@v4 with: submodules: true diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml index 3d06a8b01396..47c439de9782 100644 --- a/.github/workflows/e2e-k8s.yml +++ b/.github/workflows/e2e-k8s.yml @@ -51,22 +51,17 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 40 steps: + - run: df -h + - name: "node-cleanup" + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + - run: df -h - uses: actions/checkout@v4 with: submodules: true - - name: Maximize runner space - uses: ./.github/actions/maximize-build-space - with: - root-reserve-mb: 28672 - temp-reserve-mb: 10240 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' - - uses: actions/checkout@v4 - with: - submodules: true + - run: df -h - name: Build Image run: | ./mvnw -B clean package \ diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 90c8b595d143..3beaa1a53ce5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -53,19 +53,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Maximize runner space - uses: ./.github/actions/maximize-build-space - with: - root-reserve-mb: 28672 - temp-reserve-mb: 10240 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' - uses: actions/checkout@v4 with: submodules: true @@ -150,19 +137,13 @@ jobs: env: RECORDING_PATH: /tmp/recording-${{ matrix.case.name }} steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Maximize runner space - uses: ./.github/actions/maximize-build-space - with: - root-reserve-mb: 28672 - temp-reserve-mb: 10240 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' + - run: df -h + - name: "node-cleanup" + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + - run: df -h - uses: actions/checkout@v4 with: submodules: true @@ -189,6 +170,7 @@ jobs: - name: Load Docker Images run: | docker load -i /tmp/standalone-image.tar + - run: df -h - name: Run Test run: | ./mvnw -B -f dolphinscheduler-e2e/pom.xml -am \ diff --git a/.gitmodules b/.gitmodules index 5569298c3258..0467f266493d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,6 +28,3 @@ [submodule ".github/actions/workflow-telemetry-action"] path = .github/actions/workflow-telemetry-action url = https://github.com/catchpoint/workflow-telemetry-action -[submodule ".github/actions/maximize-build-space"] - path = .github/actions/maximize-build-space - url = https://github.com/easimon/maximize-build-space