Help us shape the future of Go! Take the 2026 Go Developer Survey

status

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErorrRE = regexp.MustCompile(`timed out|ERROR:|(FAIL|Failure \[)\b|panic\b|^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]`)
)

snatched from prow https://github.com/kubernetes/test-infra/blob/3c8cbed65c421670a7d37239b8ffceb91e0eb16b/prow/spyglass/lenses/buildlog/lens.go#L95

Functions

func CollectTaskInfos

func CollectTaskInfos(ctx context.Context, cs *params.Run, pr tektonv1beta1.PipelineRun) map[string]pacv1alpha1.TaskInfos

CollectTaskInfos collects all tasks information we are interested in.

func MixLivePRandRepoStatus

func MixLivePRandRepoStatus(ctx context.Context, cs *params.Run, repository pacv1alpha1.Repository) []pacv1alpha1.RepositoryRunStatus

func RepositoryRunStatusRemoveSameSHA

func RepositoryRunStatusRemoveSameSHA(rs []pacv1alpha1.RepositoryRunStatus, livePrSHA string) []pacv1alpha1.RepositoryRunStatus

RepositoryRunStatusRemoveSameSHA remove an existing status with the same SHA. This would come from repo pipelinerun_status. We don't want the doublons and we rather use the ones from the live PR on cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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