You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "rhdh",
3
3
"description": "All-in-one toolkit for Red Hat Developer Hub (RHDH). Covers plugin development, overlay management, environment setup, version compatibility, CI/CD, and RHDH ecosystem navigation.",
Check version support status for platforms and integrations used by RHDH.
44
+
45
+
-**[lifecycle](./skills/lifecycle/SKILL.md)** — Check version lifecycle and support status for OCP, AKS, EKS, GKE, RHDH releases, RHBK, Quay, PostgreSQL, and any Red Hat product via the Product Life Cycles API.
46
+
47
+
### CI / Prow
48
+
49
+
Manage Prow CI job configurations and trigger nightly E2E tests.
50
+
51
+
-**[prow](./skills/prow/SKILL.md)** — Manage Prow CI job configurations for RHDH in the openshift/release repository. List, generate, add, and remove OCP test entries and cluster pools. List K8s platform test entries (AKS, EKS, GKE). Analyze coverage gaps. Commission new release branches and decommission end-of-life ones.
52
+
-**[prow-trigger-nightly](./skills/prow-trigger-nightly/SKILL.md)** — Trigger RHDH nightly ProwJobs on demand via the OpenShift CI Gangway REST API. Supports both rhdh and rhdh-plugin-export-overlays repos with Gangway overrides for catalog index image, chart version, and Playwright version.
53
+
54
+
### Base image
55
+
56
+
Bump UBI / RHEC base image tags and refresh `@sha256` digests in **rhdh** and **rhdh-operator** (see [rhdh-repos](./skills/rhdh/references/rhdh-repos.md)).
57
+
58
+
-**[update-base-image](./skills/update-base-image/SKILL.md)** — Analyze and update Containerfile / Dockerfile using [rhdh-downstream](./skills/rhdh/references/rhdh-repos.md#rhdh-downstream) scripts (`build/scripts/`). Bundled `analyze-base-images.sh`; run `updateBaseImages.sh` per repo. Requires `skopeo login registry.redhat.io`.
Copy file name to clipboardExpand all lines: docs/adr/0002-stdlib-only-python-clis.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,9 @@ Both CLIs (`rhdh` and `rhdh-local`) use only Python 3.9+ standard library — ze
9
9
-**`uv`** as the dev tool runner (`uv run pytest`) — not shipped with the CLIs, but used for development and testing
10
10
11
11
New scripts and CLI commands in this project should follow these same patterns.
12
+
13
+
## Exceptions
14
+
15
+
Prow skill scripts (under `skills/prow/scripts/`) use `ruamel.yaml` for round-trip YAML processing — preserving comments, key ordering, and quoting style that the stdlib `yaml` module cannot handle. These scripts declare the dependency via PEP 723 inline script metadata (`# /// script` blocks), and `uv run --script` auto-installs it in an ephemeral virtual environment. No user-facing install step is required.
16
+
17
+
The stdlib-only rule still applies to the main CLIs and any script not run via `uv run --script`.
@@ -80,21 +83,34 @@ GKE and OSD-GCP each share a single cluster — never run two jobs on the same p
80
83
81
84
## Step 2: Options
82
85
83
-
**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.
86
+
### Overlay repo jobs
87
+
88
+
Overlay jobs support fork overrides (`--org`, `--repo`, `--branch`), catalog index override (`--catalog-index-image`), and Playwright version override (`--playwright-version`).
89
+
90
+
Image overrides (`--image-registry`, `--image-repo`, `--tag`), `--chart-version`, and `--send-alerts` are NOT supported — the script will error if these are passed for an overlay job.
91
+
92
+
If the user doesn't need any overrides, skip this step and go directly to Step 3.
84
93
85
-
For RHDH repo jobs, present all options together. The user picks by number — multiple selections allowed (e.g. "2, 5"):
94
+
### RHDH repo jobs
95
+
96
+
Present all options together. The user picks by number — multiple selections allowed (e.g. "2, 5"):
86
97
87
98
**Image override:**
99
+
88
100
1.**Default image** — no image flags, use whatever the job is configured with
89
101
2.**Custom tag only** — override just the tag, keep default registry and repo
4.**Fully custom image** — override registry, repo, and tag
92
104
105
+
**Catalog & chart override:**
106
+
5.**Catalog index image** — override the plugin catalog index image (`--catalog-index-image`)
107
+
6.**Chart version** — override the Helm chart version (`--chart-version`)
108
+
93
109
**Additional options:**
94
-
5.**Fork override** — run against a fork instead of `redhat-developer/rhdh`
95
-
6.**Send Slack alerts** — notify via `--send-alerts`
110
+
7.**Fork override** — run against a fork instead of `redhat-developer/rhdh`
111
+
8.**Send Slack alerts** — notify via `--send-alerts`
96
112
97
-
Constraint: `--image-repo` requires `--tag`, but `--tag` works on its own.
113
+
Constraint: `--image-repo` requires `--tag`, but `--tag` works on its own.`--playwright-version` is overlay-only and will error for RHDH jobs.
98
114
99
115
### Follow-up based on selections
100
116
@@ -111,11 +127,17 @@ uv run scripts/trigger_nightly_job.py --list-tags
111
127
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.
112
128
113
129
**If 4 selected (non-quay registry)** — ask for all three values (tag fetching not available):
130
+
114
131
- Registry (e.g. `brew.registry.redhat.io`)
115
132
- Image repo (e.g. `rhdh/rhdh-hub-rhel9`)
116
133
- Tag (e.g. `1.9`)
117
134
118
-
**If 5 selected** — ask for:
135
+
**If 5 selected** — ask for catalog index image (e.g. `quay.io/rhdh/plugin-catalog-index:1.9-60` for RC, `registry.access.redhat.com/rhdh/plugin-catalog-index:1.9.4` for GA).
136
+
137
+
**If 6 selected** — ask for chart version (e.g. `1.9-227-CI`).
138
+
139
+
**If 7 selected** — ask for:
140
+
119
141
- GitHub org (`--org`): e.g. `my-github-user`
120
142
- Repo name (`--repo`): e.g. `rhdh`
121
143
- Branch (`--branch`): e.g. `my-feature-branch`
@@ -130,6 +152,9 @@ uv run scripts/trigger_nightly_job.py \
130
152
[--image-registry <REGISTRY>] \
131
153
[--image-repo <REPO>] \
132
154
[--tag <TAG>] \
155
+
[--catalog-index-image <IMAGE>] \
156
+
[--chart-version <VERSION>] \
157
+
[--playwright-version <VERSION>] \
133
158
[--org <ORG>] \
134
159
[--repo <REPO>] \
135
160
[--branch <BRANCH>] \
@@ -142,14 +167,33 @@ uv run scripts/trigger_nightly_job.py \
142
167
143
168
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).
0 commit comments