pipelinemanager

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobMessagePending    = "Job is running"
	JobMessageSuccessful = "Job succeeded"
	JobMessageFailure    = "Job failed"
)

Job messages

View Source
const DefaultWorkingDir = "/tekton/home/integ-source"

DefaultWorkingDir is a default value for 'working directory' of a container (tekton's step)

Variables

This section is empty.

Functions

func Name

func Name(j *cicdv1.IntegrationJob) string

Name is a PipelineRun's name for the IntegrationJob j

func ParseBaseFromDescription added in v0.3.0

func ParseBaseFromDescription(desc string) string

ParseBaseFromDescription parses a SHA from the commit status's description

Types

type PipelineManager added in v0.2.0

type PipelineManager struct {
	Client client.Client
	Scheme *runtime.Scheme
}

PipelineManager manages pipelines

func (*PipelineManager) Generate added in v0.2.0

Generate generates (but not creates) a PipelineRun object

func (*PipelineManager) ReflectStatus added in v0.2.0

ReflectStatus reflects PipelineRun's status into IntegrationJob's status It also set commit status for remote git server

Jump to

Keyboard shortcuts

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