16 lines
785 B
Go
16 lines
785 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 (
|
|
// PlacementBucket is the assigner's state placement, which the toolchain gate reads for the placing of a build module.
|
|
PlacementBucket = "mesh-delivery-assigner_placement"
|
|
)
|
|
|
|
// 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" }
|