/release-management:rpm-lockfile-update [branch] [repo|component]from release-management
Update RPM lockfiles across Submariner repositories
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.
Regenerates RPM lockfiles in submariner and shipyard repositories by creating fix branches, running hermetic builds, and committing updated lockfiles. Also refreshes digest-pinned base images, committed with the lockfiles.
Claude: /release-management:rpm-lockfile-update 0.21 submariner
Codex: $release-management:rpm-lockfile-update 0.21 submariner
Additional argument forms:
(none) # Auto-detect branch, all repos
0.21 # Explicit branch, all repos
gateway # Auto-detect branch, gateway only
make rpm-lockfile-update # Auto-detect branch
make rpm-lockfile-update COMPONENT=gateway # Auto-detect, component filter
make rpm-lockfile-update BRANCH=0.21 COMPONENT=gateway # Explicit branch
Filter options: all, submariner, shipyard, gateway, globalnet, route-agent, nettest
Requirements: Red Hat entitlements and registry.redhat.io login (one-time: make setup-entitlements), gh auth login,
skopeo, jq, Bash 4.0+
On macOS, run make linux-vm-setup once first; the script then re-runs itself in that VM.
Hermetic builds keep every package not in rpms.in.yaml at the base image's versions, so an old pin keeps its fixable
CVEs however fresh the lockfile is. After creating the fix branch and before generating lockfiles, the script handles
each in-scope package/Dockerfile*.konflux (all in the repo, or only the filtered component's):
FROM lines with registry.redhat.io/<repo>@sha256:<digest> move to the current digest of <repo>:latest, printing
the old and new digests. --platform and the rest of the line are kept.:latest, tag-and-digest and other registries' references are left alone.If a digest cannot be resolved or validated, that repo is reported failed (base-refresh-failed, details on stderr) with
its Dockerfiles untouched and the original branch restored. It never keeps the old digest silently. Check the registry
login and retry.
The branch and repository/component filter are optional. Preserve exactly the values and order supplied by the user; otherwise let the script perform its documented branch and repository detection.
Resolve the release-management root before running the operation. If
${CLAUDE_PLUGIN_ROOT} has been expanded to an absolute path, use that plugin
root. Otherwise, locate the checkout containing this SKILL.md and
scripts/rpm-lockfile-update.sh. Verify the script exists and is executable.
Run scripts/rpm-lockfile-update.sh, passing each supplied value as a separate
argument, or no arguments for full auto-detection. Do not combine arguments into
a shell string or use eval.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stolostron/submariner-release-management --plugin release-management18 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 access/autoreleaseRun ready release steps — chains auto steps, stops at gate/review/manual/bundle-image-updateUpdate bundle component image SHAs from Konflux snapshots - automates SHA extraction, config file updates, bundle regeneration, and verification/configure-downstreamConfigure Konflux for new Submariner version - creates overlays, tenant config, and RPAs for Y-stream releases.