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
74b851c5
Commit
74b851c5
authored
Dec 16, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18318 from ihmccreery/use-test-default-e2e
Auto commit by PR queue bot
parents
9b106f5b
dc10b0a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
e2e.sh
hack/jenkins/e2e.sh
+5
-16
No files found.
hack/jenkins/e2e.sh
View file @
74b851c5
...
...
@@ -102,10 +102,7 @@ function configure_upgrade_step() {
${
GKE_FLAKY_TESTS
[@]
:+
${
GKE_FLAKY_TESTS
[@]
}}
\
)
"
if
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gke"
]]
;
then
DOGFOOD_GCLOUD
=
"true"
GKE_API_ENDPOINT
=
"https://test-container.sandbox.googleapis.com/"
else
if
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gce"
]]
;
then
NUM_NODES
=
5
KUBE_ENABLE_DEPLOYMENTS
=
true
KUBE_ENABLE_DAEMONSETS
=
true
...
...
@@ -249,6 +246,10 @@ if [[ ${JOB_NAME} =~ ^kubernetes-.*-gce ]]; then
elif
[[
${
JOB_NAME
}
=
~ ^kubernetes-.
*
-gke
]]
;
then
KUBERNETES_PROVIDER
=
"gke"
:
${
E2E_ZONE
:
=
"us-central1-f"
}
# By default, GKE tests run against the GKE test endpoint using CI Cloud SDK.
# Release jobs (e.g. prod, staging, and test) override these two variables.
:
${
CLOUDSDK_BUCKET
:
=
"gs://cloud-sdk-build/testing/staging"
}
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
elif
[[
${
JOB_NAME
}
=
~ ^kubernetes-.
*
-aws
]]
;
then
KUBERNETES_PROVIDER
=
"aws"
:
${
E2E_MIN_STARTUP_PODS
:
=
"1"
}
...
...
@@ -652,9 +653,6 @@ case ${JOB_NAME} in
;;
kubernetes-e2e-gke-ci
)
:
${
DOGFOOD_GCLOUD
:
=
"true"
}
:
${
CLOUDSDK_BUCKET
:
=
"gs://cloud-sdk-build/testing/staging"
}
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
:
${
E2E_CLUSTER_NAME
:
=
"jkns-gke-e2e-ci"
}
:
${
E2E_NETWORK
:
=
"e2e-gke-ci"
}
:
${
E2E_SET_CLUSTER_API_VERSION
:
=y
}
...
...
@@ -669,9 +667,6 @@ case ${JOB_NAME} in
;;
kubernetes-e2e-gke-ci-reboot
)
:
${
DOGFOOD_GCLOUD
:
=
"true"
}
:
${
CLOUDSDK_BUCKET
:
=
"gs://cloud-sdk-build/testing/staging"
}
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
:
${
E2E_CLUSTER_NAME
:
=
"jkns-gke-e2e-ci-reboot"
}
:
${
E2E_NETWORK
:
=
"e2e-gke-ci-reboot"
}
:
${
E2E_SET_CLUSTER_API_VERSION
:
=y
}
...
...
@@ -688,9 +683,6 @@ case ${JOB_NAME} in
;;
kubernetes-e2e-gke-flaky
)
:
${
DOGFOOD_GCLOUD
:
=
"true"
}
:
${
CLOUDSDK_BUCKET
:
=
"gs://cloud-sdk-build/testing/staging"
}
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
:
${
E2E_CLUSTER_NAME
:
=
"kubernetes-gke-e2e-flaky"
}
:
${
E2E_NETWORK
:
=
"gke-e2e-flaky"
}
:
${
E2E_SET_CLUSTER_API_VERSION
:
=y
}
...
...
@@ -703,7 +695,6 @@ case ${JOB_NAME} in
# Sets up the GKE soak cluster weekly using the latest CI release.
kubernetes-soak-weekly-deploy-gke
)
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
:
${
E2E_CLUSTER_NAME
:
=
"jenkins-gke-soak-weekly"
}
:
${
E2E_DOWN
:
=
"false"
}
:
${
E2E_NETWORK
:
=
"gke-soak-weekly"
}
...
...
@@ -718,7 +709,6 @@ case ${JOB_NAME} in
# Runs tests on GKE soak cluster.
kubernetes-soak-continuous-e2e-gke
)
:
${
GKE_API_ENDPOINT
:
=
"https://test-container.sandbox.googleapis.com/"
}
:
${
E2E_CLUSTER_NAME
:
=
"jenkins-gke-soak-weekly"
}
:
${
E2E_NETWORK
:
=
"gke-soak-weekly"
}
:
${
E2E_DOWN
:
=
"false"
}
...
...
@@ -1115,7 +1105,6 @@ export CLUSTER_NAME=${E2E_CLUSTER_NAME}
export
ZONE
=
${
E2E_ZONE
}
export
KUBE_GKE_NETWORK
=
${
E2E_NETWORK
}
export
E2E_SET_CLUSTER_API_VERSION
=
${
E2E_SET_CLUSTER_API_VERSION
:-}
export
DOGFOOD_GCLOUD
=
${
DOGFOOD_GCLOUD
:-}
export
CMD_GROUP
=
${
CMD_GROUP
:-}
export
MACHINE_TYPE
=
${
NODE_SIZE
:-}
# GKE scripts use MACHINE_TYPE for the node vm size
...
...
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