Skip to content

Commit 49b67d1

Browse files
authored
Merge pull request #8 from rkoliada-cl/docs/claude-md-tests-buildsys
docs(CLAUDE.md): document in-repo integration tests; build via Build …
2 parents 36a4637 + 4e6b08e commit 49b67d1

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,15 @@ Run from the repo root (`/root/ai-workspace/node_exporter/`):
7272
| `make test-e2e` | Run the e2e harness (downloads collector fixtures on first run) |
7373
| `make checkmetrics && make checkrules` | Validate metric and rule schemas |
7474

75+
**Integration/e2e tests** live in this repo: the harness `end-to-end-test.sh` (run via `make test-e2e`, exercised twice per build over TCP and the unix socket) plus the `collector/` fixtures. They are shipped as the versioned tests subpackage to `/opt/node_exporter_tests/` and consumed by the CloudLinux QA pipeline.
76+
7577
## Build System
7678

77-
This repo ships as an RPM/DEB package: `node_exporter`. **Use the `/build-create` skill to submit builds**it runs `build-plan.py` and submits the payload via the Build System CLI. The tables below are the project-specific overrides on top of that generic flow.
79+
This repo ships as an RPM/DEB package: `node_exporter`. **Builds are created through the CloudLinux Build System API via the `/build-create` skill**the skill assembles the build payload and submits it to the Build System. The tables below are the project-specific overrides on top of that generic flow.
7880

7981
### Parameters
8082

81-
Most fields come from `build-plan.py`; the table records what should end up in the final payload for a `node_exporter`-only build.
83+
The `/build-create` skill fills most fields automatically; the table records what should end up in the final payload for a `node_exporter`-only build.
8284

8385
| Field | Value |
8486
| --- | --- |
@@ -87,15 +89,14 @@ Most fields come from `build-plan.py`; the table records what should end up in t
8789
| `build_platforms` | `CL7`, `CL8`, `CL9`, `CL10`, `ubuntu22_04_ext_cpanel` |
8890
| `build_flavors` | `alt-php-els` (id `68b1ad89aa0264b2618434c8`) |
8991
| `target_channel` | `beta` |
90-
| `build_ref.name` | **Branch (or tag) to build.** `build-plan.py` reads this from the current `git` checkout in the workspace — confirm you are on the intended branch (your feature branch, not `master`) before generating the plan. |
92+
| `build_ref.name` | **Branch (or tag) to build.** Taken from the current `git` checkout in the workspace — confirm you are on the intended branch (your feature branch, not `master`) before creating the build. |
9193
| `build_ref.type` | `git_branch` or `git_tag`. |
92-
| `testing.qa_ref` (per project) and top-level `qa_ref` | **Branch checked out in the QA repo for Jenkins jobs.** `build-plan.py` defaults both to `"master"` regardless of `build_ref.name` — override to your feature branch if the QA side has matching changes. |
94+
| `testing.qa_ref` (per project) and top-level `qa_ref` | **Branch checked out in the QA repo for Jenkins jobs.** Defaults both to `"master"` regardless of `build_ref.name` — override to your feature branch if the QA side has matching changes. |
9395

9496
### Jenkins jobs (node_exporter-relevant)
9597

96-
`build-plan.py` emits the workspace-wide plan covering every project in the workspace. For a `node_exporter`-only build, filter `projects[]` down to `node_exporter` and keep **only** these jobs in `jenkins_jobs[]`:
98+
The `/build-create` skill generates the workspace-wide plan covering every project in the workspace. For a `node_exporter`-only build, filter `projects[]` down to `node_exporter` and keep **only** these jobs in `jenkins_jobs[]`:
9799

98100
| Job name | Build System `_id` |
99101
| --- | --- |
100102
| `CMT-end-server-tools` | `635b962c2afd3e1feec603bd` |
101-
| `clpro-ubuntu-tests` | `677e40a2f1b69faa0d69baf6` |

0 commit comments

Comments
 (0)