| name | rpm-lockfile-update |
| description | Update RPM lockfiles across Submariner repositories |
| version | 2.0.0 |
| argument-hint | [branch] [repo|component] |
| user-invocable | true |
| allowed-tools | Bash |
RPM Lockfile Update
Regenerates RPM lockfiles in submariner and shipyard repositories by creating fix branches, running hermetic builds,
and committing updated lockfiles.
/rpm-lockfile-update
/rpm-lockfile-update 0.21
/rpm-lockfile-update gateway
/rpm-lockfile-update 0.21 submariner
make rpm-lockfile-update
make rpm-lockfile-update COMPONENT=gateway
make rpm-lockfile-update BRANCH=0.21 COMPONENT=gateway
Filter options: all, submariner, shipyard, gateway, globalnet, route-agent, nettest
Requirements: Red Hat entitlements, podman login registry.redhat.io, gh auth login, Bash 4.0+
Arguments: $ARGUMENTS
#!/bin/bash
set -euo pipefail
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [ -z "$GIT_ROOT" ]; then
echo "❌ Not in a git repository"
exit 1
fi
if [ ! -x "$GIT_ROOT/scripts/rpm-lockfile-update.sh" ]; then
echo "❌ Orchestrator script not found: scripts/rpm-lockfile-update.sh"
exit 1
fi
exec "$GIT_ROOT/scripts/rpm-lockfile-update.sh" $ARGUMENTS