File tree 2 files changed +10
-6
lines changed 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ WD=$(cd "$WD"; pwd)
28
28
ROOT=$( dirname " $WD " )
29
29
30
30
# Set up inputs needed by /istio/istio/tests/upgrade/test_crossgrade.sh, the default settings is to test upgrade from
31
- # 1.3.1 to 1.3.2 using helm chart
31
+ # 1.3.0 to 1.3.4 using helm chart
32
32
# These environment variables are passed by /istio/test-infra/prow/cluster/jobs istio periodic upgrade jobs
33
33
export SOURCE_HUB=${SOURCE_HUB:- " docker.io/istio" }
34
- export SOURCE_TAG=${SOURCE_TAG:- " 1.3.1 " }
34
+ export SOURCE_TAG=${SOURCE_TAG:- " 1.3.0 " }
35
35
export SOURCE_RELEASE_PATH=${SOURCE_RELEASE_PATH:- " https://github.com/istio/istio/releases/download/${SOURCE_TAG} " }
36
36
export TARGET_HUB=${TARGET_HUB:- " docker.io/istio" }
37
- export TARGET_TAG=${TARGET_TAG:- " 1.3.2 " }
37
+ export TARGET_TAG=${TARGET_TAG:- " 1.3.4 " }
38
38
export TARGET_RELEASE_PATH=${TAGET_RELEASE_PATH:- " https://github.com/istio/istio/releases/download/${TARGET_TAG} " }
39
39
export INSTALL_OPTIONS=${ISTALL_OPTIONS:- " helm" }
40
40
export FROM_PATH=${FROM_PATH:- " $( mktemp -d from_dir.XXXXXX) " }
Original file line number Diff line number Diff line change @@ -245,12 +245,17 @@ installIstioAtVersionUsingIstioctl(){
245
245
}
246
246
247
247
# istioctl x upgrade supports upgrade istio release version
248
- # from 1.3.x to 1.3.y
249
248
# from 1.3.x to 1.4.0
249
+ # 1.3.3 to 1.4.0
250
+ # 1.3.0 to 1.4.0 --force
250
251
upgradeIstioAtVersionUsingIstioctl (){
251
252
writeMsg " istioctl upgrade istio using version ${2} from ${3} ."
252
253
istioctl_path=" ${3} " /bin
253
- " ${istioctl_path} " /istioctl experimental manifest upgrade --skip-confirmation
254
+ if " ${FROM_TAG} " < " 1.3.3" ; then
255
+ " ${istioctl_path} " /istioctl experimental manifest upgrade --skip-confirmation --force
256
+ else
257
+ " ${istioctl_path} " /istioctl experimental manifest upgrade --skip-confirmation
258
+ fi
254
259
}
255
260
256
261
istioInstallOptions () {
@@ -494,7 +499,6 @@ resetConfigMap istio-sidecar-injector "${TMP_DIR}"/sidecar-injector-configmap.ya
494
499
restartDataPlane echosrv-deployment-v1
495
500
sleep 140
496
501
497
-
498
502
istioInstallOptions
499
503
waitForPodsReady " ${ISTIO_NAMESPACE} "
500
504
You can’t perform that action at this time.
0 commit comments