build

package
v0.0.0-...-2637cd7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBuild     = errors.New("invalid build")
	ErrInvalidPipeline  = errors.New("invalid project")
	ErrInvalidProject   = errors.New("invalid pipeline")
	ErrInvalidSecrets   = errors.New("invalid secrets")
	ErrInvalidVariables = errors.New("invalid variables")
)

Functions

func AppendLog

func AppendLog(ctx *Context, idx int, command, output string)

Types

type Context

type Context struct {
	Build           model.Build
	Pipeline        model.Pipeline
	Project         model.Project
	GlobalVariables []model.Variable
	GlobalSecrets   []model.Secret
	Worker          model.Worker
}

func Init

func Init(buildID uuid.UUID) (Context, error)

func (*Context) CreateEnvSteps

func (ctx *Context) CreateEnvSteps() error

Jump to

Keyboard shortcuts

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