From 432eeec74e3e3277c0080a2e95d1d4c4d2b5e8bf Mon Sep 17 00:00:00 2001 From: Robert Gildein Date: Tue, 20 Aug 2024 09:50:34 +0200 Subject: [PATCH] testing the runner --- .github/workflows/integrate.yaml | 70 +++++++++++++++++++------------- 1 file changed, 41 insertions(+), 29 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 7493c452..c89e527b 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -47,13 +47,21 @@ jobs: strategy: matrix: microk8s-versions: - - 1.27-strict/stable + # - 1.27-strict/stable - 1.30-strict/stable integration-types: - integration - - integration-tls-provider - - integration-tls-secret + # - 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,31 +120,35 @@ jobs: name: test-run-artifacts path: tmp - integration-observability: - name: Observability Integration Test - runs-on: ubuntu-20.04 - strategy: - matrix: - microk8s-versions: - - 1.25-strict/stable - - 1.26-strict/stable - steps: - - name: Check out repo - uses: actions/checkout@v4 + - name: Setup upterm session + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() && runner.debug }} - - name: Setup operator environment - uses: charmed-kubernetes/actions-operator@main - with: - provider: microk8s - channel: ${{ matrix.microk8s-versions }} - microk8s-addons: "dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49" - juju-channel: 3.4/stable - charmcraft-channel: latest/candidate + # integration-observability: + # name: Observability Integration Test + # runs-on: ubuntu-20.04 + # strategy: + # matrix: + # microk8s-versions: + # - 1.25-strict/stable + # - 1.26-strict/stable + # steps: + # - name: Check out repo + # uses: actions/checkout@v4 + + # - name: Setup operator environment + # uses: charmed-kubernetes/actions-operator@main + # with: + # provider: microk8s + # channel: ${{ matrix.microk8s-versions }} + # microk8s-addons: "dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49" + # juju-channel: 3.4/stable + # charmcraft-channel: latest/candidate - - name: Run observability integration tests - run: | - juju add-model cos-test - tox -vve cos-integration -- --model cos-test + # - name: Run observability integration tests + # run: | + # juju add-model cos-test + # tox -vve cos-integration -- --model cos-test - - run: kubectl get pod/prometheus-k8s-0 -n knative-test -o=jsonpath='{.status}' - if: failure() + # - run: kubectl get pod/prometheus-k8s-0 -n knative-test -o=jsonpath='{.status}' + # if: failure()