Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateSource ¶
func AnnotateSource(evtID string, src *Source) func(*pipelinev1.PipelineRun)
func Convert ¶
func Convert(p *ci.Pipeline, log logger.Logger, config *Configuration, src *Source, volumeClaimName string, ctx *cel.Context, id string) (*pipelinev1.PipelineRun, error)
Convert takes a Pipeline definition, a name, source and volume claim name, and generates a TektonCD PipelineRun with an embedded Pipeline with the tasks to execute.
Types ¶
type Configuration ¶
type Configuration struct {
ArchiverImage string // Executed for tasks that have artifacts to archive.
ArchiveURL string // Passed to the archiver along with the artifact paths.
PipelineRunPrefix string // Used in the generateName property of the created PipelineRun.
DefaultServiceAccountName string // The default service account for created PipelineRuns.
VolumeSize resource.Quantity // The size to create volumes as.
}
Configuration provides options for the conversion to PipelineRuns.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements the GitEventHandler interface and processes .tekton_ci.yaml files in a repository.
Click to show internal directories.
Click to hide internal directories.