Skip to content

Commit

Permalink
Updates site manifest and e2e for 1.12.1 release
Browse files Browse the repository at this point in the history
Signed-off-by: danehans <[email protected]>
  • Loading branch information
danehans committed Jan 14, 2022
1 parent ffc4d8d commit 0ca8498
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
16 changes: 14 additions & 2 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,27 @@ istioctl switched to 1.8.6-tetrate-v0 now
cmd.Stdout = buf
cmd.Stderr = os.Stderr
require.NoError(t, cmd.Run())
require.Contains(t, buf.String(), `-tetrate-v0 now`)
flavor := "v0"
ver := buf.String()
// 1.12.1 only has a v1 flavor.
if strings.Contains(ver, "1.12.1") {
flavor = "v1"
}
require.Contains(t, buf.String(), fmt.Sprintf(`-tetrate-%s now`, flavor))

// fetch with single flavor flag
cmd = exec.Command("./getmesh", "fetch", "--flavor=tetrate")
buf = new(bytes.Buffer)
cmd.Stdout = buf
cmd.Stderr = os.Stderr
require.NoError(t, cmd.Run())
require.Contains(t, buf.String(), `-tetrate-v0 now`)
flavor = "v0"
ver = buf.String()
// 1.12.1 only has a v1 flavor.
if strings.Contains(ver, "1.12.1") {
flavor = "v1"
}
require.Contains(t, buf.String(), fmt.Sprintf(`-tetrate-%s now`, flavor))

// fetch another version
cmd = exec.Command("./getmesh", "fetch", "--version=1.7.8")
Expand Down
46 changes: 46 additions & 0 deletions site/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"istio_minor_versions_eol_dates": {
"1.12": "2022-11-18",
"1.11": "2022-10-11",
"1.10": "2022-07-17",
"1.9": "2022-04-08",
Expand All @@ -8,6 +9,51 @@
"1.6": "2020-11-21"
},
"istio_distributions": [
{
"version": "1.12.1",
"flavor": "tetrate",
"flavor_version": 1,
"k8s_versions": [
"1.19",
"1.20",
"1.21",
"1.22"
],
"release_notes": [
"https://istio.io/latest/news/releases/1.12.x/announcing-1.12.1/"
],
"is_security_patch": false
},
{
"version": "1.12.1",
"flavor": "tetratefips",
"flavor_version": 1,
"k8s_versions": [
"1.19",
"1.20",
"1.21",
"1.22"
],
"release_notes": [
"https://istio.io/latest/news/releases/1.12.x/announcing-1.12.1/"
],
"is_security_patch": false
},
{
"version": "1.12.1",
"flavor": "istio",
"flavor_version": 1,
"k8s_versions": [
"1.19",
"1.20",
"1.21",
"1.22"
],
"release_notes": [
"https://istio.io/latest/news/releases/1.12.x/announcing-1.12.1/"
],
"is_security_patch": false
},
{
"version": "1.11.3",
"flavor": "tetrate",
Expand Down

0 comments on commit 0ca8498

Please sign in to comment.