Skip to content

Commit

Permalink
Update istio to v1.24.1 (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Nov 26, 2024
1 parent 198e6e0 commit 5f66448
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var _ = Describe("platform-alteration-service-mesh-usage-installed", Ordered, fu
if _, exists := os.LookupEnv("NON_LINUX_ENV"); !exists {
By("Install istio")
//nolint:goconst
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.22.3 sh - "+
"&& istio-1.22.3/bin/istioctl install --set profile=demo -y --set hub=gcr.io/istio-release")
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.24.1 sh - "+
"&& istio-1.24.1/bin/istioctl install --set profile=demo -y --set hub=gcr.io/istio-release")
err := cmd.Run()
Expect(err).ToNot(HaveOccurred(), "Error installing istio")
}
Expand All @@ -42,8 +42,8 @@ var _ = Describe("platform-alteration-service-mesh-usage-installed", Ordered, fu
AfterAll(func() {
if _, exists := os.LookupEnv("NON_LINUX_ENV"); !exists {
By("Uninstall istio")
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.22.3 sh - "+
"&& istio-1.22.3/bin/istioctl uninstall -y --purge")
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.24.1 sh - "+
"&& istio-1.24.1/bin/istioctl uninstall -y --purge")
err := cmd.Run()
Expect(err).ToNot(HaveOccurred(), "Error uninstalling istio")
}
Expand Down Expand Up @@ -177,8 +177,8 @@ var _ = Describe("platform-alteration-service-mesh-usage-uninstalled", Serial, f
if err == nil {
By("Uninstall istio")
if _, exists := os.LookupEnv("NON_LINUX_ENV"); !exists {
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.22.3 sh - "+
"&& istio-1.22.3/bin/istioctl uninstall -y --purge")
cmd := exec.Command("/bin/bash", "-c", "curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.24.1 sh - "+
"&& istio-1.24.1/bin/istioctl uninstall -y --purge")
err := cmd.Run()
Expect(err).ToNot(HaveOccurred(), "Error uninstalling istio")
}
Expand Down

0 comments on commit 5f66448

Please sign in to comment.