-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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() |