openshift

package
v0.0.0-...-ea728a0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package openshift runs the OpenShift extended test suite.

Package openshift runs the OpenShift extended test suite.

Package openshift runs the OpenShift extended test suite.

Package openshift runs the OpenShift extended test suite.

Package openshift contains the OpenShift extended test suite.

Index

Constants

This section is empty.

Variables

View Source
var BuildE2EConfig = E2EConfig{
	OutputDir: "/test-run-results",
	TestCmd:   "run",
	Tarball:   true,
	Suite:     "openshift/image-ecosystem",
	Env: []string{
		"DELETE_NAMESPACE=false",
	},
	Flags: []string{
		"--include-success",
		"--junit-dir=" + runner.DefaultRunner.OutputDir,
	},
}

BuildE2EConfig is the base configuration for the E2E run.

View Source
var DefaultE2EConfig = E2EConfig{
	OutputDir: "/test-run-results",
	TestCmd:   "run",
	Tarball:   false,
	Suite:     "kubernetes/conformance",
	Flags: []string{
		"--include-success",
		"--junit-dir=" + runner.DefaultRunner.OutputDir,
	},
	Name:      "kubernetes-conformance",
	CA:        "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt",
	TokenFile: "/var/run/secrets/kubernetes.io/serviceaccount/token",
}

DefaultE2EConfig is the base configuration for E2E runs.

Functions

This section is empty.

Types

type E2EConfig

type E2EConfig struct {
	// Env defines any environment variable settings in name=value pairs to control the test process
	Env []string

	// TestCmd determines which suite the runner executes.
	TestCmd string

	// Tarball determines whether the results should be tar'd or not
	Tarball bool

	// Suite to be run inside the runner.
	Suite string

	// TestNames explicitly specify which tests to run as part of the suite. No other tests will be run.
	TestNames []string

	// Flags to run the suite with.
	Flags []string

	// Output Dir is where e2e tests serve up results
	OutputDir string

	Name      string
	TokenFile string
	CA        string
}

E2EConfig defines the behavior of the extended test suite.

func (E2EConfig) Cmd

func (c E2EConfig) Cmd() string

Cmd returns a shell command which runs the suite.

Directories

Path Synopsis
Package hypershift runs test units for hypershift clusters
Package hypershift runs test units for hypershift clusters

Jump to

Keyboard shortcuts

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