Skip to content

Commit 5d23379

Browse files
zdrapelaclaude
andcommitted
fix: correct parse-ci-failure local-run.sh job name mapping
The rulesync:generate hook reverted the parse-ci-failure changes in the previous commit. Re-applying to .rulesync source so the hook propagates correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 43a63c1 commit 5d23379

4 files changed

Lines changed: 80 additions & 68 deletions

File tree

.claude/skills/parse-ci-failure/SKILL.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -139,23 +139,26 @@ Use Jira MCP tools to:
139139
| `*aks*helm*` / `*eks*helm*` / `*gke*helm*` | `showcase-k8s`, `showcase-rbac-k8s` |
140140
| `*aks*operator*` / `*eks*operator*` / `*gke*operator*` | `showcase-k8s`, `showcase-rbac-k8s` |
141141

142-
### Job Name → local-run.sh Job Parameter
143-
144-
Map the nightly job to the `local-run.sh` job name format (used with `-j` flag):
145-
146-
| CI job pattern | local-run.sh job name |
147-
|----------------|----------------------|
148-
| `*ocp*helm*nightly*` | `nightly-ocp-helm` |
149-
| `*ocp*operator*nightly*` | `nightly-ocp-operator` |
150-
| `*ocp*helm*upgrade*nightly*` | `nightly-ocp-helm-upgrade` |
151-
| `*ocp*operator*auth-providers*` | `nightly-ocp-operator-auth-providers` |
152-
| `*aks*helm*` | `nightly-aks-helm` |
153-
| `*aks*operator*` | `nightly-aks-operator` |
154-
| `*eks*helm*` | `nightly-eks-helm` |
155-
| `*eks*operator*` | `nightly-eks-operator` |
156-
| `*gke*helm*` | `nightly-gke-helm` |
157-
| `*gke*operator*` | `nightly-gke-operator` |
158-
| `*pull*ocp*helm*` | `pull-ocp-helm` |
142+
### Job Name → local-run.sh `-j` Parameter
143+
144+
Use the **full Prow CI job name** directly as the `-j` parameter. The `openshift-ci-tests.sh` handler uses bash glob patterns (like `*ocp*helm*nightly*`) to match the job name, so the full name works correctly.
145+
146+
**Example**: For a Prow URL containing `periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly`, use:
147+
```bash
148+
./local-run.sh -j periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly -r <repo> -t <tag> -s
149+
```
150+
151+
Do NOT use shortened names like `nightly-ocp-helm` — these do not match the glob patterns in `openshift-ci-tests.sh`.
152+
153+
### Job Name → local-run.sh `-r` Parameter (Image Repo)
154+
155+
The `-r` flag is **required** for CLI mode. Without it, `local-run.sh` falls into interactive mode.
156+
157+
| Release branch | `-r` value | `-t` value |
158+
|---------------|------------|------------|
159+
| `main` | `rhdh-community/rhdh` | `next` |
160+
| `release-1.9` | `rhdh/rhdh-hub-rhel9` | `1.9` |
161+
| `release-1.8` | `rhdh/rhdh-hub-rhel9` | `1.8` |
159162

160163
## Output
161164

.cursor/skills/parse-ci-failure/SKILL.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -137,23 +137,26 @@ Use Jira MCP tools to:
137137
| `*aks*helm*` / `*eks*helm*` / `*gke*helm*` | `showcase-k8s`, `showcase-rbac-k8s` |
138138
| `*aks*operator*` / `*eks*operator*` / `*gke*operator*` | `showcase-k8s`, `showcase-rbac-k8s` |
139139

140-
### Job Name → local-run.sh Job Parameter
141-
142-
Map the nightly job to the `local-run.sh` job name format (used with `-j` flag):
143-
144-
| CI job pattern | local-run.sh job name |
145-
|----------------|----------------------|
146-
| `*ocp*helm*nightly*` | `nightly-ocp-helm` |
147-
| `*ocp*operator*nightly*` | `nightly-ocp-operator` |
148-
| `*ocp*helm*upgrade*nightly*` | `nightly-ocp-helm-upgrade` |
149-
| `*ocp*operator*auth-providers*` | `nightly-ocp-operator-auth-providers` |
150-
| `*aks*helm*` | `nightly-aks-helm` |
151-
| `*aks*operator*` | `nightly-aks-operator` |
152-
| `*eks*helm*` | `nightly-eks-helm` |
153-
| `*eks*operator*` | `nightly-eks-operator` |
154-
| `*gke*helm*` | `nightly-gke-helm` |
155-
| `*gke*operator*` | `nightly-gke-operator` |
156-
| `*pull*ocp*helm*` | `pull-ocp-helm` |
140+
### Job Name → local-run.sh `-j` Parameter
141+
142+
Use the **full Prow CI job name** directly as the `-j` parameter. The `openshift-ci-tests.sh` handler uses bash glob patterns (like `*ocp*helm*nightly*`) to match the job name, so the full name works correctly.
143+
144+
**Example**: For a Prow URL containing `periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly`, use:
145+
```bash
146+
./local-run.sh -j periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly -r <repo> -t <tag> -s
147+
```
148+
149+
Do NOT use shortened names like `nightly-ocp-helm` — these do not match the glob patterns in `openshift-ci-tests.sh`.
150+
151+
### Job Name → local-run.sh `-r` Parameter (Image Repo)
152+
153+
The `-r` flag is **required** for CLI mode. Without it, `local-run.sh` falls into interactive mode.
154+
155+
| Release branch | `-r` value | `-t` value |
156+
|---------------|------------|------------|
157+
| `main` | `rhdh-community/rhdh` | `next` |
158+
| `release-1.9` | `rhdh/rhdh-hub-rhel9` | `1.9` |
159+
| `release-1.8` | `rhdh/rhdh-hub-rhel9` | `1.8` |
157160

