Skip to content
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 kubemark jobs to source control. #19742

Merged
merged 1 commit into from
Jan 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions hack/jenkins/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ case ${JOB_NAME} in
NUM_NODES="10"
MASTER_SIZE="n1-standard-2"
NODE_SIZE="n1-standard-1"
E2E_ZONE="asia-east1-a"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this move all of our jobs to asia?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kubernetes-kubemark-gce currently sets this in Jenkins config. For this PR, I've moved it out and into the case statement, and it only hits this job. Other jobs will remain where they are.

I'd be happy to change this if this job should be running elsewhere. kubernetes-e2e-gce-enormous-cluster also runs in asia-east1-a.

KUBEMARK_MASTER_SIZE="n1-standard-4"
KUBEMARK_NUM_NODES="100"
;;
Expand Down
48 changes: 48 additions & 0 deletions hack/jenkins/job-configs/kubernetes-kubemark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
- job-template:
name: 'kubernetes-kubemark-{suffix}'
description: '{description} Test owner: gmarek'
logrotate:
daysToKeep: 7
builders:
- shell: |
curl -fsS --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/e2e.sh" | bash -
properties:
- mail-watcher
publishers:
- claim-build
- junit-publisher
- gcs-uploader
- log-parser
- email-ext:
recipients: "gmarek@google.com"
triggers:
- reverse:
jobs: 'kubernetes-build'
result: success
- timed: '{cron-string}'
wrappers:
- ansicolor:
colormap: xterm
- timeout:
timeout: '{timeout}'
fail: true
- timestamps
- workspace-cleanup

- project:
name: kubernetes-kubemark
suffix:
- 'gce':
description: 'Continuously run Density test on Kubemark.'
timeout: 90
cron-string: '@hourly'
- '500-gce':
description: 'Run Density test on Kubemark in a large cluster that we should be able to handle.'
timeout: 180
cron-string: '@hourly'
- 'gce-scale':
description: 'Run Density test on Kubemark in very large cluster. Currently only scheduled to run every 6 hours so as not to waste too many resources.'
timeout: 180
cron-string: 'H H/6 * * *'
jobs:
- 'kubernetes-kubemark-{suffix}'