Skip to content

Commit 9c061b8

Browse files
zdrapelaclaude
andcommitted
docs: sync rulesync opencode output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 50b0430 commit 9c061b8

File tree

4 files changed

+15
-39
lines changed

4 files changed

+15
-39
lines changed

.claude/rules/ci-e2e-testing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,5 +528,3 @@ The choice of config map depends on the **Playwright test project** being execut
528528
### **Configuration Deployment Process**
529529

530530
The config maps are deployed as Kubernetes ConfigMaps during CI/CD pipeline execution and are mounted into the RHDH pods to provide runtime configuration. The pipeline selects the appropriate config map based on the test project being executed.
531-
532-
---

.cursor/rules/ci-e2e-testing.mdc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,5 +531,3 @@ The choice of config map depends on the **Playwright test project** being execut
531531
### **Configuration Deployment Process**
532532

533533
The config maps are deployed as Kubernetes ConfigMaps during CI/CD pipeline execution and are mounted into the RHDH pods to provide runtime configuration. The pipeline selects the appropriate config map based on the test project being executed.
534-
535-
---

.opencode/memories/ci-e2e-testing.md

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ test.beforeAll(async ({ }, testInfo) => {
7777
- `showcase-operator`: General functionality tests with base deployment using Operator
7878
- `showcase-operator-rbac`: General functionality tests with RBAC-enabled deployment using Operator
7979
- `showcase-runtime`: Runtime environment tests
80+
- `showcase-runtime-db`: Runtime database tests
8081
- `showcase-sanity-plugins`: Plugin sanity checks
8182
- `showcase-upgrade`: Upgrade scenario tests
8283
- `showcase-localization-fr`: French localization tests
@@ -125,18 +126,18 @@ test.beforeAll(async ({ }, testInfo) => {
125126

126127
#### CI/CD Pipeline Execution
127128

128-
In the CI/CD pipeline, tests are executed directly using Playwright's `--project` flag via the `run_tests()` function in `.ci/pipelines/utils.sh`:
129+
In the CI/CD pipeline, tests are executed directly using Playwright's `--project` flag via `testing::run_tests()` in `.ci/pipelines/lib/testing.sh`:
129130

130131
```bash
131132
yarn playwright test --project="${playwright_project}"
132133
```
133134

134-
The namespace and Playwright project are decoupled, allowing flexible reuse. The `check_and_test()` and `run_tests()` functions accept an explicit `playwright_project` argument:
135+
The namespace and Playwright project are decoupled, allowing flexible reuse. The `testing::check_and_test()` and `testing::run_tests()` functions accept an explicit `playwright_project` argument:
135136

136137
```bash
137138
# Function signatures:
138-
check_and_test "${RELEASE_NAME}" "${NAMESPACE}" "${PLAYWRIGHT_PROJECT}" "${URL}" [max_attempts] [wait_seconds]
139-
run_tests "${RELEASE_NAME}" "${NAMESPACE}" "${PLAYWRIGHT_PROJECT}" "${URL}"
139+
testing::check_and_test "${RELEASE_NAME}" "${NAMESPACE}" "${PLAYWRIGHT_PROJECT}" "${URL}" [max_attempts] [wait_seconds]
140+
testing::run_tests "${RELEASE_NAME}" "${NAMESPACE}" "${PLAYWRIGHT_PROJECT}" "${URL}"
140141
```
141142

142143
#### Local Development Scripts
@@ -266,25 +267,7 @@ Check the readme at `.ci/pipelines/README.md`
266267

267268
### Cluster Pools
268269

269-
Available cluster pools for different OCP versions:
270-
271-
- **RHDH-4-19-US-EAST-2**
272-
- Usage: OCP v4.19 nightly jobs
273-
- [Cluster Pool Configuration](https://github.com/openshift/release/blob/master/clusters/hosted-mgmt/hive/pools/rhdh/rhdh-ocp-4-19-0-amd64-aws-us-east-2_clusterpool.yaml)
274-
275-
- **RHDH-4-18-US-EAST-2**
276-
- Usage: OCP v4.18 nightly jobs
277-
- [Cluster Pool Configuration](https://github.com/openshift/release/blob/master/clusters/hosted-mgmt/hive/pools/rhdh/rhdh-ocp-4-18-0-amd64-aws-us-east-2_clusterpool.yaml)
278-
279-
- **RHDH-4-17-US-EAST-2**
280-
- Usage: PR checks on main branch and OCP v4.17 nightly jobs
281-
- [Cluster Pool Configuration](https://github.com/openshift/release/blob/master/clusters/hosted-mgmt/hive/pools/rhdh/rhdh-ocp-4-17-0-amd64-aws-us-east-2_clusterpool.yaml)
282-
283-
- **RHDH-4-16-US-EAST-2**
284-
- Usage: OCP v4.16 nightly jobs
285-
- [Cluster Pool Configuration](https://github.com/openshift/release/blob/master/clusters/hosted-mgmt/hive/pools/rhdh/rhdh-ocp-4-16-0-amd64-aws-us-east-2_clusterpool.yaml)
286-
287-
**Note:** This is subject to change. Use `.ci/pipelines/README.md` as a source of truth.
270+
RHDH uses dedicated Hive cluster pools with the `rhdh` prefix on AWS `us-east-2`. Pool versions rotate as new OCP releases come out. Find the current list by filtering for `rhdh` in the [existing cluster pools](https://docs.ci.openshift.org/how-tos/cluster-claim/#existing-cluster-pools) page. See also `.ci/pipelines/README.md`.
288271

289272
### CI Job Types
290273

@@ -297,7 +280,7 @@ Available cluster pools for different OCP versions:
297280
#### Nightly Tests
298281
- **Schedule**: Automated nightly runs
299282
- **Environments**: Multiple OCP versions, AKS, GKE
300-
- **Reporting**: Slack notifications to `#rhdh-e2e-test-alerts`
283+
- **Reporting**: Slack notifications to `#rhdh-e2e-alerts`
301284

302285
### Test Execution Environment
303286

@@ -347,14 +330,15 @@ yarn prettier:fix # Fix formatting for shell, markdown, and YAML file
347330
- Functions may temporarily disable/re-enable error handling with `set +e` / `set -e` pattern
348331

349332
#### Job Handlers
350-
The main script handles different job types:
351-
- `handle_aks_helm`: AKS Helm deployment
352-
- `handle_eks_helm`: EKS Helm deployment
353-
- `handle_gke_helm`: GKE Helm deployment
354-
- `handle_ocp_operator`: OCP Operator deployment
355-
- `handle_ocp_nightly`: OCP nightly tests
356-
- `handle_ocp_pull`: OCP PR tests
333+
The main script dispatches to job-specific handlers in `.ci/pipelines/jobs/`:
334+
- `handle_aks_helm` / `handle_aks_operator`: AKS Helm/Operator deployment
335+
- `handle_eks_helm` / `handle_eks_operator`: EKS Helm/Operator deployment
336+
- `handle_gke_helm` / `handle_gke_operator`: GKE Helm/Operator deployment
337+
- `handle_ocp_nightly`: OCP Helm nightly tests (also handles OSD-GCP Helm)
338+
- `handle_ocp_operator`: OCP Operator nightly tests (also handles OSD-GCP Operator)
339+
- `handle_ocp_pull`: OCP PR checks
357340
- `handle_auth_providers`: Auth provider tests
341+
- `handle_ocp_helm_upgrade`: Upgrade scenario tests
358342

359343
#### Special Case: showcase-auth-providers Deployment
360344

@@ -544,5 +528,3 @@ The choice of config map depends on the **Playwright test project** being execut
544528
### **Configuration Deployment Process**
545529

546530
The config maps are deployed as Kubernetes ConfigMaps during CI/CD pipeline execution and are mounted into the RHDH pods to provide runtime configuration. The pipeline selects the appropriate config map based on the test project being executed.
547-
548-
---

.rulesync/rules/ci-e2e-testing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,5 +534,3 @@ The choice of config map depends on the **Playwright test project** being execut
534534
### **Configuration Deployment Process**
535535

536536
The config maps are deployed as Kubernetes ConfigMaps during CI/CD pipeline execution and are mounted into the RHDH pods to provide runtime configuration. The pipeline selects the appropriate config map based on the test project being executed.
537-
538-
---

0 commit comments

Comments
 (0)