Skip to content

Commit

Permalink
Release 1.0.1 (#10)
Browse files Browse the repository at this point in the history
* Release 1.0.1

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>

* added 1.8.3 to manifest

Co-authored-by: Devarajan Ramaswamy <deva.ramaswamy@gmail.com>
  • Loading branch information
mathetake and deva26 authored Feb 16, 2021
1 parent 398ae39 commit 504974e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
2 changes: 1 addition & 1 deletion download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

GETISTIO_LATEST_VERSION="1.0.0"
GETISTIO_LATEST_VERSION="1.0.1"

if [[ -z "${GETISTIO_VERSION}" ]]; then
VERSION="${GETISTIO_LATEST_VERSION}"
Expand Down
17 changes: 9 additions & 8 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func update(t *testing.T) {
cmd.Env = env
require.NoError(t, cmd.Run(), buf.String())
actual := buf.String()
assert.Contains(t, actual, "getistio successfully updated from dev to 1.0.0!")
assert.Contains(t, actual, "getistio successfully updated from dev to 1.0.1!")
t.Log(actual)
}

Expand Down Expand Up @@ -202,8 +202,9 @@ func list(t *testing.T) {
require.NoError(t, cmd.Run())

exp := `ISTIO VERSION FLAVOR FLAVOR VERSION K8S VERSIONS
*1.8.3 tetrate 0 1.16,1.17,1.18
1.8.3 istio 0 1.16,1.17,1.18
*1.8.2 tetrate 0 1.16,1.17,1.18
1.8.2 tetrate 0 1.16,1.17,1.18
1.8.2 tetratefips 0 1.16,1.17,1.18
1.8.1 tetrate 0 1.16,1.17,1.18
1.8.0 tetrate 0 1.16,1.17,1.18
Expand All @@ -218,7 +219,7 @@ func list(t *testing.T) {
func fetch(t *testing.T) {
defer func() {
cmd := exec.Command("./getistio", "switch",
"--version", "1.8.2", "--flavor", "tetrate", "--flavor-version=0",
"--version", "1.8.3", "--flavor", "tetrate", "--flavor-version=0",
)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
Expand Down Expand Up @@ -313,7 +314,7 @@ func prune(t *testing.T) {
FlavorVersion: 0,
},
{
Version: "1.8.2",
Version: "1.8.3",
Flavor: "tetrate",
FlavorVersion: 0,
},
Expand Down Expand Up @@ -359,13 +360,13 @@ func show(t *testing.T) {
require.NoError(t, cmd.Run())
exp := `1.7.5-tetrate-v0
1.8.1-tetrate-v0
1.8.2-tetrate-v0 (Active)`
1.8.3-tetrate-v0 (Active)`
assert.Contains(t, buf.String(), exp)
fmt.Println(buf.String())
}

func switchTest(t *testing.T) {
for _, v := range []string{"1.8.1", "1.8.2"} {
for _, v := range []string{"1.8.1", "1.8.3"} {
{
cmd := exec.Command("./getistio", "switch",
"--version", v, "--flavor", "tetrate", "--flavor-version=0",
Expand Down Expand Up @@ -482,7 +483,7 @@ func checkUpgrade(t *testing.T) {
cmd.Stderr = os.Stderr
require.NoError(t, cmd.Run(), buf.String())
actual := buf.String()
assert.Contains(t, actual, "1.8.2-tetrate-v0 is the latest version in 1.8-tetrate")
assert.Contains(t, actual, "1.8.3-tetrate-v0 is the latest version in 1.8-tetrate")
fmt.Println(actual)

// change image to 1.8.1-tetrate-v0
Expand All @@ -508,7 +509,7 @@ func checkUpgrade(t *testing.T) {
fmt.Println(actual)
if strings.Contains(actual,
"There is the available patch for the minor version 1.8-tetrate. "+
"We recommend upgrading all 1.8-tetrate versions -> 1.8.2-tetrate-v0") {
"We recommend upgrading all 1.8-tetrate versions -> 1.8.3-tetrate-v0") {
break
}
}
Expand Down
19 changes: 17 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
{
"istio_minor_versions_eol_dates": {
"1.8": "2022-01-18",
"1.7": "2021-10-20",
"1.6": "2020-11-21"
},
"istio_distributions": [
{
"version": "1.8.3",
"flavor": "tetrate",
"flavor_version": 0,
"k8s_versions": [
"1.16",
"1.17",
"1.18"
],
"release_notes": [
"https://istio.io/latest/news/releases/1.8.x/announcing-1.8.3/"
],
"is_security_patch": false
},
{
"version": "1.8.3",
"flavor": "istio",
"flavor_version": 0,
"k8s_versions": [
Expand All @@ -14,7 +29,7 @@
"1.18"
],
"release_notes": [
"https://istio.io/latest/news/releases/1.8.x/announcing-1.8.2/"
"https://istio.io/latest/news/releases/1.8.x/announcing-1.8.3/"
],
"is_security_patch": false
},
Expand Down Expand Up @@ -100,7 +115,7 @@
"release_notes": [
"https://istio.io/latest/news/releases/1.7.x/announcing-1.7.6/"
],
"is_security_patch": true
"is_security_patch": false
},
{
"version": "1.7.5",
Expand Down

0 comments on commit 504974e

Please sign in to comment.