-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Migrate gke-trusty test jobs to 1.2 #23454
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -758,48 +758,88 @@ | |
jobs: | ||
- 'kubernetes-e2e-gce-trusty-{suffix}' | ||
|
||
# Jobs that run e2e tests on GKE with Trusty as node image on the release-1.1 branch. | ||
# Jobs that run e2e tests on GKE with Trusty as node image on the release-1.2 | ||
# branch. Note that the variable "E2E_NAME" in all following jobs are set to | ||
# have the "-trusty" suffix, which is required to start a GKE cluster with | ||
# Trusty images. The variable "KUBE_OS_DISTRIBUTION" is set to "trusty" so that | ||
# the OS dependendent test cases will use Trusty in their assertions. | ||
- project: | ||
name: kubernetes-e2e-gke-trusty | ||
trigger-job: 'kubernetes-build-1.1' | ||
trigger-job: 'kubernetes-build-1.2' | ||
test-owner: 'wonderfly@google.com' | ||
branch: 'release-1.1' | ||
runner: '{old-runner-1-1}' | ||
post-env: '' | ||
provider-env: | | ||
{gke-provider-env} | ||
emails: 'wonderfly@google.com,qzheng@google.com' | ||
suffix: | ||
- 'gke-trusty-test': | ||
description: 'Run E2E tests on GKE test endpoint.' | ||
timeout: 480 | ||
job-env: | | ||
export PROJECT="kubekins-e2e-gke-trusty-test" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export E2E_NAME="jkns-gke-e2e-test-trusty" | ||
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. Since each of these is running in a separate project, please don't use 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. The default value of 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. Please add an explanation comment. 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. Done. |
||
export KUBE_OS_DISTRIBUTION="trusty" | ||
- 'gke-trusty-subnet': | ||
description: 'Run E2E tests on GKE test endpoint in a subnet.' | ||
timeout: 480 | ||
job-env: | | ||
# Subnetwork "jkns-gke-e2e-subnet-trusty" is manually created - | ||
# if deleted, it will need to be recreated via | ||
# `gcloud alpha compute networks create jkns-gke-e2e-subnet-trusty --mode auto` | ||
export PROJECT="k8s-e2e-gke-trusty-subnet" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export E2E_NAME="jkns-gke-e2e-subnet-trusty" | ||
export KUBE_OS_DISTRIBUTION="trusty" | ||
- 'gke-trusty-staging': | ||
description: 'Run E2E tests on GKE staging endpoint.' | ||
timeout: 480 | ||
job-env: | | ||
export PROJECT="e2e-gke-trusty-staging" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER="https://staging-container.sandbox.googleapis.com/" | ||
export E2E_NAME="jkns-gke-e2e-staging-trusty" | ||
export KUBE_OS_DISTRIBUTION="trusty" | ||
- 'gke-trusty-staging-parallel': | ||
description: 'Run E2E tests on GKE staging endpoint in parallel.' | ||
timeout: 80 | ||
job-env: | | ||
export PROJECT="e2e-gke-trusty-staging-p" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER="https://staging-container.sandbox.googleapis.com/" | ||
export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]" | ||
export GINKGO_PARALLEL="y" | ||
export E2E_NAME="jkns-gke-e2e-staging-parallel-trusty" | ||
export KUBE_OS_DISTRIBUTION="trusty" | ||
- 'gke-trusty-prod': | ||
timeout: 180 | ||
# Failing constantly due to a known issue. | ||
# Failing constantly due to a known issue (tracked internally). | ||
disable_job: true | ||
description: | | ||
Run e2e tests with Trusty as node image using the following config:<br> | ||
- provider: GKE<br> | ||
- api proxy: prod<br> | ||
- borg job: prod<br> | ||
- client (kubectl): release/stable.txt<br> | ||
- cluster (k8s): release/stable.txt<br> | ||
- tests: release/stable.txt | ||
- 'gke-trusty-staging': | ||
timeout: 300 | ||
description: | | ||
Run e2e tests with Trusty as node image using the following config:<br> | ||
- provider: GKE<br> | ||
- api proxy: staging<br> | ||
- borg job: staging<br> | ||
- client (kubectl): release/stable.txt<br> | ||
- cluster (k8s): release/stable.txt<br> | ||
- tests: release/stable.txt | ||
- 'gke-trusty-test': | ||
timeout: 300 | ||
description: | | ||
Run e2e tests with Trusty as node image using the following config:<br> | ||
- provider: GKE<br> | ||
- api proxy: staging<br> | ||
- borg job: test<br> | ||
- client (kubectl): release/stable.txt<br> | ||
- cluster (k8s): release/stable.txt<br> | ||
- tests: release/stable.txt | ||
description: 'Run E2E tests on GKE prod endpoint.' | ||
timeout: 480 | ||
job-env: | | ||
export PROJECT="kubekins-e2e-gke-trusty-prod" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export KUBE_GCE_ZONE="asia-east1-b" | ||
export E2E_NAME="jkns-gke-e2e-prod-trusty" | ||
export KUBE_OS_DISTRIBUTION="trusty" | ||
- 'gke-trusty-prod-parallel': | ||
# Failing constantly due to a known issue (tracked internally). | ||
disable_job: true | ||
description: 'Run E2E tests on GKE prod endpoint in parallel.' | ||
timeout: 80 | ||
job-env: | | ||
export PROJECT="e2e-gke-trusty-prod-p" | ||
export CLOUDSDK_BUCKET="gs://cloud-sdk-testing/rc" | ||
export JENKINS_USE_SERVER_VERSION="y" | ||
export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]" | ||
export GINKGO_PARALLEL="y" | ||
export KUBE_GCE_ZONE="asia-east1-b" | ||
export E2E_NAME="jkns-gke-e2e-prod-parallel-trusty" | ||
export KUBE_OS_DISTRIBUTION="trusty" | ||
jobs: | ||
- 'kubernetes-e2e-{suffix}' | ||
#============================== End of Trusty jobs ============================= |
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.
Why do you want to use the RC
gcloud
?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.
i.e. you probably shouldn't be. 😉
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.
I copied
job-env
s from the equivalentgke-test
job. We have been using the same configs and I think we want to keep doing so. For Trusty, we want to make sure it passes whatever tests that GKE has with ContainerVM. cc/ @roberthbaileySame for other jobs.