Documentation
¶
Overview ¶
Package wrapper contains utilities for the processes that wrap the test execution in a ProwJob test container
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForMarkers ¶
func WaitForMarkers(ctx context.Context, paths ...string) map[string]MarkerResult
Types ¶
type MarkerResult ¶
type Options ¶
type Options struct {
// Args is the process and args to run
Args []string `json:"args,omitempty"`
// ContainerName will contain the name of the container
// for the wrapped test process
ContainerName string `json:"container_name,omitempty"`
// ProcessLog will contain std{out,err} from the
// wrapped test process
ProcessLog string `json:"process_log"`
// MarkerFile will be written with the exit code
// of the test process or an internal error code
// if the entrypoint fails.
MarkerFile string `json:"marker_file"`
// MetadataFile is a file generated by the job,
// and contains job metadata info like node image
// versions for rendering in other tools like
// testgrid/gubernator.
// Prow will parse the file and merge it into
// the `metadata` field in finished.json
MetadataFile string `json:"metadata_file"`
}
Options exposes the configuration options used when wrapping test execution
Click to show internal directories.
Click to hide internal directories.