Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions enterprise/server/workflow/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ type Action struct {
PlatformProperties map[string]string `yaml:"platform_properties"`
Steps []*rnpb.Step `yaml:"steps"`
Timeout *time.Duration `yaml:"timeout"`
// Whether the BuildBuddy CLI (`bb`) should be used as the bazel command for this action.
// If set, this overrides the repo-level setting.
BazelUseCLI *bool `yaml:"bazel_use_cli"`

// DEPRECATED: Used `Steps` instead
DeprecatedBazelCommands []string `yaml:"bazel_commands"`
Expand Down
6 changes: 6 additions & 0 deletions server/tables/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,12 @@ type GitRepository struct {
// running for a git repo when it is linked.
UseDefaultWorkflowConfig bool `gorm:"not null;default:0"`

// UseCLIInRemoteRunners determines whether the BuildBuddy CLI (`bb`) should be
// used as the bazel command on remote runners for this repo.
// Otherwise they will use `bazelisk` by default.
// This can be overridden per-workflow via the bazel_use_cli field in buildbuddy.yaml.
UseCLIInRemoteRunners bool `gorm:"not null;default:1"`

// The ID of the BuildBuddy Github app this repository was authorized for.
// (i.e. either the read-only or the read-write app)
AppID int64
Expand Down
Loading