diff --git a/charts/podinfo/Chart.yaml b/charts/podinfo/Chart.yaml index 04ef597cf..8d3c2c21a 100644 --- a/charts/podinfo/Chart.yaml +++ b/charts/podinfo/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -version: 5.0.0 -appVersion: 5.0.0 +version: 6.0.0 +appVersion: 6.0.0 name: podinfo engine: gotpl description: Flagger canary deployment demo application diff --git a/charts/podinfo/values.yaml b/charts/podinfo/values.yaml index 83dbc7ac6..b11b509d4 100644 --- a/charts/podinfo/values.yaml +++ b/charts/podinfo/values.yaml @@ -1,7 +1,7 @@ # Default values for podinfo. image: repository: ghcr.io/stefanprodan/podinfo - tag: 5.0.0 + tag: 6.0.0 pullPolicy: IfNotPresent podAnnotations: {} diff --git a/docs/gitbook/tutorials/appmesh-progressive-delivery.md b/docs/gitbook/tutorials/appmesh-progressive-delivery.md index fdc37d502..9a7206f3d 100644 --- a/docs/gitbook/tutorials/appmesh-progressive-delivery.md +++ b/docs/gitbook/tutorials/appmesh-progressive-delivery.md @@ -242,7 +242,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -307,7 +307,7 @@ Trigger a canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: @@ -399,7 +399,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Flagger detects that the deployment revision changed and starts the A/B test: diff --git a/docs/gitbook/tutorials/canary-helm-gitops.md b/docs/gitbook/tutorials/canary-helm-gitops.md index 716d7ff22..9b96f6819 100644 --- a/docs/gitbook/tutorials/canary-helm-gitops.md +++ b/docs/gitbook/tutorials/canary-helm-gitops.md @@ -320,7 +320,7 @@ After a couple of seconds Flux will apply the Kubernetes resources from Git and A CI/CD pipeline for the `frontend` release could look like this: * cut a release from the master branch of the podinfo code repo with the git tag `3.1.1` -* CI builds the image and pushes the `podinfo:3.1.1` image to the container registry +* CI builds the image and pushes the `podinfo:6.0.1` image to the container registry * Flux scans the registry and updates the Helm release `image.tag` to `3.1.1` * Flux commits and push the change to the cluster repo * Flux applies the updated Helm release on the cluster diff --git a/docs/gitbook/tutorials/contour-progressive-delivery.md b/docs/gitbook/tutorials/contour-progressive-delivery.md index 464daa2f4..38553b351 100644 --- a/docs/gitbook/tutorials/contour-progressive-delivery.md +++ b/docs/gitbook/tutorials/contour-progressive-delivery.md @@ -224,7 +224,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -281,7 +281,7 @@ Trigger a canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: @@ -369,7 +369,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Flagger detects that the deployment revision changed and starts the A/B test: diff --git a/docs/gitbook/tutorials/gloo-progressive-delivery.md b/docs/gitbook/tutorials/gloo-progressive-delivery.md index f32ed976a..ccccb3319 100644 --- a/docs/gitbook/tutorials/gloo-progressive-delivery.md +++ b/docs/gitbook/tutorials/gloo-progressive-delivery.md @@ -209,7 +209,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -264,7 +264,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Generate HTTP 500 errors: @@ -365,7 +365,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Generate 404s: @@ -427,7 +427,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.4 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.4 ``` Flagger detects that the deployment revision changed and starts the A/B test: diff --git a/docs/gitbook/tutorials/istio-ab-testing.md b/docs/gitbook/tutorials/istio-ab-testing.md index 1dc1617ba..735399e04 100644 --- a/docs/gitbook/tutorials/istio-ab-testing.md +++ b/docs/gitbook/tutorials/istio-ab-testing.md @@ -173,7 +173,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: diff --git a/docs/gitbook/tutorials/istio-progressive-delivery.md b/docs/gitbook/tutorials/istio-progressive-delivery.md index d938d42e9..e2ea7de75 100644 --- a/docs/gitbook/tutorials/istio-progressive-delivery.md +++ b/docs/gitbook/tutorials/istio-progressive-delivery.md @@ -185,7 +185,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -245,7 +245,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: diff --git a/docs/gitbook/tutorials/kubernetes-blue-green.md b/docs/gitbook/tutorials/kubernetes-blue-green.md index 03536986c..b0a263ea2 100644 --- a/docs/gitbook/tutorials/kubernetes-blue-green.md +++ b/docs/gitbook/tutorials/kubernetes-blue-green.md @@ -171,7 +171,7 @@ Trigger a deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -311,7 +311,7 @@ Trigger a deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Generate 404s: diff --git a/docs/gitbook/tutorials/kuma-progressive-delivery.md b/docs/gitbook/tutorials/kuma-progressive-delivery.md index 5b1847728..f723d7b5a 100644 --- a/docs/gitbook/tutorials/kuma-progressive-delivery.md +++ b/docs/gitbook/tutorials/kuma-progressive-delivery.md @@ -145,7 +145,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -204,7 +204,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: diff --git a/docs/gitbook/tutorials/linkerd-progressive-delivery.md b/docs/gitbook/tutorials/linkerd-progressive-delivery.md index 83a40bdcf..f8f0256c1 100644 --- a/docs/gitbook/tutorials/linkerd-progressive-delivery.md +++ b/docs/gitbook/tutorials/linkerd-progressive-delivery.md @@ -152,7 +152,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -211,7 +211,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: @@ -297,7 +297,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Generate 404s: @@ -442,7 +442,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.4 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.4 ``` Flagger detects that the deployment revision changed and starts the A/B testing: diff --git a/docs/gitbook/tutorials/nginx-progressive-delivery.md b/docs/gitbook/tutorials/nginx-progressive-delivery.md index 878ef4dfc..384b15513 100644 --- a/docs/gitbook/tutorials/nginx-progressive-delivery.md +++ b/docs/gitbook/tutorials/nginx-progressive-delivery.md @@ -192,7 +192,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout: @@ -246,7 +246,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Generate HTTP 500 errors: @@ -334,7 +334,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Generate high response latency: @@ -407,7 +407,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.4 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.4 ``` Flagger detects that the deployment revision changed and starts the A/B testing: diff --git a/docs/gitbook/tutorials/osm-progressive-delivery.md b/docs/gitbook/tutorials/osm-progressive-delivery.md index 724385571..dae348353 100644 --- a/docs/gitbook/tutorials/osm-progressive-delivery.md +++ b/docs/gitbook/tutorials/osm-progressive-delivery.md @@ -180,7 +180,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.1 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 ``` Flagger detects that the deployment revision changed and starts a new rollout. @@ -240,7 +240,7 @@ Trigger another canary deployment: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.2 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 ``` Exec into the load tester pod with: @@ -330,7 +330,7 @@ Trigger a canary deployment by updating the container image: ```bash kubectl -n test set image deployment/podinfo \ -podinfod=stefanprodan/podinfo:3.1.3 +podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 ``` Exec into the load tester pod with: diff --git a/kustomize/podinfo/deployment.yaml b/kustomize/podinfo/deployment.yaml index 403cc8d12..6378cbc99 100644 --- a/kustomize/podinfo/deployment.yaml +++ b/kustomize/podinfo/deployment.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: podinfod - image: stefanprodan/podinfo:3.1.0 + image: ghcr.io/stefanprodan/podinfo:6.0.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/kustomize/tester/deployment.yaml b/kustomize/tester/deployment.yaml index 0e7d67eaf..5e39e268e 100644 --- a/kustomize/tester/deployment.yaml +++ b/kustomize/tester/deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: loadtester - image: ghcr.io/fluxcd/flagger-loadtester:0.21.0 + image: ghcr.io/fluxcd/flagger-loadtester:0.22.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/test/contour/test-canary.sh b/test/contour/test-canary.sh index f09aa4643..3f4b73040 100755 --- a/test/contour/test-canary.sh +++ b/test/contour/test-canary.sh @@ -95,14 +95,14 @@ kubectl -n test get httpproxy podinfo -oyaml | grep 'projectcontour.io/ingress.c echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n projectcontour logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -185,7 +185,7 @@ spec: EOF echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for canary rollback' retries=50 @@ -247,14 +247,14 @@ spec: EOF echo '>>> Triggering A/B testing' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.3 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 echo '>>> Waiting for A/B testing promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.3' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.3' && ok=true || ok=false sleep 10 kubectl -n projectcontour logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/gloo/test-canary.sh b/test/gloo/test-canary.sh index 224e0eed1..41c75c350 100755 --- a/test/gloo/test-canary.sh +++ b/test/gloo/test-canary.sh @@ -112,14 +112,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n gloo-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -194,14 +194,14 @@ spec: EOF echo '>>> Triggering A/B testing' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for A/B testing promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.2' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.2' && ok=true || ok=false sleep 10 kubectl -n gloo-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/istio/test-canary.sh b/test/istio/test-canary.sh index 3c84296bf..4199a0fc1 100755 --- a/test/istio/test-canary.sh +++ b/test/istio/test-canary.sh @@ -121,14 +121,14 @@ fi echo '✔ Canary service custom metadata test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n istio-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -219,14 +219,14 @@ spec: EOF echo '>>> Triggering B/G deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for B/G promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.2' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.2' && ok=true || ok=false sleep 10 kubectl -n istio-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -316,14 +316,14 @@ spec: EOF echo '>>> Triggering A/B testing' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.3 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.3 echo '>>> Waiting for A/B testing promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.3' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.3' && ok=true || ok=false sleep 10 kubectl -n istio-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/istio/test-delegation.sh b/test/istio/test-delegation.sh index dbb444b2a..d83ec219b 100755 --- a/test/istio/test-delegation.sh +++ b/test/istio/test-delegation.sh @@ -103,14 +103,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n istio-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/istio/test-skip-analysis.sh b/test/istio/test-skip-analysis.sh index 621fe285c..8914667dd 100755 --- a/test/istio/test-skip-analysis.sh +++ b/test/istio/test-skip-analysis.sh @@ -55,14 +55,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n istio-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -123,7 +123,7 @@ count=0 ok=false until ${okImage} && ${okRunning}; do kubectl get deployment podinfo-primary -n test -o jsonpath='{.spec.replicas}' | grep 1 && okRunning=true || okRunning=false - kubectl -n test describe deployment/podinfo-primary | grep '3.1.3' && okImage=true || okImage=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.3' && okImage=true || okImage=false sleep 5 count=$(($count + 1)) if [[ ${count} -eq ${retries} ]]; then diff --git a/test/kubernetes/test-daemonset.sh b/test/kubernetes/test-daemonset.sh index cd94f38a7..49adb13e6 100755 --- a/test/kubernetes/test-daemonset.sh +++ b/test/kubernetes/test-daemonset.sh @@ -76,14 +76,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary daemonset' -kubectl -n test set image daemonset/podinfo-ds podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image daemonset/podinfo-ds podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe daemonset/podinfo-ds-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe daemonset/podinfo-ds-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n flagger-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/kubernetes/test-deployment.sh b/test/kubernetes/test-deployment.sh index d4220af3f..f9e4407c2 100755 --- a/test/kubernetes/test-deployment.sh +++ b/test/kubernetes/test-deployment.sh @@ -107,14 +107,14 @@ fi echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n flagger-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/kuma/test-canary.sh b/test/kuma/test-canary.sh index 5b86906bd..b2ec3969a 100755 --- a/test/kuma/test-canary.sh +++ b/test/kuma/test-canary.sh @@ -85,14 +85,14 @@ fi echo '✔ Canary service custom metadata test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n kuma-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -175,7 +175,7 @@ spec: EOF echo '>>> Triggering canary deployment rollback test' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for canary rollback' retries=50 diff --git a/test/linkerd/test-canary.sh b/test/linkerd/test-canary.sh index 8ccedce23..6677878bc 100755 --- a/test/linkerd/test-canary.sh +++ b/test/linkerd/test-canary.sh @@ -142,14 +142,14 @@ fi echo '✔ Canary service custom metadata test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n linkerd logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -221,7 +221,7 @@ spec: EOF echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for canary rollback' retries=50 diff --git a/test/linkerd/test-steps.sh b/test/linkerd/test-steps.sh index ebb122fe0..05804d0f2 100755 --- a/test/linkerd/test-steps.sh +++ b/test/linkerd/test-steps.sh @@ -59,14 +59,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n linkerd logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/nginx/install.sh b/test/nginx/install.sh index b8681e6ee..20f0776f4 100755 --- a/test/nginx/install.sh +++ b/test/nginx/install.sh @@ -28,7 +28,7 @@ helm upgrade -i flagger ${REPO_ROOT}/charts/flagger \ --set prometheus.install=true \ --set meshProvider=nginx -kubectl -n ingress-nginx set image deployment/flagger flagger=test/flagger:latest +# kubectl -n ingress-nginx set image deployment/flagger flagger=test/flagger:latest kubectl -n ingress-nginx rollout status deployment/flagger kubectl -n ingress-nginx rollout status deployment/flagger-prometheus diff --git a/test/nginx/test-canary.sh b/test/nginx/test-canary.sh index 8fc13945f..b1e79d3d4 100755 --- a/test/nginx/test-canary.sh +++ b/test/nginx/test-canary.sh @@ -118,7 +118,7 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 @@ -132,7 +132,7 @@ until ${ok}; do echo "Canary failed!" exit 1 fi - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n ingress-nginx logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -246,14 +246,14 @@ spec: EOF echo '>>> Triggering A/B testing' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for A/B testing promotion' retries=6 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.2' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.2' && ok=true || ok=false sleep 30 kubectl -n ingress-nginx logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/osm/test-canary.sh b/test/osm/test-canary.sh index 078df187c..1f0766021 100755 --- a/test/osm/test-canary.sh +++ b/test/osm/test-canary.sh @@ -109,14 +109,14 @@ fi echo '✔ Canary service custom metadata test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n osm-system logs deployment/flagger --tail 1 count=$(($count + 1)) @@ -201,7 +201,7 @@ spec: EOF echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.2 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.2 echo '>>> Waiting for canary rollback' retries=50 diff --git a/test/osm/test-steps.sh b/test/osm/test-steps.sh index 4b183ea63..9857a9874 100755 --- a/test/osm/test-steps.sh +++ b/test/osm/test-steps.sh @@ -68,14 +68,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n osm-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/skipper/test-canary.sh b/test/skipper/test-canary.sh index 024d48549..9e8f1249e 100755 --- a/test/skipper/test-canary.sh +++ b/test/skipper/test-canary.sh @@ -101,14 +101,14 @@ done echo '✔ Canary initialization test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=50 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n flagger-system logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/traefik/test-canary.sh b/test/traefik/test-canary.sh index b81693b69..5ac3c57bb 100755 --- a/test/traefik/test-canary.sh +++ b/test/traefik/test-canary.sh @@ -122,14 +122,14 @@ fi echo '✔ Canary service custom metadata test passed' echo '>>> Triggering canary deployment' -kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1 +kubectl -n test set image deployment/podinfo podinfod=ghcr.io/stefanprodan/podinfo:6.0.1 echo '>>> Waiting for canary promotion' retries=60 count=0 ok=false until ${ok}; do - kubectl -n test describe deployment/podinfo-primary | grep '3.1.1' && ok=true || ok=false + kubectl -n test describe deployment/podinfo-primary | grep '6.0.1' && ok=true || ok=false sleep 10 kubectl -n traefik logs deployment/flagger --tail 1 count=$(($count + 1)) diff --git a/test/workloads/daemonset.yaml b/test/workloads/daemonset.yaml index a8f6abb83..5ee637d2a 100644 --- a/test/workloads/daemonset.yaml +++ b/test/workloads/daemonset.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: podinfod - image: stefanprodan/podinfo:3.1.0 + image: ghcr.io/stefanprodan/podinfo:6.0.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/test/workloads/deployment.yaml b/test/workloads/deployment.yaml index 0cf8b2f55..15ee4b32f 100644 --- a/test/workloads/deployment.yaml +++ b/test/workloads/deployment.yaml @@ -29,7 +29,7 @@ spec: spec: containers: - name: podinfod - image: stefanprodan/podinfo:3.1.0 + image: ghcr.io/stefanprodan/podinfo:6.0.0 imagePullPolicy: IfNotPresent env: - name: PODINFO_SECRET_VALUE