用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/openshift/ocm-agent-operator --skill prow-ci命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | prow-ci |
| description | Access and analyze OpenShift Prow CI results for ocm-agent-operator |
| trigger | prow, prow-ci, /prow-ci, ci results, check ci |
This skill helps you access and analyze Prow CI results for the ocm-agent-operator repository.
# Invoke the skill
/prow-ci
# Or ask naturally:
"Check CI results for PR 255"
"What Prow jobs are failing?"
"Show me the CI status"
Main Dashboard: https://prow.ci.openshift.org/
CI Search: https://github.com/openshift/ci-search
Job History: https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator
# View recent PR jobs
curl -s "https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator&type=presubmit" | grep -E "pull-ci-openshift-ocm-agent-operator"
# Check latest job status for specific PR
# Replace PR_NUMBER with actual PR number
gh pr view PR_NUMBER --json statusCheckRollup --jq '.statusCheckRollup[] | select(.context | contains("prow"))'
Prow logs are stored at:
gs://test-platform-results/pr-logs/pull/openshift_ocm-agent-operator/[PR_NUMBER]/[JOB_NAME]/[JOB_ID]gs://test-platform-results/logs/[JOB_NAME]/[JOB_ID]Viewing logs via web:
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_ocm-agent-operator/[PR_NUMBER]/[JOB_NAME]/[JOB_ID]
# Get PR checks
gh pr view PR_NUMBER --json statusCheckRollup
# Find failed jobs
gh pr checks PR_NUMBER | grep -i "fail"
# Access specific job artifacts
# Navigate to Prow UI and click on:
# - Build Log (for compilation/test output)
# - JUnit (for structured test results)
# - Artifacts (for generated files, coverage, etc.)
Prow CI Jobs (configured in openshift/release):
pull-ci-openshift-ocm-agent-operator-master-e2e-binary-build-success - E2E binary build verificationpull-ci-openshift-ocm-agent-operator-master-coverage - Code coverage analysis (with Codecov)pull-ci-openshift-ocm-agent-operator-master-lint - Linting checkspull-ci-openshift-ocm-agent-operator-master-test - Unit testspull-ci-openshift-ocm-agent-operator-master-validate - Validation checksTekton Pipelines (configured in .tekton/):
ocm-agent-operator-pull-request - Main PR pipeline (docker build with OCI-TA)ocm-agent-operator-e2e-pull-request - E2E testing pipelineocm-agent-operator-pko-pull-request - PKO (Package Operator) pipeline-push pipelines for merged commitsgh pr checks PR_NUMBER
Open the Prow link from PR checks or construct manually:
https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator&type=presubmit
Click on failed job → "Build Log" tab
Look for:
Many Prow jobs can be reproduced with:
# For unit tests (matches: pull-ci-...-test)
make go-test
# For linting (matches: pull-ci-...-lint)
make go-check
# OR use pre-commit for comprehensive linting
pre-commit run --all-files
# For validation (matches: pull-ci-...-validate)
make validate
# For coverage (matches: pull-ci-...-coverage)
make coverage
# For E2E binary build (matches: pull-ci-...-e2e-binary-build-success)
make e2e-binary-build
# For container builds (Tekton pipelines)
make docker-build
This repo uses both Prow and Tekton for comprehensive CI:
Prow CI (openshift/release):
ci-operator/config/openshift/ocm-agent-operator/openshift-ocm-agent-operator-master.yamlocm-agent-operator-codecov-token).tekton/, .github/, .md files, OWNERS, LICENSE don't trigger most jobsTekton Pipelines (.tekton/):
openshift/boilerplate (docker-build-oci-ta pipeline)# Check all PR checks status
gh pr checks <PR_NUMBER>
# View detailed status for a specific PR
gh pr view <PR_NUMBER> --json statusCheckRollup
# Filter only Prow jobs
gh pr checks <PR_NUMBER> | grep "pull-ci-openshift-ocm-agent-operator"
# Check Tekton pipeline status
gh pr view <PR_NUMBER> --json statusCheckRollup --jq '.statusCheckRollup[] | select(.context | contains("Tekton"))'
# Open Prow dashboard in browser (cross-platform)
# Copy and paste this URL into your browser:
# https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator
# Or use platform-specific command:
# macOS: open "https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator"
# Linux: xdg-open "https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator"
# Windows: start "https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator"
# View specific PR on Prow (replace <PR_NUMBER>)
# https://prow.ci.openshift.org/?repo=openshift%2Focm-agent-operator&type=presubmit&pull=<PR_NUMBER>
pull-ci-openshift-ocm-agent-operator-master-*openshift_ocm-agent-operator (underscore, not dash)ocm-agent-operator-tenant namespace# Validate Tekton YAML syntax
kubectl apply --dry-run=client -f .tekton/
# Test container build locally
podman build -f build/Dockerfile -t test:local .
For historical job searches:
# Clone ci-search tool
git clone https://github.com/openshift/ci-search.git
# Use web interface at search.ci.openshift.org (if available)
# Search for patterns in build logs across all jobs
Prow Configuration (in openshift/release repo):
ci-operator/config/openshift/ocm-agent-operator/openshift-ocm-agent-operator-master.yamlci-operator/jobs/openshift/ocm-agent-operator/Tekton Pipelines (in this repo):
.tekton/ directoryocm-agent-operator-pull-request.yaml - Main PR pipelineocm-agent-operator-push.yaml - Post-merge pipelineocm-agent-operator-e2e-pull-request.yaml - E2E testingocm-agent-operator-pko-pull-request.yaml - PKO validationThis repository uses Codecov for coverage tracking:
ocm-agent-operator-codecov-token (stored in Prow)make coveragepublish-coverage)基于 SOC 职业分类