plugins/ci/skills/fetch-releases/SKILL.md
Fetch available OpenShift releases from the Sippy API
npx skillsauth add openshift-eng/ai-helpers fetch-releasesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill fetches the list of available OpenShift releases from the Sippy API. It can return all OCP releases or just the latest version.
Use this skill when you need to:
Python 3: Python 3.6 or later
python3 --versionNetwork Access: Must be able to reach the public Sippy API
curl -s https://sippy.dptools.openshift.org/api/releases | head -c 100To get just the latest OCP release version:
release=$(python3 plugins/ci/skills/fetch-releases/fetch_releases.py --latest)
echo "$release"
# Output: 4.22
To list all available OCP releases:
# JSON format (includes GA dates)
python3 plugins/ci/skills/fetch-releases/fetch_releases.py --format json
# Simple list, one per line
python3 plugins/ci/skills/fetch-releases/fetch_releases.py --format list
The primary use case is providing a default release to other skills:
# Determine release
release="${user_specified_release:-$(python3 plugins/ci/skills/fetch-releases/fetch_releases.py --latest)}"
# Use with fetch-test-report
python3 plugins/ci/skills/fetch-test-report/fetch_test_report.py "<test_name>" --release "$release"
Prints a single release version string:
4.22
[
{"release": "4.22"},
{"release": "4.21", "ga": "2025-06-17T00:00:00Z"},
{"release": "4.20", "ga": "2025-10-21T00:00:00Z"},
{"release": "4.19", "ga": "2025-06-17T00:00:00Z"}
]
Releases without a ga field are still in development.
4.22
4.21
4.20
4.19
4.18
Exit Codes:
0: Success1: Errorhttps://sippy.dptools.openshift.org/api/releases (no port-forward needed)X.Y formatteams plugin's get-release-dates skillfetch-test-report (uses release to query test data)get-release-dates (fetches detailed release dates and metadata)research
Shared engine for analyzing Jira issue activity and generating status summaries
testing
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
development
Analyze a payload snapshot to identify root causes of blocking job failures, score candidate PRs, and produce an HTML report with revert recommendations
tools
Create TRT JIRA bugs, open revert PRs, and trigger payload jobs for high-confidence revert candidates