Documentation
¶
Overview ¶
Package build implements a common system for building kubernetes for deployers to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CommonTestBinaries = []string{
"kubectl",
"e2e.test",
"ginkgo",
}
)
Functions ¶
func StoreCommonBinaries ¶
StoreCommonBinaries will best effort try to store commonly built binaries to the output directory
Types ¶
type BuildAndStageStrategy ¶
type BuildAndStageStrategy string //nolint:revive
ignore package name stutter
const ( // MakeStrategy builds using make and (optionally) stages using krel MakeStrategy BuildAndStageStrategy = "make" )
type Krel ¶
type MakeBuilder ¶
func (*MakeBuilder) Build ¶
func (m *MakeBuilder) Build() (string, error)
Build builds kubernetes with the quick-release make target
type NoopBuilder ¶
type NoopBuilder struct{}
func (*NoopBuilder) Build ¶
func (n *NoopBuilder) Build() (string, error)
type NoopStager ¶
type NoopStager struct{}
func (*NoopStager) Stage ¶
func (n *NoopStager) Stage(string) error
type Options ¶
type Options struct { Strategy string `flag:"~strategy" desc:"Determines the build strategy to use either make or bazel."` StageLocation string `flag:"~stage" desc:"Upload binaries to gs://bucket/ci/job-suffix if set"` RepoRoot string `flag:"-"` ImageLocation string `flag:"~image-location" desc:"Image registry where built images are stored."` StageExtraGCPFiles bool `flag:"-"` VersionSuffix string `flag:"-"` UpdateLatest bool `flag:"~update-latest" desc:"Whether should upload the build number to the GCS"` TargetBuildArch string `flag:"~target-build-arch" desc:"Target architecture for the test artifacts for dockerized build"` Builder Stager }
Click to show internal directories.
Click to hide internal directories.