/microshift-release:run-ci-testing <version>from microshift-release
Runs Prow CI release testing for MicroShift (4.21+). Checks CI cache, creates PRs, downloads artifacts, and uploads results.
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:run-ci-testing <version>
Runs the full Prow CI release testing workflow for MicroShift (Phase 2 of the release process). Supports 4.21+ only — earlier versions use Jenkins pipelines.
The skill walks through all steps sequentially, skipping steps that are already complete. For running individual actions manually, use the bash script directly:
bash plugins/microshift-release/scripts/run_ci-testing.sh <action> <version> [--execute]
| Requirement | Needed for | Mandatory? |
|---|---|---|
aws CLI (configured) | Step 0 (preflight), Step 5 (upload) | Yes |
gh CLI (authenticated) | All PR operations | Yes |
GitHub fork of openshift/microshift | Step 1 (create PR) | Yes |
gsutil CLI | Step 4 (download) | Yes |
AWS CLI credentials can come from its standard provider chain, including the
default credentials file, a named AWS_PROFILE, SSO, or environment variables.
Use AWS_SHARED_CREDENTIALS_FILE for an AWS-format credentials file outside the
default location. Set AWS_CONFIG_FILE only when the profile definition itself
lives in an alternate config file, such as SSO or role settings; a named profile
defined in the credentials file is discovered without it.
SSO profiles may require aws sso login --profile <profile> first. The selected
identity also needs access to the build-cache and results buckets. If your
credentials live in a shell environment file rather than an AWS-format file, load
them before starting the assistant or script, and only from a trusted file:
set -a; source /path/to/trusted-env-file; set +a. Environment variables can
override profile credentials.
Run aws sts get-caller-identity in the same environment to diagnose
authentication; do not display credential values or commit credential files.
<version> (required): MicroShift version (X.Y.Z, X.Y.Z-rc.N, or X.Y.Z-ec.N). Must be 4.21+.SCRIPTS_DIR=plugins/microshift-release/scripts
Execute each step in order. Redirect stderr to /dev/null for all commands — stderr only contains progress messages. On non-zero exit, re-run without suppressing stderr and display the error.
Run bash ${SCRIPTS_DIR}/run_ci-testing.sh preflight <version>. Parse the JSON output:
"status": "pass" — display the message and continue to Step 1."status": "warn" — display each check's status and reason. Ask the user if they want to proceed.
"status": "fail" — display each check's status, reason, and details. Stop the workflow.
For aws_auth failure: diagnose the AWS CLI configuration and network access; do not ask the user to share credentials. The cache check is skipped until authentication succeeds.
For s3_rpms failure: tell the user to refresh the build cache by posting these comments on the PR (create the PR first if needed):
/test e2e-aws-tests-cache
/test e2e-aws-tests-cache-arm
The PR is always created in draft state. Run bash ${SCRIPTS_DIR}/run_ci-testing.sh create-pr <version> without --execute first. Parse the JSON output:
"status": "exists" — display the message and continue to Step 2."status": "plan" — display the plan and ask for confirmation.
--execute and display the result.Run bash ${SCRIPTS_DIR}/run_ci-testing.sh trigger <version> without --execute first. Parse the JSON output:
"status": "skip" — no jobs to trigger, display the message and continue to Step 3."status": "plan" — display the plan and ask for confirmation.
--execute and display the result, then continue to Step 3.Run bash ${SCRIPTS_DIR}/run_ci-testing.sh status <version>.
Display the output verbatim — it is a pre-formatted table. Do not reformat it.
If all jobs finished, run scenario validation:
Run bash ${SCRIPTS_DIR}/run_ci-testing.sh scenarios <version>. Parse the JSON output:
message field (summary of jobs, scenarios, pass/fail/skip counts).release_under_test and scenario counts.skipped_scenarios — display them as warnings.failed_scenarios — display them."status": "fail" — display the message and stop the workflow. Possible causes:
release_under_test does not match the target version for a job."status": "pass" — continue to Step 4.If not all jobs passed, stop the workflow.
Run bash ${SCRIPTS_DIR}/run_ci-testing.sh download <version> without --execute first. Parse the JSON output:
"status": "plan" — display the plan (jobs to download, destination directory) and ask for confirmation.
--execute and display the result.Run bash ${SCRIPTS_DIR}/run_ci-testing.sh upload <version> without --execute first. Parse the JSON output:
"status": "plan" — display the plan (tar.gz name, S3 destination) and ask for confirmation.
--execute and display the result (public URL).Run bash ${SCRIPTS_DIR}/run_ci-testing.sh complete <version> without --execute first. Parse the JSON output:
"status": "plan" — display the plan (post comment, close PR, delete branch) and ask for confirmation.
--execute and display the result.The script exits non-zero with a JSON message field. Common errors:
| Error | Cause |
|---|---|
| Version < 4.21 | Jenkins pipelines, not Prow CI |
| Nightly version | Phase 2 does not apply |
gh failure | Not authenticated or no permissions |
git push failure | Fork of openshift/microshift doesn't exist, or no push access |
| Branch exists | Delete it or use existing PR |
gsutil not found | Install Google Cloud SDK |
aws not found | Install and configure AWS CLI |
/microshift-release:run-ci-testing 4.21.3 # run full workflow
/microshift-release:run-ci-testing 4.22.0-rc.1 # RC version
/microshift-release:run-ci-testing 4.22.0-ec.5 # EC version
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-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 validationnpx claudepluginhub openshift-eng/edge-tooling --plugin microshift-releaseOther plugins' skills for the same job