54
54
- integration-tls-provider
55
55
- integration-tls-secret
56
56
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
+
57
65
- name : Check out repo
58
66
uses : actions/checkout@v3
59
67
@@ -64,31 +72,31 @@ jobs:
64
72
channel : ${{ matrix.microk8s-versions }}
65
73
microk8s-addons : " dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49"
66
74
juju-channel : 3.4/stable
67
- charmcraft-channel : latest/edge
68
-
75
+ charmcraft-channel : latest/candidate
76
+
69
77
- name : Run integration tests
70
78
run : |
71
79
juju add-model test-istio
72
80
tox -e ${{ matrix.integration-types }} -- --model test-istio
73
81
timeout-minutes : 80
74
-
82
+
75
83
- name : Setup Debug Artifact Collection
76
84
run : mkdir tmp
77
85
if : failure()
78
-
86
+
79
87
- name : Collect charmcraft logs
80
88
if : failure()
81
89
run : |
82
90
cat /home/runner/.local/state/charmcraft/log/charmcraft-*.log | tee tmp/charmcraft.log
83
-
91
+
84
92
- name : Collect Juju status
85
93
if : failure()
86
94
run : juju status | tee tmp/juju-status.txt
87
-
95
+
88
96
- name : Collect Juju log
89
97
if : failure()
90
98
run : juju debug-log --replay --no-tail | tee tmp/juju-status.txt
91
-
99
+
92
100
- name : Collect Kube status
93
101
if : failure()
94
102
run : |
@@ -98,13 +106,13 @@ jobs:
98
106
kubectl describe deployments -A | tee tmp/kube-deployments.txt
99
107
kubectl describe replicasets -A | tee tmp/kubectl-replicasets.txt
100
108
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
+
102
110
- name : Collect Kube logs
103
111
if : failure()
104
112
run : |
105
113
kubectl logs -n test-istio --tail 1000 -lapp.kubernetes.io/name=istio-pilot -c charm | tee tmp/istio-pilot.log
106
114
kubectl logs -n test-istio --tail 1000 -lapp.kubernetes.io/name=istio-ingressgateway-operator -c charm | tee tmp/istio-ingressgateway-operator.log
107
-
115
+
108
116
- name : Upload debug artifacts
109
117
if : failure()
110
118
uses : actions/upload-artifact@v3
@@ -131,8 +139,8 @@ jobs:
131
139
channel : ${{ matrix.microk8s-versions }}
132
140
microk8s-addons : " dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49"
133
141
juju-channel : 3.4/stable
134
- charmcraft-channel : latest/edge
135
-
142
+ charmcraft-channel : latest/candidate
143
+
136
144
- name : Run observability integration tests
137
145
run : |
138
146
juju add-model cos-test
0 commit comments