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
49545086
Commit
49545086
authored
Dec 10, 2015
by
Joe Finney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add kubernetes-e2e-gce job
parent
598e3b0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
91 additions
and
19 deletions
+91
-19
e2e.sh
hack/jenkins/e2e.sh
+2
-0
global.yaml
hack/jenkins/job-configs/global.yaml
+47
-0
kubernetes-build.yaml
hack/jenkins/job-configs/kubernetes-build.yaml
+3
-18
kubernetes-e2e.yaml
hack/jenkins/job-configs/kubernetes-e2e.yaml
+38
-0
kubernetes-update-jenkins-jobs.yaml
hack/jenkins/job-configs/kubernetes-update-jenkins-jobs.yaml
+1
-1
No files found.
hack/jenkins/e2e.sh
View file @
49545086
...
...
@@ -224,6 +224,7 @@ E2E_OPT=${E2E_OPT:-""}
# Set environment variables shared for all of the GCE Jenkins projects.
if
[[
${
JOB_NAME
}
=
~ ^kubernetes-.
*
-gce
]]
;
then
KUBERNETES_PROVIDER
=
"gce"
:
${
GCE_SERVICE_ACCOUNT
:
=
$(
gcloud auth list 2> /dev/null |
grep
active |
cut
-f3
-d
' '
)}
:
${
E2E_MIN_STARTUP_PODS
:
=
"1"
}
:
${
E2E_ZONE
:
=
"us-central1-f"
}
:
${
NUM_NODES_PARALLEL
:
=
"6"
}
# Number of nodes required to run all of the tests in parallel
...
...
@@ -389,6 +390,7 @@ case ${JOB_NAME} in
# Runs all non-flaky, non-slow tests on GCE, sequentially.
kubernetes-e2e-gce
)
:
${
E2E_CLUSTER_NAME
:
=
"jenkins-gce-e2e"
}
:
${
E2E_PUBLISH_GREEN_VERSION
:
=
"true"
}
:
${
E2E_NETWORK
:
=
"e2e-gce"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.skip=
$(
join_regex_allow_empty
\
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
...
...
hack/jenkins/job-configs/global.yaml
0 → 100644
View file @
49545086
# Mail Watcher Plugin alerts the specified address whenever a job config is updated or deleted.
-
property
:
name
:
mail-watcher
properties
:
-
raw
:
xml
:
|
<org.jenkinsci.plugins.mailwatcher.WatcherJobProperty plugin="mail-watcher-plugin@1.13">
<watcherAddresses>cloud-kubernetes-team@google.com</watcherAddresses>
</org.jenkinsci.plugins.mailwatcher.WatcherJobProperty>
-
publisher
:
name
:
gcs-uploader
publishers
:
-
google-cloud-storage
:
credentials-id
:
kubernetes-jenkins
uploads
:
-
build-log
:
log-name
:
build-log.txt
storage-location
:
gs://kubernetes-jenkins/logs/$JOB_NAME/$BUILD_NUMBER
share-publicly
:
true
upload-for-failed-jobs
:
true
# Default log parser rules.
-
publisher
:
name
:
log-parser
publishers
:
-
logparser
:
parse-rules
:
/jenkins-master-data/log_parser_rules.txt
unstable-on-warning
:
false
fail-on-error
:
false
# There is a junit JJB tag, but it doesn't handle the flaky-test-handler plugin.
-
publisher
:
name
:
junit-publisher
publishers
:
-
raw
:
xml
:
|
<hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.9">
<testResults>_artifacts/junit*.xml</testResults>
<keepLongStdio>true</keepLongStdio>
<testDataPublishers>
<de.esailors.jenkins.teststability.StabilityTestDataPublisher plugin="test-stability@1.0"/>
<com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyTestDataPublisher plugin="flaky-test-handler@1.0.1"/>
<hudson.plugins.claim.ClaimTestDataPublisher plugin="claim@2.7"/>
</testDataPublishers>
<healthScaleFactor>100.0</healthScaleFactor>
</hudson.tasks.junit.JUnitResultArchiver>
hack/jenkins/job-configs/kubernetes-build.yaml
View file @
49545086
...
...
@@ -6,12 +6,7 @@
builders
:
-
shell
:
'
./hack/jenkins/build.sh'
properties
:
# Mail Watcher Plugin alerts the specified address whenever a job config is updated or deleted.
-
raw
:
xml
:
|
<org.jenkinsci.plugins.mailwatcher.WatcherJobProperty plugin="mail-watcher-plugin@1.13">
<watcherAddresses>cloud-kubernetes-team@google.com</watcherAddresses>
</org.jenkinsci.plugins.mailwatcher.WatcherJobProperty>
-
mail-watcher
publishers
:
-
claim-build
-
email-ext
:
...
...
@@ -22,18 +17,8 @@
send-to
:
-
culprits
-
recipients
-
google-cloud-storage
:
credentials-id
:
kubernetes-jenkins
uploads
:
-
build-log
:
log-name
:
build-log.txt
storage-location
:
gs://kubernetes-jenkins/logs/$JOB_NAME/$BUILD_NUMBER
share-publicly
:
true
upload-for-failed-jobs
:
true
-
logparser
:
parse-rules
:
/jenkins-master-data/log_parser_rules.txt
unstable-on-warning
:
false
fail-on-error
:
false
-
gcs-uploader
-
log-parser
scm
:
-
git
:
url
:
https://github.com/kubernetes/kubernetes
...
...
hack/jenkins/job-configs/kubernetes-e2e.yaml
0 → 100644
View file @
49545086
-
job-template
:
name
:
'
kubernetes-e2e-{suffix}'
description
:
'
Run
E2E
tests
on
GCE
using
the
latest
successful
build.
Test
owner:
Build
Cop.'
logrotate
:
daysToKeep
:
7
builders
:
-
shell
:
|
curl -fsS -o upload-to-gcs.sh --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh" && source upload-to-gcs.sh; rm -f upload-to-gcs.sh
curl -fsS --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/e2e.sh" | bash -
properties
:
-
mail-watcher
publishers
:
-
claim-build
-
email-ext
-
gcs-uploader
-
log-parser
-
junit-publisher
triggers
:
-
reverse
:
jobs
:
kubernetes-build
result
:
success
-
timed
:
'
H/30
*
*
*
*'
wrappers
:
-
ansicolor
:
colormap
:
xterm
-
timeout
:
timeout
:
150
abort
:
true
fail
:
true
-
timestamps
-
workspace-cleanup
-
project
:
name
:
kubernetes-e2e
suffix
:
-
'
gce'
jobs
:
-
'
kubernetes-e2e-{suffix}'
hack/jenkins/job-configs/kubernetes-update-jenkins-jobs.yaml
View file @
49545086
-
job
:
name
:
kubernetes-update-jenkins-jobs
description
:
'
Update
Jenkins
jobs'
description
:
'
Update
Jenkins
jobs
.
Test
owner:
spxtr.
'
triggers
:
-
timed
:
'
H/15
*
*
*
*'
...
...
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