test-infra

module
v0.0.0-...-82313f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2017 License: Apache-2.0

README

Kubernetes Test Infrastructure

Build Status

The test-infra repository contains a collection of tools for testing Kubernetes and displaying Kubernetes tests results. There is no merge bot here. Feel free to click the big green merge button once your code is reviewed and passes on Travis. You will need to be a member of kubernetes/test-infra-maintainers to merge.

Building and testing the test-infra

We use Bazel to build and test the code in this repo. The commands bazel build //... and bazel test //... should be all you need for most cases. If you modify Go code, run ./verify/update-bazel.sh to keep BUILD files up-to-date.

Testing Kubernetes

The YAML files under jenkins/job-configs define our Jenkins jobs via Jenkins Job Builder. Travis will run jenkins/diff-job-config-patch.sh to print out the XML diff between your change and master.

The detail of how to create new jobs can be found here.

Viewing Test Results

  • The Kubernetes TestGrid shows the results of test jobs for the last few weeks. It is currently not open-sourced, but we we would like to move in that direction eventually.
  • The 24-hour test history dashboard collects test results from the last 24 hours. It is updated hourly by the scripts under jenkins/test-history.
  • Gubernator is a Google App Engine site that parses and presents the results from individual test jobs.

Federated Testing

The Kubernetes project encourages organizations to contribute execution of e2e test jobs for a variety of platforms (e.g., Azure, rktnetes). The test-history scripts gather e2e results from these federated jobs. For information about how to contribute test results, see Federated Testing.

Directories

Path Synopsis
gcsweb
cmd/gcsweb command
jenkins
aws-janitor command
e2e.go runs the e2e test suite.
e2e.go runs the e2e test suite.
admin
Package admin exists so all administrative actions have a place to install themselves.
Package admin exists so all administrative actions have a place to install themselves.
example-one-off command
mungers
Package mungers deals with munging of github pull requests
Package mungers deals with munging of github pull requests
prow
cmd/crier command
cmd/deck command
cmd/hook command
cmd/line command
cmd/marque command
cmd/phony command
cmd/sinker command
cmd/splice command
cmd/tot command
Tot vends (rations) incrementing numbers for use in builds.
Tot vends (rations) incrementing numbers for use in builds.
crier
Package crier sets GitHub statuses and writes comments for test statuses.
Package crier sets GitHub statuses and writes comments for test statuses.
testgrid
config command
config/pb
Package config is a generated protocol buffer package.
Package config is a generated protocol buffer package.
jenkins_verify command
velodrome
fetcher command
sql
token-counter command
transform command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL