diff --git a/contracts/go/seats/meshpipelinerunner/contract.go b/contracts/go/seats/meshpipelinerunner/contract.go index 9be24bfd..7b0bfe66 100644 --- a/contracts/go/seats/meshpipelinerunner/contract.go +++ b/contracts/go/seats/meshpipelinerunner/contract.go @@ -522,6 +522,7 @@ const ( // The values of PipelineStartedStepsItem's step. const ( + PipelineStartedStepsItemStepBuild = "build" PipelineStartedStepsItemStepLint = "lint" PipelineStartedStepsItemStepUnit = "unit" PipelineStartedStepsItemStepIntegration = "integration" @@ -820,6 +821,7 @@ type WhyCarriedInput struct { // The values of WhyCarriedInput's step. const ( + WhyCarriedInputStepBuild = "build" WhyCarriedInputStepLint = "lint" WhyCarriedInputStepUnit = "unit" WhyCarriedInputStepIntegration = "integration" @@ -881,6 +883,7 @@ type RerunInput struct { // The values of RerunInput's step. const ( + RerunInputStepBuild = "build" RerunInputStepLint = "lint" RerunInputStepUnit = "unit" RerunInputStepIntegration = "integration" @@ -907,6 +910,7 @@ type AcceptInput struct { // The values of AcceptInput's step. const ( + AcceptInputStepBuild = "build" AcceptInputStepLint = "lint" AcceptInputStepUnit = "unit" AcceptInputStepIntegration = "integration" diff --git a/contracts/seats/mesh-pipeline-runner/seat.json b/contracts/seats/mesh-pipeline-runner/seat.json index 10734bbb..01778d80 100644 --- a/contracts/seats/mesh-pipeline-runner/seat.json +++ b/contracts/seats/mesh-pipeline-runner/seat.json @@ -215,6 +215,7 @@ "step": { "type": "string", "enum": [ + "build", "lint", "unit", "integration", @@ -347,6 +348,7 @@ "step": { "type": "string", "enum": [ + "build", "lint", "unit", "integration", @@ -398,6 +400,7 @@ "step": { "type": "string", "enum": [ + "build", "lint", "unit", "integration", @@ -1157,6 +1160,7 @@ "step": { "type": "string", "enum": [ + "build", "lint", "unit", "integration", diff --git a/contracts/ts/seats/meshpipelinerunner/index.d.ts b/contracts/ts/seats/meshpipelinerunner/index.d.ts index bff695ca..73c3dcb1 100644 --- a/contracts/ts/seats/meshpipelinerunner/index.d.ts +++ b/contracts/ts/seats/meshpipelinerunner/index.d.ts @@ -251,7 +251,7 @@ export interface PipelineEnded { export interface PipelineStartedStepsItem { "artifact"?: string; "status": "required" | "optional" | "bypass"; - "step": "lint" | "unit" | "integration" | "composition" | "review" | "approval"; + "step": "build" | "lint" | "unit" | "integration" | "composition" | "review" | "approval"; } /** a pipeline's start */ @@ -474,7 +474,7 @@ export interface WhyCarriedInput { "artifact"?: string; /** the pipeline's key */ "pipeline": string; - "step": "lint" | "unit" | "integration" | "composition" | "review" | "approval"; + "step": "build" | "lint" | "unit" | "integration" | "composition" | "review" | "approval"; } /** is what why-carried answers. */ @@ -517,7 +517,7 @@ export interface RerunInput { "artifact"?: string; /** the pipeline's key */ "pipeline": string; - "step": "lint" | "unit" | "integration" | "composition" | "review" | "approval"; + "step": "build" | "lint" | "unit" | "integration" | "composition" | "review" | "approval"; /** why, written with the caller the runtime proves in the hand-act log */ "why": string; } @@ -533,7 +533,7 @@ export interface AcceptInput { "artifact"?: string; /** the pipeline's key */ "pipeline": string; - "step": "lint" | "unit" | "integration" | "composition" | "review" | "approval"; + "step": "build" | "lint" | "unit" | "integration" | "composition" | "review" | "approval"; /** why, written with the caller the runtime proves in the hand-act log */ "why": string; } diff --git a/modules/mesh-delivery-pipeline/manifest_test.go b/modules/mesh-delivery-pipeline/manifest_test.go index 7d3bf590..ed457e40 100644 --- a/modules/mesh-delivery-pipeline/manifest_test.go +++ b/modules/mesh-delivery-pipeline/manifest_test.go @@ -71,7 +71,10 @@ func TestManifest(t *testing.T) { // RN3 (§53, §334): a publication's dependents behind. "seat:mesh-catalog.outdated", // A-74, A-89: who holds the seat operator-channel, whose state asks holds the router's record of the approval ask. - "seat:mesh-module-assigner.assignments"})}, + "seat:mesh-module-assigner.assignments", + // A-102 (§22, §24): the accepted kinds the runner puts its steps on. + "seat:mesh-builds.step", "seat:mesh-wants.step", "seat:node-build-go.check.step", "seat:node-build-node.check.step", + "seat:node-build-image.check.step"})}, {"uses operator-channel", equalSets(m.Uses, []string{"operator-channel"})}, {"first-view tools", equalSets(m.Tools, []string{"pipeline_first_views", "pipeline_first_view_again"})}, // RN1/AC5 (§95, §130): the new assigner is delivered before the runner. diff --git a/modules/mesh-delivery-pipeline/module.json b/modules/mesh-delivery-pipeline/module.json index b51b9a70..5ead274a 100644 --- a/modules/mesh-delivery-pipeline/module.json +++ b/modules/mesh-delivery-pipeline/module.json @@ -45,7 +45,12 @@ "seat:mesh-catalog.revision", "seat:mesh-hand-acts.hand-act", "seat:mesh-catalog.outdated", - "seat:mesh-module-assigner.assignments" + "seat:mesh-module-assigner.assignments", + "seat:mesh-builds.step", + "seat:mesh-wants.step", + "seat:node-build-go.check.step", + "seat:node-build-node.check.step", + "seat:node-build-image.check.step" ], "uses": [ "operator-channel"