원클릭으로
microshift-release-validate-artifacts
Validate MicroShift built artifacts (RPMs and bootc images) produced by ART for a release
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Validate MicroShift built artifacts (RPMs and bootc images) produced by ART for a release
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Surface your daily task list — QA-ready tickets, sprint backlog, carry-over items, open PRs, RHEL verification queue, and quarterly reminders. Use at the start of your day to see what needs attention.
Show detailed info about a specific TODO task — its tracked links, notes, and live Jira/PR status. Use when the user asks about a task, wants context to resume work on it, or asks what's needed to finish a ticket. Not for listing all tasks (read the TODO file directly or use edge-ic:sprint-status for sprint-wide views)
End-of-week automation - review active work and prepare next week's TODO
Run the full Prow CI release testing workflow — create PR, trigger jobs, check status, merge PR, download and upload artifacts
Generate interactive PCP performance dashboard from a Prow job URL
Download Prow job artifacts, identify root cause of failure, and produce a structured error report
| name | microshift-release:validate-artifacts |
| argument-hint | <version> [--verbose] |
| description | Validate MicroShift built artifacts (RPMs and bootc images) produced by ART for a release |
| user-invocable | true |
| allowed-tools | Bash |
/microshift-release:validate-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.
| 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/validate.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 | Both el9 and el10 builds are present |
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 and el10 builds present
── 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:validate-artifacts 4.21.8 # Z-stream
/microshift-release:validate-artifacts 4.22.0 # X/Y GA
/microshift-release:validate-artifacts 4.22.0-rc.2 # Release Candidate
/microshift-release:validate-artifacts 4.22.0-ec.5 # Engineering Candidate
/microshift-release:validate-artifacts 4.21.8 --verbose # detailed report