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
79df5f58
Commit
79df5f58
authored
Oct 15, 2015
by
Isaac Hollander McCreery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kubernetes-upgrade-1.0-1.1-gke configs using ci/latest-1.1
parent
407f9b9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
18 deletions
+26
-18
util.sh
cluster/gke/util.sh
+2
-2
e2e.sh
hack/jenkins/e2e.sh
+24
-16
No files found.
cluster/gke/util.sh
View file @
79df5f58
...
...
@@ -63,8 +63,8 @@ function detect-project() {
# Execute prior to running tests to build a release if required for env.
function
test-build-release
()
{
echo
"... in gke:test-build-release()"
>
&2
# We currently use the Kubernetes version that GKE supports (not testing
# bleeding-edge builds).
echo
"... We currently use the Kubernetes version that GKE supports,"
echo
"... not bleeding-edge builds."
}
# Verify needed binaries exist.
...
...
hack/jenkins/e2e.sh
View file @
79df5f58
...
...
@@ -498,11 +498,11 @@ case ${JOB_NAME} in
# This suite:
#
# 1. launches a cluster at release/latest,
# 2. upgrades the master to
HEAD
,
# 2. upgrades the master to
ci/latest
,
# 3. runs release/latest e2es,
# 4. upgrades the rest of the cluster,
# 5. runs release/latest e2es again, then
# 6. runs
HEAD
e2es and tears down the cluster.
# 6. runs
ci/latest
e2es and tears down the cluster.
kubernetes-upgrade-gke-step1-deploy
)
:
${
DOGFOOD_GCLOUD
:
=
"true"
}
...
...
@@ -590,7 +590,7 @@ case ${JOB_NAME} in
:
${
E2E_CLUSTER_NAME
:
=
"gke-upgrade"
}
:
${
E2E_NETWORK
:
=
"gke-upgrade"
}
# TODO(15011): these really shouldn't be (very) version skewed, but because
# we have to
rebuild
, it could get slightly out of whack.
# we have to
get ci/latest again
, it could get slightly out of whack.
:
${
E2E_OPT
:
=
"--check_version_skew=false"
}
:
${
JENKINS_FORCE_GET_TARS
:
=y
}
:
${
PROJECT
:
=
"kubernetes-jenkins-gke-upgrade"
}
...
...
@@ -610,16 +610,11 @@ case ${JOB_NAME} in
# This suite:
#
# 1. launches a cluster at release/latest-1.0,
# 2. upgrades the master to ci/
v1.1.0-alpha.1,
# 2. upgrades the master to ci/
latest-1.1
# 3. runs release/latest-1.0 e2es,
# 4. upgrades the rest of the cluster,
# 5. runs release/latest-1.0 e2es again, then
# 6. runs ci/v1.1.0-alpha.1 e2es and tears down the cluster.
#
# TODO(13339): this suite should be upgrading to release/latest-1.1, or some
# other release candidate published version, not ci/v1.1.0-alpha.1, but
# because 1.1 is only an alpha release, and we haven't figured out alpha
# release mechanics, that target doesn't yet exist.
# 6. runs ci/latest-1.1 e2es and tears down the cluster.
kubernetes-upgrade-1.0-1.1-gke-step1-deploy
)
:
${
DOGFOOD_GCLOUD
:
=
"true"
}
...
...
@@ -639,13 +634,14 @@ case ${JOB_NAME} in
:
${
E2E_CLUSTER_NAME
:
=
"gke-upgrade-1-0"
}
:
${
E2E_NETWORK
:
=
"gke-upgrade-1-0"
}
:
${
E2E_OPT
:
=
"--check_version_skew=false"
}
# We have to get tars at ci/latest (JENKINS_PUBLISHED_VERSION default) to
# get the latest upgrade logic.
:
${
JENKINS_FORCE_GET_TARS
:
=y
}
:
${
JENKINS_EXPLICIT_VERSION
:
=
"ci/v1.1.0-alpha.1"
}
:
${
PROJECT
:
=
"kubernetes-jenkins-gke-upgrade"
}
:
${
E2E_UP
:
=
"false"
}
:
${
E2E_TEST
:
=
"true"
}
:
${
E2E_DOWN
:
=
"false"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=Skipped.*Cluster
\s
upgrade.*upgrade-master"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=Skipped.*Cluster
\s
upgrade.*upgrade-master
--upgrade-target=ci/latest-1.1
"
}
;;
kubernetes-upgrade-1.0-1.1-gke-step3-e2e-old
)
...
...
@@ -674,13 +670,14 @@ case ${JOB_NAME} in
:
${
E2E_CLUSTER_NAME
:
=
"gke-upgrade-1-0"
}
:
${
E2E_NETWORK
:
=
"gke-upgrade-1-0"
}
:
${
E2E_OPT
:
=
"--check_version_skew=false"
}
# We have to get tars at ci/latest (JENKINS_PUBLISHED_VERSION default) to
# get the latest upgrade logic.
:
${
JENKINS_FORCE_GET_TARS
:
=y
}
:
${
JENKINS_EXPLICIT_VERSION
:
=
"ci/v1.1.0-alpha.1"
}
:
${
PROJECT
:
=
"kubernetes-jenkins-gke-upgrade"
}
:
${
E2E_UP
:
=
"false"
}
:
${
E2E_TEST
:
=
"true"
}
:
${
E2E_DOWN
:
=
"false"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=Skipped.*Cluster
\s
upgrade.*upgrade-cluster"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=Skipped.*Cluster
\s
upgrade.*upgrade-cluster
--upgrade-target=ci/latest-1.1
"
}
;;
kubernetes-upgrade-1.0-1.1-gke-step5-e2e-old
)
...
...
@@ -709,7 +706,7 @@ case ${JOB_NAME} in
:
${
E2E_CLUSTER_NAME
:
=
"gke-upgrade-1-0"
}
:
${
E2E_NETWORK
:
=
"gke-upgrade-1-0"
}
:
${
JENKINS_FORCE_GET_TARS
:
=y
}
:
${
JENKINS_
EXPLICIT_VERSION
:
=
"ci/v1.1.0-alpha
.1"
}
:
${
JENKINS_
PUBLISHED_VERSION
:
=
"ci/latest-1
.1"
}
:
${
PROJECT
:
=
"kubernetes-jenkins-gke-upgrade"
}
:
${
E2E_UP
:
=
"false"
}
:
${
E2E_TEST
:
=
"true"
}
...
...
@@ -722,6 +719,17 @@ case ${JOB_NAME} in
)
"
}
;;
# kubernetes-upgrade-gce
#
# This suite:
#
# 1. launches a cluster at release/latest,
# 2. upgrades the master to ci/latest,
# 3. runs release/latest e2es,
# 4. upgrades the rest of the cluster,
# 5. runs release/latest e2es again, then
# 6. runs ci/latest e2es and tears down the cluster.
kubernetes-upgrade-gce-step1-deploy
)
:
${
E2E_CLUSTER_NAME
:
=
"gce-upgrade"
}
:
${
E2E_NETWORK
:
=
"gce-upgrade"
}
...
...
@@ -806,7 +814,7 @@ case ${JOB_NAME} in
:
${
E2E_CLUSTER_NAME
:
=
"gce-upgrade"
}
:
${
E2E_NETWORK
:
=
"gce-upgrade"
}
# TODO(15011): these really shouldn't be (very) version skewed, but because
# we have to
rebuild
, it could get slightly out of whack.
# we have to
get ci/latest again
, it could get slightly out of whack.
:
${
E2E_OPT
:
=
"--check_version_skew=false"
}
:
${
JENKINS_FORCE_GET_TARS
:
=y
}
:
${
PROJECT
:
=
"k8s-jkns-gce-upgrade"
}
...
...
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