build

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

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
}

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

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