New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release and slow jobs for Trusty stable #20664
Merged
k8s-github-robot
merged 1 commit into
kubernetes:release-1.1
from
wonderfly:add_jobs_for_trusty_stable
Feb 9, 2016
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,14 @@ TRUSTY_IMAGE_PROJECT="${TRUSTY_IMAGE_PROJECT:-}" | |
function get_latest_trusty_image() { | ||
local job_name="${1:-${JOB_NAME}}" | ||
local image_index="" | ||
if [[ "${job_name}" =~ trusty-dev ]]; then | ||
if [[ "${job_name}" =~ trusty-head ]]; then | ||
image_index="trusty-head" | ||
elif [[ "${job_name}" =~ trusty-dev ]]; then | ||
image_index="trusty-dev" | ||
elif [[ "${job_name}" =~ trusty-beta ]]; then | ||
image_index="trusty-beta" | ||
elif [[ "${job_name}" =~ trusty ]]; then | ||
image_index="trusty" | ||
elif [[ "${job_name}" =~ trusty-stable ]]; then | ||
image_index="trusty-stable" | ||
fi | ||
gsutil cat "gs://${TRUSTY_IMAGE_PROJECT}/image-indices/latest-test-image-${image_index}" | ||
# Clean up gsutil artifacts otherwise the later test stage will complain. | ||
|
@@ -407,7 +409,7 @@ TRUSTY_DEFAULT_SKIP_TESTS=( | |
"Services.*should\swork\safter\srestarting\skube-proxy" | ||
) | ||
|
||
TRUSTY_SKIP_TESTS=( | ||
TRUSTY_HEAD_SKIP_TESTS=( | ||
"${TRUSTY_DEFAULT_SKIP_TESTS[@]}" | ||
) | ||
|
||
|
@@ -419,6 +421,10 @@ TRUSTY_BETA_SKIP_TESTS=( | |
"${TRUSTY_DEFAULT_SKIP_TESTS[@]}" | ||
) | ||
|
||
TRUSTY_STABLE_SKIP_TESTS=( | ||
"${TRUSTY_DEFAULT_SKIP_TESTS[@]}" | ||
) | ||
|
||
# Define environment variables based on the Jenkins project name. | ||
# NOTE: Not all jobs are defined here. The hack/jenkins/e2e.sh in master and | ||
# release branches defines relevant jobs for that particular version of | ||
|
@@ -499,7 +505,7 @@ case ${JOB_NAME} in | |
|
||
# Runs non-flaky tests on GCE with Trusty as base image for minions, | ||
# sequentially. | ||
kubernetes-e2e-gce-trusty-release) | ||
kubernetes-e2e-gce-trusty-head-release) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-release"} | ||
: ${E2E_DOWN:="false"} | ||
: ${E2E_NETWORK:="e2e-gce-trusty-release"} | ||
|
@@ -508,7 +514,7 @@ case ${JOB_NAME} in | |
${GCE_RELEASE_SKIP_TESTS[@]:+${GCE_RELEASE_SKIP_TESTS[@]}} \ | ||
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \ | ||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \ | ||
${TRUSTY_SKIP_TESTS[@]:+${TRUSTY_SKIP_TESTS[@]}} \ | ||
${TRUSTY_HEAD_SKIP_TESTS[@]:+${TRUSTY_HEAD_SKIP_TESTS[@]}} \ | ||
)"} | ||
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-gce"} | ||
: ${PROJECT:="kubekins-e2e-gce-trusty-rls"} | ||
|
@@ -519,14 +525,14 @@ case ${JOB_NAME} in | |
: ${JENKINS_PUBLISHED_VERSION:="release/stable-1.1"} | ||
;; | ||
|
||
# Runs slow tests on GCE with Trusy as base image for minions, sequentially. | ||
kubernetes-e2e-gce-trusty-slow) | ||
# Runs slow tests on GCE with Trusty as base image for minions, sequentially. | ||
kubernetes-e2e-gce-trusty-head-slow) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-slow"} | ||
: ${E2E_NETWORK:="e2e-gce-trusty-slow"} | ||
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=$(join_regex_no_empty \ | ||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \ | ||
) --ginkgo.skip=$(join_regex_allow_empty \ | ||
${TRUSTY_SKIP_TESTS[@]:+${TRUSTY_SKIP_TESTS[@]}} \ | ||
${TRUSTY_HEAD_SKIP_TESTS[@]:+${TRUSTY_HEAD_SKIP_TESTS[@]}} \ | ||
)"} | ||
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-trusty-slow"} | ||
: ${PROJECT:="k8s-e2e-gce-trusty-slow"} | ||
|
@@ -560,7 +566,7 @@ case ${JOB_NAME} in | |
: ${JENKINS_PUBLISHED_VERSION:="release/stable-1.1"} | ||
;; | ||
|
||
# Runs slow tests on GCE with Trusy-dev as base image for minions, | ||
# Runs slow tests on GCE with Trusty-dev as base image for minions, | ||
# sequentially. | ||
kubernetes-e2e-gce-trusty-dev-slow) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-dev-slow"} | ||
|
@@ -602,7 +608,7 @@ case ${JOB_NAME} in | |
: ${JENKINS_PUBLISHED_VERSION:="release/stable-1.1"} | ||
;; | ||
|
||
# Runs slow tests on GCE with Trusy-beta as base image for minions, | ||
# Runs slow tests on GCE with Trusty-beta as base image for minions, | ||
# sequentially. | ||
kubernetes-e2e-gce-trusty-beta-slow) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-beta-slow"} | ||
|
@@ -622,6 +628,48 @@ case ${JOB_NAME} in | |
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"} | ||
;; | ||
|
||
# Runs non-flaky tests on GCE with Trusty-stable as base image for minions, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should this comment say "Trusty-beta"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, no, the job name is wrong. |
||
# sequentially. | ||
kubernetes-e2e-gce-trusty-stable-release) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-stable-release"} | ||
: ${E2E_DOWN:="false"} | ||
: ${E2E_NETWORK:="e2e-gce-trusty-stable-release"} | ||
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \ | ||
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \ | ||
${GCE_RELEASE_SKIP_TESTS[@]:+${GCE_RELEASE_SKIP_TESTS[@]}} \ | ||
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \ | ||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \ | ||
${TRUSTY_STABLE_SKIP_TESTS[@]:+${TRUSTY_STABLE_SKIP_TESTS[@]}} \ | ||
)"} | ||
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-gce"} | ||
: ${PROJECT:="k8s-e2e-gce-trusty-stable"} | ||
: ${KUBE_GCE_MINION_PROJECT:="${TRUSTY_IMAGE_PROJECT}"} | ||
: ${KUBE_GCE_MINION_IMAGE:="$(get_latest_trusty_image ${JOB_NAME})"} | ||
: ${KUBE_OS_DISTRIBUTION:="trusty"} | ||
: ${ENABLE_CLUSTER_REGISTRY:=false} | ||
: ${JENKINS_PUBLISHED_VERSION:="release/stable-1.1"} | ||
;; | ||
|
||
# Runs slow tests on GCE with Trusty-stable as base image for minions, | ||
# sequentially. | ||
kubernetes-e2e-gce-trusty-stable-slow) | ||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-trusty-stable-slow"} | ||
: ${E2E_NETWORK:="e2e-gce-trusty-stable-slow"} | ||
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=$(join_regex_no_empty \ | ||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \ | ||
) --ginkgo.skip=$(join_regex_allow_empty \ | ||
${TRUSTY_BETA_SKIP_TESTS[@]:+${TRUSTY_BETA_SKIP_TESTS[@]}} \ | ||
)"} | ||
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-trusty-stable-slow"} | ||
: ${PROJECT:="k8s-e2e-gce-trusty-stable-slow"} | ||
: ${KUBE_GCE_MINION_PROJECT:="${TRUSTY_IMAGE_PROJECT}"} | ||
: ${KUBE_GCE_MINION_IMAGE:="$(get_latest_trusty_image ${JOB_NAME})"} | ||
: ${KUBE_OS_DISTRIBUTION:="trusty"} | ||
: ${ENABLE_CLUSTER_REGISTRY:=false} | ||
: ${JENKINS_PUBLISHED_VERSION:="release/stable-1.1"} | ||
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"} | ||
;; | ||
|
||
# Runs non-flaky tests on GCE on the release candidate branch, | ||
# sequentially. As a reminder, if you need to change the skip list | ||
# or flaky test list on the release branch, you'll need to propose a | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sorry about that. Updated.