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
- Bump version 0.3.1 → 0.3.2 (pyproject.toml, plugin.json, marketplace.json)
- Add Slack alert setup section to release-branch-config.md (channel
creation, incoming webhook, Vault secret configuration)
- Add Slack setup step to commission-release.md workflow
- Standardize placeholder casing to {version} in release-branch-config.md
- Clarify releases.latest.release field description
- Extract _first_versions() helper in analyze_coverage.py to DRY up
the repeated api_data.get('data', [])[0] pattern
- Clarify decommission-release.md: generated jobs removed by make update
- Decommission workflow now runs make update — the previous 'Do NOT run
make update' guidance was incorrect; make update correctly removes
generated job files for deleted configs, matching commission behavior
Assisted-by: OpenCode
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.",
@@ -18,7 +18,7 @@ Each release branch has an entry under `branch-protection.orgs.redhat-developer.
18
18
19
19
When commissioning, **read the latest existing release branch entry** from `_prowconfig.yaml` and copy its structure (keys, contexts, settings). Do not hardcode the block — the required status check contexts and protection settings change over time.
20
20
21
-
When decommissioning, remove the entire `release-{VERSION}:` block, preserving indentation and formatting of surrounding entries.
21
+
When decommissioning, remove the entire `release-{version}:` block, preserving indentation and formatting of surrounding entries.
22
22
23
23
## Release Branch vs Main Differences
24
24
@@ -30,7 +30,7 @@ When creating a release branch config from `main` or another release branch, **r
30
30
|**Cron schedule**| Read the latest release branch config to see the current schedule pattern. Release branches use a different schedule than `main` to spread load |
31
31
|**Cleanup jobs**| Compare `main` with the latest release branch. Jobs present in `main` but absent from all release branches are main-only — remove them |
32
32
|**Presubmit tests**| Compare `main` with the latest release branch. Note differences in `always_run`, `max_concurrency`, and other settings — apply the release branch pattern |
33
-
|**`zz_generated_metadata.branch`**| Set to `release-{VERSION}`|
33
+
|**`zz_generated_metadata.branch`**| Set to `release-{version}`|
34
34
35
35
Version-specific settings to verify with the user:
36
36
@@ -39,9 +39,24 @@ Version-specific settings to verify with the user:
39
39
|**OCP versions**| Read the source config's `e2e-ocp-v4-*-helm-nightly` entries. Ask the user which OCP versions to include for the new branch |
40
40
|**K8s version** (`MAPT_KUBERNETES_VERSION`) | Read from the source config. Ask the user if it should change |
41
41
|**OSD version**| Read from the source config. Ask the user if it should change |
42
-
|**`releases.latest.release`**|Compare `channel`and`version` between main and release branches |
42
+
|**`releases.latest.release`**|OCP release payload used by ci-operator (`channel`+`version`). Compare main and release branches — typically the same, but may differ if the release branch targets an older OCP|
43
43
|**`build_root` tag**| Read from the source config. Ask the user if it should change |
44
44
45
+
## Slack Alert Setup
46
+
47
+
Each release branch needs its own Slack channel and webhook for E2E alert notifications. There are two alert mechanisms:
48
+
49
+
1.**Prow `reporter_config`** — configured per-test in the CI config YAML (`reporter_config.channel`). Set to `#rhdh-e2e-alerts-{X}-{Y}` (dots replaced with hyphens). This fires on infrastructure-level errors.
50
+
51
+
2.**`rhdh-send-alert` step** — uses a Slack incoming webhook URL from the Vault secret `rhdh-send-alert` (namespace `test-credentials`). The script auto-detects the release version from `JOB_NAME` and looks for a versioned key `SLACK_ALERTS_WEBHOOK_URL_{X}_{Y}` (dots replaced with underscores), falling back to the default `SLACK_ALERTS_WEBHOOK_URL`.
52
+
53
+
### Setup steps
54
+
55
+
1.**Create Slack channel**`#rhdh-e2e-alerts-{X}-{Y}` in the [Nightly Test Alerts Slack app](https://api.slack.com/apps/A08U4AP1YTY/incoming-webhooks)
56
+
2.**Create incoming webhook** for the new channel in the same Slack app
57
+
3.**Add webhook URL to Vault** secret `rhdh-send-alert` as key `SLACK_ALERTS_WEBHOOK_URL_{X}_{Y}`
58
+
4.**Set `reporter_config.channel`** to `#rhdh-e2e-alerts-{X}-{Y}` on every nightly test entry in the CI config
Copy file name to clipboardExpand all lines: skills/prow/workflows/commission-release.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Read `../references/release-branch-config.md` for file paths, templates, and rel
18
18
3.**Copy and adjust the CI config**:
19
19
- Copy the source file to `redhat-developer-rhdh-release-{version}.yaml`
20
20
- Read both the `main` config and the latest existing release branch config to understand the current patterns
21
-
- Apply all structural adjustments described in `references/release-branch-config.md` — compare main vs release branch to determine what to change (Slack channel, cron schedule, cleanup jobs, presubmit settings)
21
+
- Apply all structural adjustments described in `../references/release-branch-config.md` — compare main vs release branch to determine what to change (Slack channel, cron schedule, cleanup jobs, presubmit settings)
22
22
- Set `zz_generated_metadata.branch` to `release-{version}`
23
23
24
24
4.**Confirm version-specific settings** with the user:
@@ -28,14 +28,19 @@ Read `../references/release-branch-config.md` for file paths, templates, and rel
28
28
-`build_root` tag
29
29
- If copying from the latest release branch, these are often unchanged
30
30
31
-
5.**Add branch protection** to `_prowconfig.yaml`:
31
+
5.**Set up Slack alerts** (see `../references/release-branch-config.md` > Slack Alert Setup):
32
+
- Create Slack channel `#rhdh-e2e-alerts-{X}-{Y}` and incoming webhook
33
+
- Add webhook URL to Vault secret `rhdh-send-alert` as key `SLACK_ALERTS_WEBHOOK_URL_{X}_{Y}`
34
+
- Set `reporter_config.channel` to `#rhdh-e2e-alerts-{X}-{Y}` on every nightly test entry in the CI config
35
+
36
+
6.**Add branch protection** to `_prowconfig.yaml`:
32
37
- Read the latest existing release branch entry from `_prowconfig.yaml` to get the current structure and contexts
33
38
- Add a `release-{version}:` entry under `branch-protection.orgs.redhat-developer.repos.rhdh.branches`, copying the structure from the latest release branch
34
39
- Place the new entry in version order among existing entries
35
40
36
-
6.**Run `make update`** to regenerate Prow job configs
41
+
7.**Run `make update`** to regenerate Prow job configs
0 commit comments