Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
cb56fdc2
Commit
cb56fdc2
authored
Dec 08, 2015
by
Isaac Hollander McCreery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 7-stage upgrade configs to configure_upgrade_step
parent
d568a92d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
9 deletions
+22
-9
e2e.sh
hack/jenkins/e2e.sh
+22
-9
No files found.
hack/jenkins/e2e.sh
View file @
cb56fdc2
...
...
@@ -51,11 +51,12 @@ function join_regex_no_empty() {
#
# These suites:
# step1: launch a cluster at $old_version,
# step2: upgrades the master to $new_version,
# step3: runs $old_version e2es,
# step4: upgrades the rest of the cluster,
# step5: runs $old_version e2es again, then
# step6: runs $new_version e2es and tears down the cluster.
# step2: runs $new_version Kubectl e2es,
# step3: upgrades the master to $new_version,
# step4: runs $old_version e2es,
# step5: upgrades the rest of the cluster,
# step6: runs $old_version e2es again, then
# step7: runs $new_version e2es and tears down the cluster.
#
# Assumes globals:
# $JOB_NAME
...
...
@@ -125,6 +126,18 @@ function configure_upgrade_step() {
;;
step2
)
# Run new e2e kubectl tests
JENKINS_PUBLISHED_VERSION
=
"
${
new_version
}
"
JENKINS_FORCE_GET_TARS
=
y
E2E_OPT
=
"--check_version_skew=false"
E2E_UP
=
"false"
E2E_TEST
=
"true"
E2E_DOWN
=
"false"
GINKGO_TEST_ARGS
=
"--ginkgo.focus=Kubectl"
;;
step3
)
# Use upgrade logic of version we're upgrading to.
JENKINS_PUBLISHED_VERSION
=
"
${
new_version
}
"
JENKINS_FORCE_GET_TARS
=
y
...
...
@@ -136,7 +149,7 @@ function configure_upgrade_step() {
GINKGO_TEST_ARGS
=
"--ginkgo.focus=Cluster
\s
Upgrade.*upgrade-master --upgrade-target=
${
new_version
}
"
;;
step
3
)
step
4
)
# Run old e2es
JENKINS_PUBLISHED_VERSION
=
"
${
old_version
}
"
JENKINS_FORCE_GET_TARS
=
y
...
...
@@ -153,7 +166,7 @@ function configure_upgrade_step() {
fi
;;
step
4
)
step
5
)
# Use upgrade logic of version we're upgrading to.
JENKINS_PUBLISHED_VERSION
=
"
${
new_version
}
"
JENKINS_FORCE_GET_TARS
=
y
...
...
@@ -165,7 +178,7 @@ function configure_upgrade_step() {
GINKGO_TEST_ARGS
=
"--ginkgo.focus=Cluster
\s
Upgrade.*upgrade-cluster --upgrade-target=
${
new_version
}
"
;;
step
5
)
step
6
)
# Run old e2es
JENKINS_PUBLISHED_VERSION
=
"
${
old_version
}
"
JENKINS_FORCE_GET_TARS
=
y
...
...
@@ -182,7 +195,7 @@ function configure_upgrade_step() {
fi
;;
step
6
)
step
7
)
# Run new e2es
JENKINS_PUBLISHED_VERSION
=
"
${
new_version
}
"
JENKINS_FORCE_GET_TARS
=
y
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment