build

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCloudbuildFile = "cloudbuild.yaml"
)

Variables

This section is empty.

Functions

func GetJobsByTag added in v0.4.0

func GetJobsByTag(project, tagsFilter string) ([]*cloudbuild.Build, error)

func ListJobs added in v0.2.7

func ListJobs(project string, lastJobs int64) error

func PrepareBuilds added in v0.2.4

func PrepareBuilds(o *Options) error

func RunBuildJobs

func RunBuildJobs(o *Options) []error

func RunSingleJob

func RunSingleJob(o *Options, jobName, uploaded, version string, subs map[string]string) error

Types

type Options

type Options struct {
	BuildDir       string
	ConfigDir      string
	CloudbuildFile string
	LogDir         string
	ScratchBucket  string
	Project        string
	AllowDirty     bool
	NoSource       bool
	Async          bool
	DiskSize       string
	Variant        string
	EnvPassthrough string
	// contains filtered or unexported fields
}

TODO: Pull some of these options in cmd/gcbuilder, so they don't have to be public.

func NewDefaultOptions added in v0.6.0

func NewDefaultOptions() *Options

NewDefaultOptions returns a new default `*Options` instance.

func (*Options) ValidateConfigDir

func (o *Options) ValidateConfigDir() error

Jump to

Keyboard shortcuts

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