From rhdh
Trigger RHDH nightly ProwJobs on demand via the OpenShift CI Gangway REST API. Supports both rhdh and rhdh-plugin-export-overlays repos. Use when the user wants to trigger, run, kick off, or start a nightly CI job, run an on-demand E2E nightly test, list available nightly jobs, or trigger an overlay nightly. Also use when the user mentions Gangway, "nightly job", "periodic-ci", RC verification, testing a custom image, running CI against a fork, or checking available image tags on quay.io.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rhdh:prow-trigger-nightlyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Trigger RHDH nightly ProwJobs via the OpenShift CI Gangway REST API.
Trigger RHDH nightly ProwJobs via the OpenShift CI Gangway REST API.
Supports two repositories:
periodic-ci-redhat-developer-rhdh-*-nightly)periodic-ci-redhat-developer-rhdh-plugin-export-overlays-*-nightly)All commands below use paths relative to this skill's directory:
skills/prow-trigger-nightly/scripts/trigger_nightly_job.py
oc CLI installed (for authentication to OpenShift CI)List configured nightly jobs:
uv run scripts/trigger_nightly_job.py --list
Present the jobs in a table with columns: short name and which branches have it. Derive the short name from the job name part after the branch segment (e.g. e2e-ocp-helm-nightly -> "OCP Helm"):
| Repo | Job | main | release-1.9 | release-1.8 |
|---|---|---|---|---|
| rhdh | OCP Helm | x | x | x |
| rhdh | AKS Helm | x | x | |
| overlays | OCP Helm | x |
Then ask the user to describe which job and branch they want in natural language.
Map the user's description to the matching full job name from the fetched list. If no branch is mentioned, default to main:
RHDH repo jobs:
e2e-ocp-helm-nightly (not upgrade, not versioned)e2e-ocp-operator-nightly (not auth-providers)e2e-ocp-helm-upgrade-nightlye2e-ocp-operator-auth-providers-nightlye2e-ocp-v4-{VERSION}-helm-nightlye2e-aks-helm-nightlye2e-aks-operator-nightlye2e-eks-helm-nightlye2e-eks-operator-nightlye2e-gke-helm-nightlye2e-gke-operator-nightlye2e-osd-gcp-helm-nightly or e2e-osd-gcp-operator-nightlyOverlay repo jobs:
periodic-ci-redhat-developer-rhdh-plugin-export-overlays-main-e2e-ocp-helm-nightlyGKE and OSD-GCP each share a single cluster — never run two jobs on the same platform simultaneously. Before triggering, warn the user.
Important: Overlay repo jobs only support fork overrides (--org, --repo, --branch). Image overrides (--image-registry, --image-repo, --tag) and --send-alerts are NOT supported — the script will error if these are passed for an overlay job. If the user doesn't need fork overrides, skip this step and go directly to Step 3.
For RHDH repo jobs, present all options together. The user picks by number — multiple selections allowed (e.g. "2, 5"):
Image override:
quay.io)Additional options:
5. Fork override — run against a fork instead of redhat-developer/rhdh
6. Send Slack alerts — notify via --send-alerts
Constraint: --image-repo requires --tag, but --tag works on its own.
If 2 or 3 selected (quay.io registry) — fetch available tags and present as numbered options. For release-* branches, derive --tag-filter by stripping the release- prefix. For main, omit --tag-filter to show all available versions:
# For release-1.10 branch:
uv run scripts/trigger_nightly_job.py --list-tags --tag-filter 1.10
# For main branch (show all versions):
uv run scripts/trigger_nightly_job.py --list-tags
Use --image-repo <REPO> to query a different image repository (default: rhdh/rhdh-hub-rhel9). Present the numbered results with a final option to enter a custom tag (e.g. next, latest). For option 3, also ask for the image repository.
If 4 selected (non-quay registry) — ask for all three values (tag fetching not available):
brew.registry.redhat.io)rhdh/rhdh-hub-rhel9)1.9)If 5 selected — ask for:
--org): e.g. my-github-user--repo): e.g. rhdh--branch): e.g. my-feature-branchShow the full command and present final options:
uv run scripts/trigger_nightly_job.py \
--job <FULL_JOB_NAME> \
[--image-registry <REGISTRY>] \
[--image-repo <REPO>] \
[--tag <TAG>] \
[--org <ORG>] \
[--repo <REPO>] \
[--branch <BRANCH>] \
[--send-alerts] \
[--dry-run]
After execution, show the API response. If a job URL or ID is returned, display it prominently. On error, help diagnose (common issues: expired token, invalid job name).
-j/--job, -l/--list, -T/--list-tags, --tag-filter, -I/--image-registry, -q/--image-repo, -t/--tag, -o/--org, -r/--repo, -b/--branch, -S/--send-alerts, -n/--dry-run, --json~/.config/openshift-ci/kubeconfig — won't interfere with your current cluster contextoverlay: Manage the rhdh-plugin-export-overlays repositorynpx claudepluginhub zdrapela/rhdh-skill --plugin rhdhGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
2plugins reuse this skill
First indexed Jul 10, 2026