From 11d813e0c83c1e81f6b5fba3217f6f174181e0a7 Mon Sep 17 00:00:00 2001 From: Robert Gildein Date: Tue, 20 Aug 2024 09:50:34 +0200 Subject: [PATCH] Clean up runner to free some resource --- .github/workflows/integrate.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 7493c452..705ed879 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -54,6 +54,14 @@ jobs: - integration-tls-provider - integration-tls-secret steps: + # Ideally we'd use self-hosted runners, but this effort is still not stable + # This action will remove unused software (dotnet, haskell, android libs, codeql, + # and docker images) from the GH runner. + # This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their + # runners + - name: Maximise GH runner space + uses: jlumbroso/free-disk-space@v1.3.1 + - name: Check out repo uses: actions/checkout@v4 @@ -71,7 +79,7 @@ jobs: juju add-model test-istio tox -e ${{ matrix.integration-types }} -- --model test-istio timeout-minutes: 80 - + - name: Setup Debug Artifact Collection run: mkdir tmp if: failure() @@ -112,6 +120,10 @@ jobs: name: test-run-artifacts path: tmp + - name: Setup upterm session + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() && runner.debug }} + integration-observability: name: Observability Integration Test runs-on: ubuntu-20.04