@@ -51,11 +51,12 @@ function join_regex_no_empty() {
51
51
#
52
52
# These suites:
53
53
# step1: launch a cluster at $old_version,
54
- # step2: upgrades the master to $new_version,
55
- # step3: runs $old_version e2es,
56
- # step4: upgrades the rest of the cluster,
57
- # step5: runs $old_version e2es again, then
58
- # step6: runs $new_version e2es and tears down the cluster.
54
+ # step2: runs $new_version Kubectl e2es,
55
+ # step3: upgrades the master to $new_version,
56
+ # step4: runs $old_version e2es,
57
+ # step5: upgrades the rest of the cluster,
58
+ # step6: runs $old_version e2es again, then
59
+ # step7: runs $new_version e2es and tears down the cluster.
59
60
#
60
61
# Assumes globals:
61
62
# $JOB_NAME
@@ -123,6 +124,18 @@ function configure_upgrade_step() {
123
124
;;
124
125
125
126
step2)
127
+ # Run new e2e kubectl tests
128
+ JENKINS_PUBLISHED_VERSION=" ${new_version} "
129
+ JENKINS_FORCE_GET_TARS=y
130
+
131
+ E2E_OPT=" --check_version_skew=false"
132
+ E2E_UP=" false"
133
+ E2E_TEST=" true"
134
+ E2E_DOWN=" false"
135
+ GINKGO_TEST_ARGS=" --ginkgo.focus=Kubectl"
136
+ ;;
137
+
138
+ step3)
126
139
# Use upgrade logic of version we're upgrading to.
127
140
JENKINS_PUBLISHED_VERSION=" ${new_version} "
128
141
JENKINS_FORCE_GET_TARS=y
@@ -134,7 +147,7 @@ function configure_upgrade_step() {
134
147
GINKGO_TEST_ARGS=" --ginkgo.focus=Cluster\supgrade.*upgrade-master --upgrade-target=${new_version} "
135
148
;;
136
149
137
- step3 )
150
+ step4 )
138
151
# Run old e2es
139
152
JENKINS_PUBLISHED_VERSION=" ${old_version} "
140
153
JENKINS_FORCE_GET_TARS=y
@@ -151,7 +164,7 @@ function configure_upgrade_step() {
151
164
fi
152
165
;;
153
166
154
- step4 )
167
+ step5 )
155
168
# Use upgrade logic of version we're upgrading to.
156
169
JENKINS_PUBLISHED_VERSION=" ${new_version} "
157
170
JENKINS_FORCE_GET_TARS=y
@@ -163,7 +176,7 @@ function configure_upgrade_step() {
163
176
GINKGO_TEST_ARGS=" --ginkgo.focus=Cluster\supgrade.*upgrade-cluster --upgrade-target=${new_version} "
164
177
;;
165
178
166
- step5 )
179
+ step6 )
167
180
# Run old e2es
168
181
JENKINS_PUBLISHED_VERSION=" ${old_version} "
169
182
JENKINS_FORCE_GET_TARS=y
@@ -180,7 +193,7 @@ function configure_upgrade_step() {
180
193
fi
181
194
;;
182
195
183
- step6 )
196
+ step7 )
184
197
# Run new e2es
185
198
JENKINS_PUBLISHED_VERSION=" ${new_version} "
186
199
JENKINS_FORCE_GET_TARS=y
0 commit comments