Skip to content

Commit d9c91fe

Browse files
authored
Merge pull request #531 from canonical/kf-5656-dev-branch
fix(ci): Merge kf-5656-dev-branch in track/1.17
2 parents 3c56afa + e7c19b4 commit d9c91fe

File tree

7 files changed

+1396
-955
lines changed

7 files changed

+1396
-955
lines changed

.github/workflows/integrate.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ jobs:
5454
- integration-tls-provider
5555
- integration-tls-secret
5656
steps:
57+
# Ideally we'd use self-hosted runners, but this effort is still not stable
58+
# This action will remove unused software (dotnet, haskell, android libs, codeql,
59+
# and docker images) from the GH runner.
60+
# This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their
61+
# runners
62+
- name: Maximise GH runner space
63+
uses: jlumbroso/free-disk-space@v1.3.1
64+
5765
- name: Check out repo
5866
uses: actions/checkout@v3
5967

@@ -64,31 +72,31 @@ jobs:
6472
channel: ${{ matrix.microk8s-versions }}
6573
microk8s-addons: "dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49"
6674
juju-channel: 3.4/stable
67-
charmcraft-channel: latest/edge
68-
75+
charmcraft-channel: latest/candidate
76+
6977
- name: Run integration tests
7078
run: |
7179
juju add-model test-istio
7280
tox -e ${{ matrix.integration-types }} -- --model test-istio
7381
timeout-minutes: 80
74-
82+
7583
- name: Setup Debug Artifact Collection
7684
run: mkdir tmp
7785
if: failure()
78-
86+
7987
- name: Collect charmcraft logs
8088
if: failure()
8189
run: |
8290
cat /home/runner/.local/state/charmcraft/log/charmcraft-*.log | tee tmp/charmcraft.log
83-
91+
8492
- name: Collect Juju status
8593
if: failure()
8694
run: juju status | tee tmp/juju-status.txt
87-
95+
8896
- name: Collect Juju log
8997
if: failure()
9098
run: juju debug-log --replay --no-tail | tee tmp/juju-status.txt
91-
99+
92100
- name: Collect Kube status
93101
if: failure()
94102
run: |
@@ -98,13 +106,13 @@ jobs:
98106
kubectl describe deployments -A | tee tmp/kube-deployments.txt
99107
kubectl describe replicasets -A | tee tmp/kubectl-replicasets.txt
100108
kubectl exec -n test-istio istio-pilot-0 --container charm -- agents/unit-istio-pilot-0/charm/istioctl analyze -n test-istio | tee tmp/istioctl-analyze.txt
101-
109+
102110
- name: Collect Kube logs
103111
if: failure()
104112
run: |
105113
kubectl logs -n test-istio --tail 1000 -lapp.kubernetes.io/name=istio-pilot -c charm | tee tmp/istio-pilot.log
106114
kubectl logs -n test-istio --tail 1000 -lapp.kubernetes.io/name=istio-ingressgateway-operator -c charm | tee tmp/istio-ingressgateway-operator.log
107-
115+
108116
- name: Upload debug artifacts
109117
if: failure()
110118
uses: actions/upload-artifact@v3
@@ -131,8 +139,8 @@ jobs:
131139
channel: ${{ matrix.microk8s-versions }}
132140
microk8s-addons: "dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49"
133141
juju-channel: 3.4/stable
134-
charmcraft-channel: latest/edge
135-
142+
charmcraft-channel: latest/candidate
143+
136144
- name: Run observability integration tests
137145
run: |
138146
juju add-model cos-test

0 commit comments

Comments
 (0)