test-infra

module
v0.0.0-...-72347e0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0

README

Knative Test Infrastructure

go.dev reference Go Report Card LICENSE Slack Status

The test-infra repository contains a collection of tools for testing Knative, collecting metrics and displaying test results.

High level architecture

Knative uses Prow to schedule testing and update issues.

Gubernator

Knative uses gubernator to provide a PR dashboard for contributions in the Knative github organization, and Spyglass to visualize test details.

TestGrid

Knative provides a health dashboard to show test, code and release health for each repo. It covers key areas such as continuous integration, code coverage, nightly release, conformance and etc.

E2E Testing

Our E2E testing uses kubetest to build/deploy/test Knative clusters.

Contributing

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.

Guides

To setup the CI/CD flow for a knative project, see guides.

Directories

Path Synopsis
kntest
pkg
clustermanager/e2e-tests/gke
Package clustermanager provides support for managing clusters for e2e tests, responsible for creating/deleting cluster, and cluster life cycle management if running in Prow
Package clustermanager provides support for managing clusters for e2e tests, responsible for creating/deleting cluster, and cluster life cycle management if running in Prow
cmd
gcs
git
gke
metautil
Package metautil supports various needs for running tests
Package metautil supports various needs for running tests
rundk module
Package scripts is a placeholder that allows us to pull the shell scripts via go mod vendor.
Package scripts is a placeholder that allows us to pull the shell scripts via go mod vendor.
tools
coverage/artifacts
Package artifacts is responsible for generating and structuring artifacts directory
Package artifacts is responsible for generating and structuring artifacts directory
coverage/calc
Package calc calculates coverage through summarizing and also stores all the coverage structs used by or produced by the process
Package calc calculates coverage through summarizing and also stores all the coverage structs used by or produced by the process
coverage/gcs
Package gcs stores functions that relates to GCS operations, without dependency on the package calc
Package gcs stores functions that relates to GCS operations, without dependency on the package calc
coverage/str
Package str provides helper functions shared by more than one other go files
Package str provides helper functions shared by more than one other go files
coverage/testTarget/presubmit
Package presubmit serves as the target for presubmit coverage test.
Package presubmit serves as the target for presubmit coverage test.
coverage/testTarget/subPkg2
Package subPkg2 serves as the target for multi-package coverage test.
Package subPkg2 serves as the target for multi-package coverage test.
coverage/testTarget/targetPkgs_postsubmit
Package postsubmitTarget serves as the target for postsubmit coverage test.
Package postsubmitTarget serves as the target for postsubmit coverage test.
configgen Module
rundk Module

Jump to

Keyboard shortcuts

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