25
25
uses : actions/checkout@v2
26
26
27
27
-
uses :
engineerd/[email protected]
28
+ with :
29
+ version : " v0.11.1"
30
+
28
31
- name : platform setup
29
32
run : |
30
33
export ITER8=$(pwd)
41
44
run : |
42
45
export ITER8=$(pwd)
43
46
sed -i "s/6000s/120s/g" $ITER8/samples/knative/quickstart/fortio.yaml
44
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
47
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
45
48
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/quickstart/fortio.yaml | kubectl apply -f -
46
49
47
50
# Wait for Fortio to be ready
@@ -65,14 +68,17 @@ jobs:
65
68
export EXPERIMENT=quickstart-exp
66
69
source $ITER8/samples/knative/quickstart/check.sh
67
70
68
- canary :
69
- name : canary experiment
71
+ slovalidation :
72
+ name : slo validation experiment
70
73
runs-on : ubuntu-latest
71
74
steps :
72
75
- name : Checkout repository
73
76
uses : actions/checkout@v2
74
77
75
78
-
uses :
engineerd/[email protected]
79
+ with :
80
+ version : " v0.11.1"
81
+
76
82
- name : platform setup
77
83
run : |
78
84
export ITER8=$(pwd)
89
95
run : |
90
96
export ITER8=$(pwd)
91
97
sed -i "s/6000s/120s/g" $ITER8/samples/knative/quickstart/fortio.yaml
92
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
98
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
93
99
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/quickstart/fortio.yaml | kubectl apply -f -
94
100
95
101
# Wait for Fortio to be ready
@@ -100,17 +106,17 @@ jobs:
100
106
kubectl apply -f $ITER8/samples/knative/quickstart/metrics.yaml
101
107
102
108
# Starting the experiment
103
- kubectl apply -f $ITER8/samples/knative/canary /experiment.yaml
109
+ kubectl apply -f $ITER8/samples/knative/slovalidation /experiment.yaml
104
110
105
111
- name : Sleep until end of experiment
106
112
run : |
107
113
sleep 150.0
108
- kubectl get experiment canary -exp -o yaml
114
+ kubectl get experiment slovalidation -exp -o yaml
109
115
110
116
- name : Check if experiment is complete and successful
111
117
run : |
112
118
export ITER8=$(pwd)
113
- source $ITER8/samples/knative/canary /check.sh
119
+ source $ITER8/samples/knative/slovalidation /check.sh
114
120
115
121
conformance :
116
122
name : conformance experiment
@@ -120,6 +126,8 @@ jobs:
120
126
uses : actions/checkout@v2
121
127
122
128
-
uses :
engineerd/[email protected]
129
+ with :
130
+ version : " v0.11.1"
123
131
124
132
- name : platform setup
125
133
run : |
@@ -136,7 +144,7 @@ jobs:
136
144
run : |
137
145
export ITER8=$(pwd)
138
146
sed -i "s/6000s/120s/g" $ITER8/samples/knative/conformance/fortio.yaml
139
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
147
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
140
148
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/conformance/fortio.yaml | kubectl apply -f -
141
149
142
150
# Wait for Fortio to be ready
@@ -170,6 +178,8 @@ jobs:
170
178
uses : actions/checkout@v2
171
179
172
180
-
uses :
engineerd/[email protected]
181
+ with :
182
+ version : " v0.11.1"
173
183
174
184
- name : platform setup
175
185
run : |
@@ -187,15 +197,15 @@ jobs:
187
197
run : |
188
198
export ITER8=$(pwd)
189
199
helm install --repo https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/canaryprogressive/helm-repo sample-app sample-app --namespace=default
190
- kubectl wait ksvc/sample-app --for condition=Ready --timeout=240s
200
+ kubectl wait ksvc/sample-app --for= condition=Ready --timeout=240s
191
201
helm upgrade --install --repo https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/canaryprogressive/helm-repo sample-app sample-app --values=https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/canaryprogressive/experimental-values.yaml --namespace=default
192
202
kubectl wait --for=condition=Ready ksvc/sample-app --timeout=240s
193
203
194
204
- name : Generate requests
195
205
run : |
196
206
export ITER8=$(pwd)
197
207
sed -i "s/6000s/120s/g" $ITER8/samples/knative/canaryprogressive/fortio.yaml
198
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
208
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
199
209
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/canaryprogressive/fortio.yaml | kubectl apply -f -
200
210
201
211
# Wait for Fortio to be ready
@@ -230,6 +240,9 @@ jobs:
230
240
uses : actions/checkout@v2
231
241
232
242
-
uses :
engineerd/[email protected]
243
+ with :
244
+ version : " v0.11.1"
245
+
233
246
- name : platform setup
234
247
run : |
235
248
export ITER8=$(pwd)
@@ -246,7 +259,7 @@ jobs:
246
259
run : |
247
260
export ITER8=$(pwd)
248
261
sed -i "s/6000s/120s/g" $ITER8/samples/knative/quickstart/fortio.yaml
249
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
262
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
250
263
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/quickstart/fortio.yaml | kubectl apply -f -
251
264
252
265
# Wait for Fortio to be ready
@@ -278,6 +291,8 @@ jobs:
278
291
uses : actions/checkout@v2
279
292
280
293
-
uses :
engineerd/[email protected]
294
+ with :
295
+ version : " v0.11.1"
281
296
282
297
- name : platform setup
283
298
run : |
@@ -288,15 +303,15 @@ jobs:
288
303
run : |
289
304
export ITER8=$(pwd)
290
305
kustomize build $ITER8/samples/knative/canaryfixedsplit/baseline | kubectl apply -f -
291
- kubectl wait ksvc/sample-app --for condition=Ready --timeout=240s
306
+ kubectl wait ksvc/sample-app --for= condition=Ready --timeout=240s
292
307
kustomize build $ITER8/samples/knative/canaryfixedsplit/experimentalservice | kubectl apply -f -
293
308
294
309
- name : Generate requests
295
310
run : |
296
311
export ITER8=$(pwd)
297
312
kubectl wait --for=condition=Ready ksvc/sample-app --timeout=240s
298
313
sed -i "s/6000s/120s/g" $ITER8/samples/knative/canaryfixedsplit/fortio.yaml
299
- URL_VALUE=$(kubectl get ksvc sample-app -o json | jq .status.address.url)
314
+ URL_VALUE=$(kubectl get ksvc sample-app -o json | jq " .status.address.url" )
300
315
sed "s+URL_VALUE+${URL_VALUE}+g" $ITER8/samples/knative/canaryfixedsplit/fortio.yaml | kubectl apply -f -
301
316
302
317
# Wait for Fortio to be ready
@@ -330,6 +345,8 @@ jobs:
330
345
uses : actions/checkout@v2
331
346
332
347
-
uses :
engineerd/[email protected]
348
+ with :
349
+ version : " v0.11.1"
333
350
334
351
- name : platform setup
335
352
run : |
0 commit comments