feat(hwlab): bootstrap v02 OpenFGA prerequisites
This commit is contained in:
@@ -48,6 +48,18 @@ assertCondition(
|
||||
"v0.2 PR monitor help must expose the auto CI/CD lane, status query, latest-only CD, and dedupe comment state",
|
||||
hwlabG14Help(),
|
||||
);
|
||||
assertCondition(
|
||||
hwlabHelpUsage.some((line) => line.includes("secret status --lane v02 --name hwlab-v02-openfga"))
|
||||
&& hwlabHelpUsage.some((line) => line.includes("secret ensure --lane v02 --name hwlab-v02-openfga --confirm")),
|
||||
"v0.2 secret help must expose the controlled OpenFGA SecretRef bootstrap path",
|
||||
hwlabHelpUsage,
|
||||
);
|
||||
assertCondition(
|
||||
hwlabHelpUsage.some((line) => line.includes("upstream-image status --name openfga --tag v1.17.0"))
|
||||
&& hwlabHelpUsage.some((line) => line.includes("upstream-image ensure --name openfga --tag v1.17.0 --confirm")),
|
||||
"v0.2 help must expose the controlled OpenFGA upstream image mirroring path",
|
||||
hwlabHelpUsage,
|
||||
);
|
||||
|
||||
const v02CommentBody = v02PrAutomationCommentBody({
|
||||
pr: {
|
||||
|
||||
Reference in New Issue
Block a user