/microshift-release:check-artifacts <version> [--verbose]from microshift-release
Validates RPMs and bootc images produced by ART for a MicroShift release. Phase 1 of the release process checking Brew builds, NVR format, commit provenance, RHEL variants, mirror availability, and image SHA consistency.
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-artifacts <version> [--verbose]
Phase 1 of the MicroShift release process: verify that ART produced correct RPMs and bootc images for a given release. Checks Brew builds, NVR format, commit provenance, RHEL variants, mirror availability, shipment MR, stage catalog, and bootc image SHA consistency.
Supports all release types: X/Y (GA), Z (z-stream), RC, EC, and nightly. This is distinct from the run-ci-testing preflight, which checks the S3 build cache and CI authentication.
| Requirement | Needed for | Mandatory? |
|---|---|---|
| VPN | Brew RPM checks, git commit verification | Yes — Brew checks WARN and degrade without it |
GITLAB_API_TOKEN | Shipment MR checks (bootc_shipment_*) | No — bootc MR checks WARN and skip without it |
| Internet (mirrors) | rpm_mirror_*, bootc_mirror_* | Yes for RC/EC mirror checks |
version (required): Full version string
4.21.84.22.04.22.0-rc.24.22.0-ec.54.21.0-0.nightly-2026-03-23-021947--verbose (optional): Show detailed markdown report with evidence per checkSCRIPTS_DIR=plugins/microshift-release/scripts
version from $ARGUMENTS — the first non-flag token--verbose and --json flags if presentbash $SCRIPTS_DIR/check_artifacts.sh <version> [--verbose]
Display stderr only if the script exits non-zero.
Display output verbatim — do not reformat, summarize, or add commentary. The script produces deterministic pre-formatted text.
If the script exits non-zero:
export GITLAB_API_TOKEN=<token> for shipment MR checks| Check | Description |
|---|---|
rpm_packages_list | All expected RPM packages present in Brew build |
rpm_filename_format | NVR matches expected pattern for this release type |
rpm_commit_id | Commit hash from NVR is on the correct release-X.Y branch |
rpm_rhel_version | Required RPM variants are present; el9 through 5.1, el10 from 5.2 onward |
rpm_mirror_ec | EC only: RPMs available at mirror.openshift.com/ocp-dev-preview/ |
rpm_mirror_rc | RC only: RPMs available at mirror.openshift.com/ocp/ |
rpm_xy0_commit_match | X.Y.0 only: commit matches the latest RC commit |
| Check | Description |
|---|---|
bootc_shipment_mr | Shipment MR exists in ocp-shipment-data GitLab repo |
bootc_shipment_yaml_count | Exactly 1 YAML file in the MR |
bootc_shipment_xy0_type | X/Y.0 only: spec.type == RHEA |
bootc_shipment_xy0_release_notes | X/Y.0 only: releaseNotes.solution URL present |
bootc_stage_advisory_url | environments.stage.advisory.internal_url present |
bootc_catalog | Image published in catalog (stage or prod) |
bootc_prod_xy0_type | X/Y.0 only: releaseNotes.type == RHEA |
bootc_prod_advisory_url | X/Y.0 only: environments.prod.advisory.internal_url present |
bootc_image_sha_match | RC/EC only: pullspec SHA matches advisory YAML SHA |
bootc_mirror_ec | EC only: bootc-pullspec.txt at mirror/ocp-dev-preview/ |
bootc_mirror_rc | RC only: bootc-pullspec.txt at mirror/ocp/ |
Short (default): Only actionable checks are shown. Skipped checks (not applicable for the release type) are hidden and summarized as a count. Details are shown only on failure.
Validating 4.21.8
── RPM ──────────────────────────────────────────────────────
✅ rpm_packages_list All 7 expected packages found in Brew
✅ rpm_filename_format NVR matches Z pattern
✅ rpm_commit_id Commit abc1234 from 2026-05-08 is on release-4.21
✅ rpm_rhel_version el9 build present (el10 RPMs not required for this stream)
── Bootc ────────────────────────────────────────────────────
✅ bootc_shipment_mr MR !1234: microshift 4.21.8 shipment
✅ bootc_shipment_yaml_count 1 YAML file in MR
✅ bootc_catalog Image found in prod catalog
(6 checks skipped — not applicable)
On failure, details appear below the failing check:
❌ rpm_packages_list 2 package(s) missing from Brew build
Missing: microshift-libs, microshift-selinux
Expected: microshift, microshift-libs, ...
Verbose (--verbose): Markdown table with full evidence per check (all checks shown including skips).
/microshift-release:check-artifacts 4.21.8 # Z-stream
/microshift-release:check-artifacts 4.22.0 # X/Y GA
/microshift-release:check-artifacts 4.22.0-rc.2 # Release Candidate
/microshift-release:check-artifacts 4.22.0-ec.5 # Engineering Candidate
/microshift-release:check-artifacts 4.21.8 --verbose # detailed report
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
microshift, release-validation, rpm-validation, bootc-images, art-builds
Other plugins' skills for the same job
npx claudepluginhub openshift-eng/edge-tooling --plugin microshift-release8 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-bootc-advisorymicroshift-release:check-bootc-advisoryStep 3 — check the bootc image advisory for QE sign-off before shipment/check-published-releasemicroshift-release:check-published-releaseStep 5 after shipment — verify public artifacts, errata, documentation, and lifecycle information/check-rpm-erratamicroshift-release:check-rpm-errataStep 4 — check the RPM advisory in Errata Tool for QE sign-off before shipment/release-versionsmicroshift-release:release-versionsOptional lookup of MicroShift version availability and artifact locations; not build validation/request-release-to-artmicroshift-release:request-release-to-artStep 0b after ASK ART — request MicroShift z-stream builds, create release-tracking tickets, or guide the manual alternative