bazel

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies added in v0.28.0

func GetDependencies(ctx context.Context, dir string, a *latestV1.BazelArtifact) ([]string, error)

GetDependencies finds the sources dependencies for the given bazel artifact. All paths are relative to the workspace.

Types

type Builder

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

Builder is an artifact builder that uses Bazel

func NewArtifactBuilder added in v1.1.0

func NewArtifactBuilder(localDocker docker.LocalDaemon, cfg docker.Config, pushImages bool) *Builder

NewArtifactBuilder returns a new bazel artifact builder

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, out io.Writer, artifact *latestV1.Artifact, tag string) (string, error)

Build builds an artifact with Bazel.

Jump to

Keyboard shortcuts

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