Files
mesh-delivery/modules/mesh-delivery-builder/buildrun/names.go
T

17 lines
834 B
Go

package buildrun
// The holders' states the runner reads, named from the builder's own manifest (module.json `reads`; a unit row of the
// builder checks them against it) and from the build seats' states: a bucket is `<holder module>_<state>`, and no contract
// names a holder (novox/hq ADR 0625 §4, ADR 0634 §1).
const (
// AssignmentsBucket is the assigner's state assignments, which the toolchain gate reads for the placing of a build module.
AssignerModule = "mesh-delivery-assigner"
AssignmentsBucket = AssignerModule + "_assignments"
)
// StepsBucket is the bucket of a build module's state steps.
func StepsBucket(module string) string { return module + "_steps" }
// ToolchainsBucket is the bucket of a build module's state toolchains.
func ToolchainsBucket(module string) string { return module + "_toolchains" }