Skip to content

Commit 019f6f8

Browse files
authored
Added istio releases 1.7.8, 1.8.4, 1.9.1 (#35)
1 parent dee024a commit 019f6f8

File tree

3 files changed

+109
-15
lines changed

3 files changed

+109
-15
lines changed

Diff for: download.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# originally copied from https://wasmtime.dev/install.sh with some modifications
44

5-
GETISTIO_LATEST_VERSION="1.0.4"
5+
GETISTIO_LATEST_VERSION="1.0.5"
66

77
if [[ -z "${GETISTIO_VERSION}" ]]; then
88
VERSION="${GETISTIO_LATEST_VERSION}"

Diff for: e2e/e2e_test.go

+20-14
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func update(t *testing.T) {
147147
cmd.Env = env
148148
require.NoError(t, cmd.Run(), buf.String())
149149
actual := buf.String()
150-
assert.Contains(t, actual, "getistio successfully updated from dev to 1.0.4!")
150+
assert.Contains(t, actual, "getistio successfully updated from dev to 1.0.5!")
151151
t.Log(actual)
152152
}
153153

@@ -202,15 +202,21 @@ func list(t *testing.T) {
202202
require.NoError(t, cmd.Run())
203203

204204
exp := `ISTIO VERSION FLAVOR FLAVOR VERSION K8S VERSIONS
205-
*1.9.0 tetrate 0 1.17,1.18,1.19,1.20
205+
*1.9.1 tetrate 0 1.17,1.18,1.19,1.20
206+
1.9.1 istio 0 1.17,1.18,1.19,1.20
207+
1.9.0 tetrate 0 1.17,1.18,1.19,1.20
206208
1.9.0 tetratefips 1 1.17,1.18,1.19,1.20
207209
1.9.0 istio 0 1.17,1.18,1.19,1.20
210+
1.8.4 tetrate 0 1.16,1.17,1.18,1.19
211+
1.8.4 istio 0 1.16,1.17,1.18,1.19
208212
1.8.3 tetrate 0 1.16,1.17,1.18,1.19
209213
1.8.3 tetratefips 1 1.16,1.17,1.18,1.19
210214
1.8.3 istio 0 1.16,1.17,1.18,1.19
211215
1.8.2 tetrate 0 1.16,1.17,1.18
212216
1.8.1 tetrate 0 1.16,1.17,1.18
213217
1.8.0 tetrate 0 1.16,1.17,1.18
218+
1.7.8 tetrate 0 1.16,1.17,1.18
219+
1.7.8 istio 0 1.16,1.17,1.18
214220
1.7.7 tetrate 0 1.16,1.17,1.18
215221
1.7.6 tetrate 0 1.16,1.17,1.18
216222
1.7.5 tetrate 0 1.16,1.17,1.18
@@ -222,7 +228,7 @@ func list(t *testing.T) {
222228
func fetch(t *testing.T) {
223229
defer func() {
224230
cmd := exec.Command("./getistio", "switch",
225-
"--version", "1.9.0", "--flavor", "tetrate", "--flavor-version=0",
231+
"--version", "1.9.1", "--flavor", "tetrate", "--flavor-version=0",
226232
)
227233
cmd.Stdout = os.Stdout
228234
cmd.Stderr = os.Stderr
@@ -333,7 +339,7 @@ func prune(t *testing.T) {
333339
FlavorVersion: 0,
334340
},
335341
{
336-
Version: "1.9.0",
342+
Version: "1.9.1",
337343
Flavor: "tetrate",
338344
FlavorVersion: 0,
339345
},
@@ -379,14 +385,14 @@ func show(t *testing.T) {
379385
require.NoError(t, cmd.Run())
380386
exp := `1.7.5-tetrate-v0
381387
1.8.1-tetrate-v0
382-
1.9.0-tetrate-v0 (Active)`
388+
1.9.1-tetrate-v0 (Active)`
383389
assert.Contains(t, buf.String(), exp)
384390
fmt.Println(buf.String())
385391
}
386392

387393
func switchTest(t *testing.T) {
388394
t.Run("full", func(t *testing.T) {
389-
for _, v := range []string{"1.8.1", "1.9.0"} {
395+
for _, v := range []string{"1.8.1", "1.9.1"} {
390396
{
391397
cmd := exec.Command("./getistio", "switch",
392398
"--version", v, "--flavor", "tetrate", "--flavor-version=0",
@@ -422,7 +428,7 @@ func switchTest(t *testing.T) {
422428
assert.Contains(t, buf.String(), "1.8.1-tetrate-v0")
423429

424430
cmd = exec.Command("./getistio", "switch",
425-
"--name", "1.9.0-tetrate-v0",
431+
"--name", "1.9.1-tetrate-v0",
426432
)
427433
cmd.Stdout = os.Stdout
428434
cmd.Stderr = os.Stderr
@@ -433,12 +439,12 @@ func switchTest(t *testing.T) {
433439
cmd.Stdout = buf
434440
cmd.Stderr = os.Stderr
435441
require.NoError(t, cmd.Run())
436-
assert.Contains(t, buf.String(), "1.9.0-tetrate-v0")
442+
assert.Contains(t, buf.String(), "1.9.1-tetrate-v0")
437443
fmt.Println(buf.String())
438444
})
439445
t.Run("active", func(t *testing.T) {
440446
cmd := exec.Command("./getistio", "fetch",
441-
"--version=1.9.0", "--flavor=istio", "--flavor-version=0",
447+
"--version=1.9.1", "--flavor=istio", "--flavor-version=0",
442448
)
443449
cmd.Stdout = os.Stdout
444450
cmd.Stderr = os.Stderr
@@ -449,8 +455,8 @@ func switchTest(t *testing.T) {
449455
cmd.Stdout = buf
450456
cmd.Stderr = os.Stderr
451457
require.NoError(t, cmd.Run())
452-
assert.Contains(t, buf.String(), "1.9.0")
453-
assert.NotContains(t, buf.String(), "1.9.0-tetrate-v0")
458+
assert.Contains(t, buf.String(), "1.9.1")
459+
assert.NotContains(t, buf.String(), "1.9.1-tetrate-v0")
454460

455461
cmd = exec.Command("./getistio", "switch",
456462
"--flavor=tetrate",
@@ -464,7 +470,7 @@ func switchTest(t *testing.T) {
464470
cmd.Stdout = buf
465471
cmd.Stderr = os.Stderr
466472
require.NoError(t, cmd.Run())
467-
assert.Contains(t, buf.String(), "1.9.0-tetrate-v0")
473+
assert.Contains(t, buf.String(), "1.9.1-tetrate-v0")
468474
fmt.Println(buf.String())
469475
})
470476
}
@@ -577,7 +583,7 @@ func checkUpgrade(t *testing.T) {
577583
cmd.Stderr = os.Stderr
578584
require.NoError(t, cmd.Run(), buf.String())
579585
actual := buf.String()
580-
assert.Contains(t, actual, "1.9.0-tetrate-v0 is the latest version in 1.9-tetrate")
586+
assert.Contains(t, actual, "1.9.1-tetrate-v0 is the latest version in 1.9-tetrate")
581587
fmt.Println(actual)
582588

583589
// change image to 1.8.1-tetrate-v0
@@ -603,7 +609,7 @@ func checkUpgrade(t *testing.T) {
603609
fmt.Println(actual)
604610
if strings.Contains(actual,
605611
"There is the available patch for the minor version 1.8-tetrate. "+
606-
"We recommend upgrading all 1.8-tetrate versions -> 1.8.3-tetrate-v0") {
612+
"We recommend upgrading all 1.8-tetrate versions -> 1.8.4-tetrate-v0") {
607613
break
608614
}
609615
}

Diff for: manifest.json

+88
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,36 @@
66
"1.6": "2020-11-21"
77
},
88
"istio_distributions": [
9+
{
10+
"version": "1.9.1",
11+
"flavor": "tetrate",
12+
"flavor_version": 0,
13+
"k8s_versions": [
14+
"1.17",
15+
"1.18",
16+
"1.19",
17+
"1.20"
18+
],
19+
"release_notes": [
20+
"https://istio.io/latest/news/releases/1.9.x/announcing-1.9.1/"
21+
],
22+
"is_security_patch": true
23+
},
24+
{
25+
"version": "1.9.1",
26+
"flavor": "istio",
27+
"flavor_version": 0,
28+
"k8s_versions": [
29+
"1.17",
30+
"1.18",
31+
"1.19",
32+
"1.20"
33+
],
34+
"release_notes": [
35+
"https://istio.io/latest/news/releases/1.9.x/announcing-1.9.1/"
36+
],
37+
"is_security_patch": true
38+
},
939
{
1040
"version": "1.9.0",
1141
"flavor": "tetrate",
@@ -51,6 +81,36 @@
5181
],
5282
"is_security_patch": false
5383
},
84+
{
85+
"version": "1.8.4",
86+
"flavor": "tetrate",
87+
"flavor_version": 0,
88+
"k8s_versions": [
89+
"1.16",
90+
"1.17",
91+
"1.18",
92+
"1.19"
93+
],
94+
"release_notes": [
95+
"https://istio.io/latest/news/releases/1.8.x/announcing-1.8.4/"
96+
],
97+
"is_security_patch": false
98+
},
99+
{
100+
"version": "1.8.4",
101+
"flavor": "istio",
102+
"flavor_version": 0,
103+
"k8s_versions": [
104+
"1.16",
105+
"1.17",
106+
"1.18",
107+
"1.19"
108+
],
109+
"release_notes": [
110+
"https://istio.io/latest/news/releases/1.8.x/announcing-1.8.4/"
111+
],
112+
"is_security_patch": false
113+
},
54114
{
55115
"version": "1.8.3",
56116
"flavor": "tetrate",
@@ -138,6 +198,34 @@
138198
],
139199
"is_security_patch": false
140200
},
201+
{
202+
"version": "1.7.8",
203+
"flavor": "tetrate",
204+
"flavor_version": 0,
205+
"k8s_versions": [
206+
"1.16",
207+
"1.17",
208+
"1.18"
209+
],
210+
"release_notes": [
211+
"https://istio.io/latest/news/releases/1.7.x/announcing-1.7.8/"
212+
],
213+
"is_security_patch": false
214+
},
215+
{
216+
"version": "1.7.8",
217+
"flavor": "istio",
218+
"flavor_version": 0,
219+
"k8s_versions": [
220+
"1.16",
221+
"1.17",
222+
"1.18"
223+
],
224+
"release_notes": [
225+
"https://istio.io/latest/news/releases/1.7.x/announcing-1.7.8/"
226+
],
227+
"is_security_patch": false
228+
},
141229
{
142230
"version": "1.7.7",
143231
"flavor": "tetrate",

0 commit comments

Comments
 (0)