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 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.
Click to show internal directories.
Click to hide internal directories.