pipelineascode

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompletedStatus = "completed"
)

Variables

View Source
var ErrFollowUpDefinitionNotFound = stderrors.New("follow-up definition not found in the .tekton directory")

ErrFollowUpDefinitionNotFound reports a follow-up definition that is not in the .tekton directory fetched at the event's pinned revision: removed after the event, or provenance drift. Permanent: the entry is skipped, not requeued.

Functions

func ResolveFollowUpDefinition added in v0.54.0

func ResolveFollowUpDefinition(ctx context.Context, run *params.Run, k8int kubeinteraction.Interface,
	eventEmitter *events.EventEmitter, logger *zap.SugaredLogger, vcx provider.Interface,
	event *info.Event, repo *v1alpha1.Repository, definitionName string, paramFilters map[string]string,
) (*tektonv1.PipelineRun, error)

ResolveFollowUpDefinition fetches the .tekton directory at the revision the event pinned and resolves the named definition the way the event-time matching did: template variables, remote tasks, the git auth secret. The returned PipelineRun is ready to be decorated and created.

The definition is re-resolved instead of stored on the entry, so no annotation size limit applies to it: in-repository content is pinned by the revision, remote tasks are fetched as they are at creation time.

Types

type ConcurrencyManager added in v0.15.0

type ConcurrencyManager struct {
	// contains filtered or unexported fields
}

func NewConcurrencyManager added in v0.15.0

func NewConcurrencyManager() *ConcurrencyManager

func (*ConcurrencyManager) AddPipelineRun added in v0.15.0

func (c *ConcurrencyManager) AddPipelineRun(pr *v1.PipelineRun)

func (*ConcurrencyManager) Enable added in v0.15.0

func (c *ConcurrencyManager) Enable()

func (*ConcurrencyManager) GetExecutionOrder added in v0.15.0

func (c *ConcurrencyManager) GetExecutionOrder() (string, []*v1.PipelineRun)

type PacRun

type PacRun struct {
	// contains filtered or unexported fields
}

func NewPacs

func NewPacs(event *info.Event, vcx provider.Interface, run *params.Run, pacInfo *info.PacOpts, k8int kubeinteraction.Interface, logger *zap.SugaredLogger, globalRepo *v1alpha1.Repository) PacRun

func (*PacRun) Run

func (p *PacRun) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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