一键导入
microshift-release-automated-testing
Run the full Prow CI release testing workflow — create PR, trigger jobs, check status, merge PR, download and upload artifacts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full Prow CI release testing workflow — create PR, trigger jobs, check status, merge PR, download and upload artifacts
用 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
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
Download Prow job artifacts, identify root cause of failure, and produce a structured error report
| name | microshift-release:automated-testing |
| argument-hint | <version> |
| description | Run the full Prow CI release testing workflow — create PR, trigger jobs, check status, merge PR, download and upload artifacts |
| user-invocable | true |
| allowed-tools | Bash |
/microshift-release:automated-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/prow_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 |
<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}/prow_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 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}/prow_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}/prow_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}/prow_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}/prow_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}/prow_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}/prow_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}/prow_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:automated-testing 4.21.3 # run full workflow
/microshift-release:automated-testing 4.22.0-rc.1 # RC version
/microshift-release:automated-testing 4.22.0-ec.5 # EC version