Skip to content

Commit

Permalink
testing the runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Aug 20, 2024
1 parent a3440a5 commit 432eeec
Showing 1 changed file with 41 additions and 29 deletions.
70 changes: 41 additions & 29 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

- name: Check out repo
uses: actions/checkout@v4

Expand All @@ -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()
Expand Down Expand Up @@ -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()

0 comments on commit 432eeec

Please sign in to comment.