fix(cicd): 收紧 PaC admission 更新与探针
This commit is contained in:
@@ -400,6 +400,11 @@ function extractPacSourceObservation(recordsInput) {
|
||||
reason = "delivery-terminal-evidence-incomplete";
|
||||
}
|
||||
|
||||
const planMarkerSource = plan?.event === "pac-delivery-plan"
|
||||
? "pac-delivery-plan-structured-log"
|
||||
: plan?.event === "g14-ci-plan"
|
||||
? "g14-ci-plan-structured-log"
|
||||
: "delivery-plan-structured-log";
|
||||
return {
|
||||
schemaVersion: "v1",
|
||||
contract: plan?.event === "pac-delivery-plan" ? "pac-delivery-plan-v1" : "hwlab-g14-ci-plan",
|
||||
@@ -419,7 +424,7 @@ function extractPacSourceObservation(recordsInput) {
|
||||
gitopsPromote: promoteMarker !== null ? "no-build-no-rollout-plan" : promoteTask?.status || "missing",
|
||||
},
|
||||
terminalSources: {
|
||||
planArtifacts: terminalSource(planTask, plan, "observed", "g14-ci-plan-structured-log"),
|
||||
planArtifacts: terminalSource(planTask, plan, "observed", planMarkerSource),
|
||||
collectArtifacts: terminalSource(collectTask, collectMarker),
|
||||
gitopsPromote: terminalSource(promoteTask, promoteMarker),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user