
Skill
konflux-release-data-rpa
update release tags in konflux-release-data
Description
Bumps RHDH ReleasePlanAdmission tag versions in konflux-release-data for a stream release (e.g. 1.9.7), opens a GitLab merge request, and launches it in the browser. Use when updating RPA tags, konflux-release-data, ReleasePlanAdmission, rhdh-1-9-*.yaml, rhdh-plugin-catalog-1-9-*.yaml, or preparing an RHDH patch release.
SKILL.md
Konflux release-data RPA updates
Goal
Given a target RHDH version (for example 1.9.7), update the matching stream
ReleasePlanAdmission files under
config/stone-prod-p02.hjvn.p1/product/ReleasePlanAdmission/rhdh/ so tag values
use the new patch version, then push a branch and open a GitLab merge request.
Prerequisites
- Local clone of konflux-release-data
git,glab(GitLab CLI authenticated togitlab.cee.redhat.com)- Push access to
origin(git@gitlab.cee.redhat.com:releng/konflux-release-data.git) - Optional:
toxwhen using--validate
Run from the user's konflux-release-data checkout — never assume a fixed path.
Pass --repo-dir or cd into the target folder before invoking the script.
Working directory resolution (in order):
--repo-dir PATHwhen providedKONFLUX_RELEASE_DATA_REPOwhen set- Current working directory (
$PWD)
PATH may be the repository root, or the rhdh ReleasePlanAdmission folder (the script resolves the standard path
config/stone-prod-p02.hjvn.p1/product/ReleasePlanAdmission/rhdh/ from there).
Run the bundled script
Execute scripts/update-rpa-tags.sh; do not reimplement the workflow inline. Always run it against the folder the user specified.
SKILL=skills/konflux-release-data-rpa # under 1-rhdh-skill checkout
chmod +x "${SKILL}/scripts/update-rpa-tags.sh"
REPO=/path/to/konflux-release-data # user-provided checkout
# From repo root
cd "${REPO}" && "${SKILL}/scripts/update-rpa-tags.sh" 1.9.7
# Or pass the checkout explicitly
"${SKILL}/scripts/update-rpa-tags.sh" 1.9.7 --repo-dir "${REPO}"
# Preview only
"${SKILL}/scripts/update-rpa-tags.sh" 1.9.7 --repo-dir "${REPO}" --dry-run
Which files change
For version MAJOR.MINOR.PATCH, the script updates the MAJOR-MINOR stream only:
| Version example | Stream | Files updated |
|---|---|---|
1.9.7 | 1.9 | rhdh-1-9-prod.yaml, rhdh-1-9-stage.yaml, rhdh-plugin-catalog-1-9-prod.yaml, rhdh-plugin-catalog-1-9-stage.yaml |
1.10.2 | 1.10 | rhdh-1-10-*.yaml, rhdh-plugin-catalog-1-10-*.yaml (prod + stage) |
Not updated by this script: -fbc- RPAs, 1.next / 1-stage catalog files,
builder RPAs, or other streams.
Tag replacement rules
- Auto-detect stale patch versions from tag strings in the target files
(for example
1.9.6when bumping to1.9.7). - Replace every occurrence of each stale patch with the target version.
- Keep the stream tag unchanged (
"1.9"stays"1.9"). - Composite plugin catalog tags are updated in the RHDH prefix only
(
1.9.6--1.20.2→1.9.7--1.20.2); upstream plugin semver suffixes are preserved unless a separate plugin-catalog bump MR is needed.
Hub/operator RPAs (rhdh-1-9-*.yaml) only carry tags under defaults.tags.
Plugin catalog RPAs also update per-component tags lists.
Merge request workflow
On success the script:
- Fetches and checks out
main - Creates branch
chore/rhdh-update-rpa-<VERSION> - Commits with signed-off message:
chore: update rhdh-<stream>-*.yaml RPAs for upcoming release <VERSION> - Pushes to
origin(releng/konflux-release-data) - Creates a GitLab MR in
releng/konflux-release-dataviaglab apion the upstream project (notglab mr create, which may route through therhdh-botfork and produce an empty diff) - MR description starts with
Generated-by: cursor - Verifies the MR includes file changes before opening the browser
- Opens the MR URL in the first available browser: Brave → Chrome → Firefox
Use --dry-run to preview tag changes without modifying files or opening an MR.
Validation
Run schema tests after editing when CI credentials are available:
"${SKILL}/scripts/update-rpa-tags.sh" 1.9.7 --repo-dir "${REPO}" --validate
Or from the repo root: tox -e test.
Related manual steps
This script handles RHDH patch tag bumps in konflux-release-data only. It does not:
- Bump upstream plugin semver suffixes in composite tags (see historical MRs
titled
chore(rhdh): update plugin catalog … RPAs to … tags) - Update Konflux tenant snapshots or components in
tenants-config/ - Trigger releases in Konflux
See also konflux-tekton-updates for Tekton digest bumps in midstream repos.
Anti-patterns
- Assuming a hardcoded checkout path; always use the user's folder via
--repo-dirorcd. - Pushing to
rhdh-botor any fork remote; push is always toorigin. - Creating cross-project MRs from a fork when the branch exists only on
origin. - Editing FBC or
1.nextRPAs as part of a stream patch bump. - Pushing directly to
main; always use an MR. - Running with a dirty working tree (uncommitted changes block the script).
Additional resources
- Example hub bump:
8e378a51be—rhdh-1-9-*.yamlto1.9.7 - Example catalog bump:
50445ad9f1— all plugin catalog component tags - Repo guide:
konflux-release-dataAGENTS.mdand.cursor/rules/konflux-release-data.mdc
More skills from the rhdh-skill repository
View all 20 skillsagent-ready
assess repository readiness for AI agents
Jul 16AgentsCode AnalysisEngineeringbackstage-upgrade
upgrade Backstage dependencies
Jul 16EngineeringMaintenanceMigrationbase-images-and-rpms
update base images and lockfiles
Jul 16AutomationConfigurationContainersDeploymentcreate-plugin
scaffold and package RHDH dynamic plugins
Jul 16DeploymentPlugin Developmentkonflux-tekton-updates
update Konflux Tekton task digests
Jul 16AutomationCI/CDDeploymentEngineeringlifecycle
check Red Hat product lifecycle status
Jul 16ComplianceMaintenanceOperations
More from Red Hat Developer
View publishernfs-migration
migrate plugins to New Frontend System
rhdh-skill
Jul 16EngineeringFrontendMigrationoverlay
manage RHDH plugin export overlays
rhdh-skill
Jul 16AutomationCode ReviewDeploymentEngineeringprow
manage Prow CI job configurations
rhdh-skill
Jul 16AutomationCI/CDKubernetesprow-trigger-nightly
trigger RHDH nightly ProwJobs
rhdh-skill
Jul 16AutomationCI/CDOpenShiftrhdh
develop plugins for Red Hat Developer Hub
rhdh-skill
Jul 23EngineeringPlugin Development