/microshift-release:check-bootc-advisory <version> [-s | -p | -s -p] [--json]from microshift-release
Verifies Konflux-built bootc image advisory readiness for MicroShift release shipment. Checks image presence, Pyxis catalog entries, and shipment MR approval.
Ships in microshift-release. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/microshift-release:check-bootc-advisory <version> [-s | -p | -s -p] [--json]
Step 3 of the MicroShift release process: verify that the Konflux-built bootc
image advisory is ready for QE sign-off and shipping. For the RPM advisory in the
Errata Tool, use /microshift-release:check-rpm-errata (step 4).
Validates three data sources:
All per-image checks run independently per variant (arch + RHEL version). For versions 4.22.2+, both el9 and el10 bootc images are checked. Repository names are version-aware (openshift4 for 4.x, openshift5 for 5.x).
Supports Z-stream, X/Y GA, RC, and EC release types. Requires version 4.18+.
| Requirement | Needed for | Mandatory? |
|---|---|---|
| VPN | GitLab API, Brew | Yes |
GITLAB_API_TOKEN | Shipment MR, approval check | Yes |
| Internet | Pyxis catalog queries (GraphQL) | Yes |
version (required): Full version string (4.18+)
4.20.264.22.04.22.0-rc.25.0.0-ec.3-s/--stage (optional): Check stage catalog and shipment errata (common checks always included)-p/--prod (optional): Check prod catalog and shipment errata (common checks always included)--json (optional): Output raw JSONIf neither --stage nor --prod is provided, both are checked by default. Either can be passed alone to scope the run.
SCRIPTS_DIR=plugins/microshift-release/scripts
version from $ARGUMENTS — the first non-flag token-s/--stage, -p/--prod, and --json flags if presentbash $SCRIPTS_DIR/check_bootc-advisory.sh <version> <stage/prod flags> [--json]
Forward the -s/-p flags the user provided. If neither was supplied, default to checking both — pass -s -p. Display stderr only if the script exits non-zero.
Paste the complete stdout of the script into the response as a code block. Every check line must be visible to the user. Do not summarize, abbreviate, or replace the output with commentary.
If the script exits non-zero:
export GITLAB_API_TOKEN=<token> for shipment MR and approval checksAll per-image checks run independently per variant ({arch}_el{rhel}). For versions < 4.22.2 only el9 is checked; for 4.22.2+ both el9 and el10.
{arch}_el{rhel}_*)From advisory.yaml (rhtap-release/advisories/.../advisory.yaml):
| Check | Description |
|---|---|
{v}_advisory_image_present | Variant is present in spec.content.images |
{v}_advisory_repository | Image references the correct registry.stage.redhat.io/openshift{major}/microshift-bootc-rhel{rhel} |
{v}_advisory_image_sha | Advisory contains a non-empty image SHA for this variant |
From Pyxis catalog (GraphQL API, both stage and prod):
| Check | Description |
|---|---|
{v}_catalog_stage_present | Image found in stage catalog |
{v}_catalog_stage_tag_commit | Assembly tag commit hash matches stage catalog image labels |
{v}_catalog_stage_tag_date | Assembly tag contains a valid build date timestamp (stage) |
{v}_catalog_stage_no_xy0_tag | Z-stream only: no X.Y.0 assembly tag on stage image |
{v}_catalog_stage_chi | Container Health Index grade is A (stage) |
{v}_catalog_prod_present | Image found in prod catalog (skipped in stage mode / EC/RC) |
{v}_catalog_prod_tag_commit | Assembly tag commit hash matches prod catalog image labels |
{v}_catalog_prod_tag_date | Assembly tag contains a valid build date timestamp (prod) |
{v}_catalog_prod_no_xy0_tag | Z-stream only: no X.Y.0 assembly tag on prod image |
{v}_catalog_prod_chi | Container Health Index grade is A (prod) |
From advisory.yaml:
| Check | Description |
|---|---|
advisory_type | spec.type is RHBA/RHSA (z-stream, EC, RC) or RHEA (X.Y.0) |
advisory_sha_distinct_el{rhel} | amd64 and arm64 SHAs are different per RHEL version |
From shipment MR (ocp-shipment-data GitLab repo):
| Check | Description |
|---|---|
shipment_type | releaseNotes.type matches expected advisory type |
shipment_filename | YAML path matches shipment/ocp/openshift-{minor}/.../{version}.microshift-bootc.{timestamp}.yaml |
shipment_nvr_commit | Commit hash in shipment snapshot.nvrs matches the Brew RPM build commit |
shipment_mr_approved | Shipment MR has required approvals |
Short (default): All checks shown, grouped by variant. Skipped checks use ⏭️.
Advisory Promotion: 4.20.26
── amd64_el9 ───────────────────────────────────────────────
✅ amd64_el9_advisory_image_present amd64/el9 present
✅ amd64_el9_advisory_repository registry.stage.redhat.io/openshift4/microshift-bootc-rhel9
✅ amd64_el9_advisory_image_sha sha256:f839eb91f716
...
── Global ──────────────────────────────────────────────────
✅ advisory_type spec.type = RHBA
✅ shipment_mr_approved MR !594 approved by tlove, knarra, adobes
/microshift-release:check-bootc-advisory 4.20.26 # stage + prod (default)
/microshift-release:check-bootc-advisory 4.20.26 -s # stage only
/microshift-release:check-bootc-advisory 4.20.26 -p # prod only
/microshift-release:check-bootc-advisory 4.20.26 -s -p # all checks (explicit)
/microshift-release:check-bootc-advisory 4.22.2 -s -p # el9 + el10
/microshift-release:check-bootc-advisory 4.20.26 -s --json # machine-readable
--json for machine-readable JSON outputWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
microshift, release-process, bootc-image, advisory-check, konflux
8 skills in this plugin
/analyze-zstream-to-releasemicroshift-release:analyze-zstream-to-releaseStep 0a before requesting builds — evaluate OCP releases and whether MicroShift should release/check-artifactsmicroshift-release:check-artifactsStep 1 after ART builds — validate RPMs and bootc images before release testing/check-published-releasemicroshift-release:check-published-releaseOther plugins' skills for the same job
npx claudepluginhub openshift-eng/edge-tooling --plugin microshift-release