158161
## Output
159162

.opencode/skill/parse-ci-failure/SKILL.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -139,23 +139,26 @@ Use Jira MCP tools to:
139139
| `*aks*helm*` / `*eks*helm*` / `*gke*helm*` | `showcase-k8s`, `showcase-rbac-k8s` |
140140
| `*aks*operator*` / `*eks*operator*` / `*gke*operator*` | `showcase-k8s`, `showcase-rbac-k8s` |
141141

142-
### Job Name → local-run.sh Job Parameter
143-
144-
Map the nightly job to the `local-run.sh` job name format (used with `-j` flag):
145-
146-
| CI job pattern | local-run.sh job name |
147-
|----------------|----------------------|
148-
| `*ocp*helm*nightly*` | `nightly-ocp-helm` |
149-
| `*ocp*operator*nightly*` | `nightly-ocp-operator` |
150-
| `*ocp*helm*upgrade*nightly*` | `nightly-ocp-helm-upgrade` |
151-
| `*ocp*operator*auth-providers*` | `nightly-ocp-operator-auth-providers` |
152-
| `*aks*helm*` | `nightly-aks-helm` |
153-
| `*aks*operator*` | `nightly-aks-operator` |
154-
| `*eks*helm*` | `nightly-eks-helm` |
155-
| `*eks*operator*` | `nightly-eks-operator` |
156-
| `*gke*helm*` | `nightly-gke-helm` |
157-
| `*gke*operator*` | `nightly-gke-operator` |
158-
| `*pull*ocp*helm*` | `pull-ocp-helm` |
142+
### Job Name → local-run.sh `-j` Parameter
143+
144+
Use the **full Prow CI job name** directly as the `-j` parameter. The `openshift-ci-tests.sh` handler uses bash glob patterns (like `*ocp*helm*nightly*`) to match the job name, so the full name works correctly.
145+
146+
**Example**: For a Prow URL containing `periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly`, use:
147+
```bash
148+
./local-run.sh -j periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly -r <repo> -t <tag> -s
149+
```
150+
151+
Do NOT use shortened names like `nightly-ocp-helm` — these do not match the glob patterns in `openshift-ci-tests.sh`.
152+
153+
### Job Name → local-run.sh `-r` Parameter (Image Repo)
154+
155+
The `-r` flag is **required** for CLI mode. Without it, `local-run.sh` falls into interactive mode.
156+
157+
| Release branch | `-r` value | `-t` value |
158+
|---------------|------------|------------|
159+
| `main` | `rhdh-community/rhdh` | `next` |
160+
| `release-1.9` | `rhdh/rhdh-hub-rhel9` | `1.9` |
161+
| `release-1.8` | `rhdh/rhdh-hub-rhel9` | `1.8` |
159162

160163
## Output
161164

.rulesync/skills/parse-ci-failure/SKILL.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -141,23 +141,26 @@ Use Jira MCP tools to:
141141
| `*aks*helm*` / `*eks*helm*` / `*gke*helm*` | `showcase-k8s`, `showcase-rbac-k8s` |
142142
| `*aks*operator*` / `*eks*operator*` / `*gke*operator*` | `showcase-k8s`, `showcase-rbac-k8s` |
143143

144-
### Job Name → local-run.sh Job Parameter
145-
146-
Map the nightly job to the `local-run.sh` job name format (used with `-j` flag):
147-
148-
| CI job pattern | local-run.sh job name |
149-
|----------------|----------------------|
150-
| `*ocp*helm*nightly*` | `nightly-ocp-helm` |
151-
| `*ocp*operator*nightly*` | `nightly-ocp-operator` |
152-
| `*ocp*helm*upgrade*nightly*` | `nightly-ocp-helm-upgrade` |
153-
| `*ocp*operator*auth-providers*` | `nightly-ocp-operator-auth-providers` |
154-
| `*aks*helm*` | `nightly-aks-helm` |
155-
| `*aks*operator*` | `nightly-aks-operator` |
156-
| `*eks*helm*` | `nightly-eks-helm` |
157-
| `*eks*operator*` | `nightly-eks-operator` |
158-
| `*gke*helm*` | `nightly-gke-helm` |
159-
| `*gke*operator*` | `nightly-gke-operator` |
160-
| `*pull*ocp*helm*` | `pull-ocp-helm` |
144+
### Job Name → local-run.sh `-j` Parameter
145+
146+
Use the **full Prow CI job name** directly as the `-j` parameter. The `openshift-ci-tests.sh` handler uses bash glob patterns (like `*ocp*helm*nightly*`) to match the job name, so the full name works correctly.
147+
148+
**Example**: For a Prow URL containing `periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly`, use:
149+
```bash
150+
./local-run.sh -j periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-20-helm-nightly -r <repo> -t <tag> -s
151+
```
152+
153+
Do NOT use shortened names like `nightly-ocp-helm` — these do not match the glob patterns in `openshift-ci-tests.sh`.
154+
155+
### Job Name → local-run.sh `-r` Parameter (Image Repo)
156+
157+
The `-r` flag is **required** for CLI mode. Without it, `local-run.sh` falls into interactive mode.
158+
159+
| Release branch | `-r` value | `-t` value |
160+
|---------------|------------|------------|
161+
| `main` | `rhdh-community/rhdh` | `next` |
162+
| `release-1.9` | `rhdh/rhdh-hub-rhel9` | `1.9` |
163+
| `release-1.8` | `rhdh/rhdh-hub-rhel9` | `1.8` |
161164

162165
## Output
163166

0 commit comments

Comments
 (0)