test-infra

module
v0.0.0-...-02c6b06 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0

README

Test Machinery

REUSE status CI Build status Go Report Card

testmachinery diagram overview

The Test Machinery is the test infrastructure for the gardener project. Gardener uses the Test Machinery to automatically qualify releases and run every sort of integration test.
These tests include periodically executed shoot integration tests and Kubernetes e2e tests (e2e runner) as well as Gardener Lifecycle tests (validate dev versions of gardener).

Gardener offers managed Kubernetes clusters in different flavors including cloud providers (Alicloud, AWS, GCP, Azure, Openstack), K8s versions, Operating Systems and more. Therefore, the Test Machinery is designed to test and validate this huge variety of clusters in a scalable and efficient way.

The executed tests are uploaded to the Kubernetes testgrid:

Read detailed docs here.

See here how new tests can be easily added.

Additional Tools in this Repository

  • Testrunner
    Testrunner is an additional component of the Test Machinery that abstracts templating, deploying and watching of Testruns and provide additional functionality like storing test results or notifying test-owners.
  • Kubernetes e2e Testrunner
    Executes the Kubernetes e2e/Conformance tests and uploads them for further analysis to testgrid or elasticsearch.
  • Kubernetes CNCF Pull Request Creator
    Prepares a pull request for CNCF kubernetes certification
  • Host Scheduler
    The hostscheduler selects available cluster from specific providers and locks the selected cluster so that a fresh gardener can be installed. When the cluster is not needed anymore, the host scheduler cleans and releases the cluster.
  • Shoot Telemetry
    A telemetry controller to get granular insights of Shoot apiserver and etcd availability.
  • Tests
    Testruns that are rendered by the testrunner or github app.
  • TM GitHub Bot
    A GitHub bot to run tests on PullRequests.

Directories

Path Synopsis
cmd
integration-tests
e2e
pkg
apis/config
Package v1beta1 is a version of the API.
Package v1beta1 is a version of the API.
apis/config/v1beta1
Package v1beta1 is a version of the API.
Package v1beta1 is a version of the API.
apis/testmachinery/v1beta1
Package v1beta1 is a version of the API.
Package v1beta1 is a version of the API.
testrunner/componentdescriptor
SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
tm-bot/github/mocks
Package mock_github is a generated GoMock package.
Package mock_github is a generated GoMock package.
tm-bot/plugins/mocks
Package mock_plugins is a generated GoMock package.
Package mock_plugins is a generated GoMock package.
util/elasticsearch/mocks
Package mock_elasticsearch is a generated GoMock package.
Package mock_elasticsearch is a generated GoMock package.
util/s3/mocks
Package mock_s3 is a generated GoMock package.
Package mock_s3 is a generated GoMock package.
test

Jump to

Keyboard shortcuts

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