/release-management:learn-release [overview|step N|all]from release-management
Teach the 20-step Submariner release process including Y-stream setup, build validation, stage/prod releases, and FBC catalog management. Use when user asks about release steps, workflows, Konflux concepts, or "how do we release Submariner?"
Ships in release-management. 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.
Teach users about the Submariner release process. Determine the requested mode from the user's invocation or message.
Claude: /release-management:learn-release overview
Codex: $release-management:learn-release overview
| Argument | Content |
|---|---|
| (none) | Show this menu with examples |
overview | The big picture below |
step N | Explain one step (1-20, including 3b, 5b, 10b, 13b, 16b, 18b) |
all | Walk through all steps briefly |
Submariner releases 9 container images through Konflux to Red Hat's registry. The process has 4 phases:
Y-stream (0.21→0.22): New minor version. Run all steps starting from Step 1. Z-stream (0.21.1→0.21.2): Patch release. Skip to Step 4 (branch already exists).
Reuse verified completed work. On a retarget, re-release or retry, verify all five upstream tags and the exact
candidate's downstream scan, snapshot and managed release-policy evidence. Never re-cut tags or bump unrelated tasks.
See .agents/workflows/skip-completed-steps.md.
Gates: Setup (Y-stream) → Builds + EC → CVE triage → Release notes → Stage: Stage release → FBC update + builds + EC → FBC stage releases → QE approval → Prod: Prod release (same snapshot) → FBC prod releases
Build:
Release artifacts:
push (merge) or pull_request.relatedImages.FBC (File-Based Catalog):
catalog-template.yaml is source of truth. make build-catalogs generates the
catalog-major-minor/ directories configured in the cutoff map.submariner.v0.22.0) containing bundle image SHA and relatedImages (7 components).stable-0.22). Users subscribe to a channel and get upgrades within it.drop-versions.json maps OCP versions to drop-through Submariner streams:
cutoff 0.23 removes all 0.23 and older bundles, retaining 0.24 and newer.quay.io URLs (~90 day TTL). Step 20 updates to registry.redhat.io.Konflux resources (K8s CRDs):
submariner-0-X has 9 components; 7 submariner-fbc-4-XX apps each have 1 catalog.oc get snapshots.Reference:
0.21 (branch), 0-21 (Konflux names), v0.21.2 (Dockerfile labels), 0.21.2 (commits/PRs).scripts/lib/acm-version.sh has the table.| Step | What happens | Y/Z |
|---|---|---|
| 1 | Create release-0.Y branches across all upstream repos | Y |
| 2 | Add Konflux components, ReleasePlans, and RPAs in konflux-release-data | Y |
| 3 | Customize bot-generated Tekton configs, set version labels and compiled versions | Y |
| 3b | Update bundle SHAs from component builds, set up bundle pipeline | Y |
| 4 | Fix actual component/FBC policy violations; reuse verified completed task work | Y/Z |
| 5 | Fix upstream CVEs before tagging; review exact downstream scan evidence | Y/Z |
| 5b | Set Dockerfile version labels and compiled versions to the release version | Y/Z |
| 6 | Create upstream tags/images once; verify all five tags before reuse | Y/Z |
| 7 | Update bundle CSV with final component SHAs from snapshot | Y/Z |
| 8 | Create stage Release CR YAML (no notes yet) | Y/Z |
| 9 | Query Jira for CVEs (automatic) and issues (user selects), build releaseNotes | Y/Z |
| 10 | Apply stage release to cluster via make apply | Y/Z |
| 10b | Check Released=True, debug failures, retry if infra issue | Y/Z |
| 11 | Update FBC catalogs with bundle SHA from stage registry | Y/Z |
| 12 | Create FBC stage release YAMLs for applicable active OCP versions | Y/Z |
| 13 | Apply all 7 FBC stage releases to cluster | Y/Z |
| 13b | Verify all 7 FBC pipelines succeeded | Y/Z |
| 14 | Create Jira ticket with stage catalog URLs for QE | Y/Z |
| 15 | Copy stage YAML to prod, change releasePlan to prod | Y/Z |
| 16 | Apply prod release to cluster | Y/Z |
| 16b | Verify prod pipeline succeeded | Y/Z |
| 17 | Copy 7 FBC stage YAMLs to prod, change releasePlans | Y/Z |
| 18 | Apply all 7 FBC prod releases to cluster | Y/Z |
| 18b | Verify all 7 FBC prod pipelines succeeded | Y/Z |
| 19 | Share prod index URLs with QE - release complete | Y/Z |
| 20 | Update FBC templates to use registry.redhat.io URLs | Y/Z |
| Step | Details |
|---|---|
| 1 | Use releases repo tooling to create release-0.Y branches across 9 upstream repos. |
| 2 | Add overlays (app, 9 components, ReleasePlans) and RPAs in konflux-release-data. ArgoCD syncs; triggers bot PRs. |
| 3 | Customize Tekton configs: hermetic builds (Go mods, RPM lockfiles), multi-arch, SBOM. Version labels. 8 components, 5 repos. |
| 3b | Two parts: (1) update bundle CSV with component SHAs from snapshot, (2) set up bundle Tekton pipeline. Components must build first. |
| 4 | Verify completed snapshot EC and actual managed release-policy requirements; repair violations in component/FBC repos. |
| 5 | Grype scans upstream Go, Clair scans downstream images. Reuse verified tagged source; review exact image evidence. |
| 5b | Align image and Go versions in 8 component Dockerfiles across 5 repos. Bundle labels follow CSV generation (Step 7). |
| 6 | Run releases repo tooling to create git tags and publish images to quay.io/submariner. Never re-cut an existing tag. |
| 7 | Update bundle CSV relatedImages with SHAs from latest passing Konflux snapshot. Must use registry.redhat.io URLs for EC. |
| 8 | Create Release CR YAML: copy previous, update name/snapshot. Save to releases/0.X/stage/. Don't add notes yet. |
| 9 | Query Jira: CVEs automatic, user selects other issues. RHSA/RHBA/RHEA based on content. Exclude submariner-addon. |
| 10 | Run make apply to create Release CR on cluster. Pipeline publishes 9 images to registry.stage.redhat.io. |
| 10b | Check Released condition. If failed: check ManagedPipelineProcessed, get log URL, determine retry vs fix. Increment suffix. |
| 11 | Update FBC catalogs in submariner-operator-fbc repo with bundle SHA from stage registry. Wait ~15-30 min for rebuilds. |
| 12 | Find passing FBC snapshots (push events only). Verify bundle SHA matches across all 7 catalogs. Create 7 Release YAMLs. |
| 13 | Apply 7 FBC releases with make apply. Each publishes catalog to stage index for its OCP version. |
| 13b | Check all 7 Released conditions. Same debug process as 10b. All must succeed before QE handoff. |
| 14 | Extract catalog URLs from snapshots. Create Jira ticket for QE with 7 URLs. Wait for QE approval before prod. |
| 15 | Copy stage YAML to prod directory. Change name (stage→prod) and releasePlan (stage-0-X→prod-0-X). Same snapshot/notes. |
| 16 | Apply prod release. Pipeline publishes to registry.redhat.io (production). Same 9 images as stage. |
| 16b | Verify prod pipeline succeeded. Same debug process as 10b. |
| 17 | Copy 7 FBC stage YAMLs to prod directories. Change names and releasePlans. Same snapshots - catalog URLs work for both. |
| 18 | Apply 7 FBC prod releases. Publishes catalogs to production indices (registry.redhat.io/redhat/redhat-operator-index). |
| 18b | Verify all 7 succeeded. Release is now live in production OperatorHub. |
| 19 | Extract index URLs from release status. Notify QE. Submariner 0.X.Y production release complete. |
| 20 | Optional cleanup: update FBC templates to use registry.redhat.io URLs. Prevents breakage when quay.io images expire. |
Each step's workflow is in .agents/workflows/<step-name>.md. When it says "follow docs in X repo", read that repo's workflow docs.
Resolve those paths against this plugin's release-management root: use the
expanded ${CLAUDE_PLUGIN_ROOT} when Claude provides it; otherwise use the
checkout containing this skill and .agents/workflows. Do not resolve them
against the caller's working directory.
Note: Branch in parentheses (devel for submariner-io repos, main for others).
| Repo | Local | Docs | Purpose |
|---|---|---|---|
| This repo | release-management root | .agents/workflows/ (main) | Release orchestration |
| submariner-io/releases | ~/go/src/submariner-io/releases | README.md (devel) | Branch creation, tags |
| submariner-io/submariner-operator | ~/go/src/submariner-io/submariner-operator | .agents/workflows/ (devel) | Operator + bundle |
| submariner-io/submariner | ~/go/src/submariner-io/submariner | .agents/workflows/ (devel) | Gateway, globalnet, route-agent |
| submariner-io/lighthouse | ~/go/src/submariner-io/lighthouse | .agents/workflows/ (devel) | Agent, coredns |
| submariner-io/shipyard | ~/go/src/submariner-io/shipyard | .agents/workflows/ (devel) | Nettest |
| submariner-io/subctl | ~/go/src/submariner-io/subctl | .agents/workflows/ (devel) | Subctl CLI |
| stolostron/submariner-operator-fbc | ~/konflux/submariner-operator-fbc | .agents/workflows/ (main) | FBC catalogs (configured OCP versions) |
| konflux-release-data (GitLab) | ~/konflux/konflux-release-data | tenants-config/.../CLAUDE.md (main) | Konflux tenant config |
| konflux-ci/docs | ~/konflux/konflux-ci/docs | modules/ (main) | Konflux platform docs |
| rhtap-ec-policy | ~/konflux/konflux-ci/rhtap-ec-policy | data/ (main) | EC policy definitions |
| users-docs (GitLab) | ~/konflux/users-docs | docs/modules/ (main) | Konflux user guides |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/add-fbc-ocp-versionPrepare a new OCP version's Submariner FBC catalogs, Konflux tenant resources, and release admissions, including major-version transitions such as OCP 5.0. Use for OCP onboarding, not ordinary bundle updates./add-release-notesAdd release notes from Jira, then review each non-CVE issue with the active agent/add-team-memberAdd user to Submariner team Konflux RBAC - updates permissions for Web UI and cluster accessnpx claudepluginhub stolostron/submariner-release-management --plugin release-management