Skip to content

Commit 7d1e372

Browse files
committed
chore: required review changes (#35)
1 parent 5f2dc4c commit 7d1e372

6 files changed

Lines changed: 1 addition & 97 deletions

File tree

.github/workflows/checks.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,13 @@ jobs:
5858
run: npm ci
5959
- name: Run build check
6060
run: npm run build:check
61-
compose-validate:
62-
name: Validate Docker Compose overlays (Tor / I2P)
63-
runs-on: ubuntu-latest
64-
steps:
65-
- name: Checkout
66-
uses: actions/checkout@v3
67-
- name: Validate merged compose files
68-
env:
69-
SECRET: ci_placeholder_not_for_production_use_repeat_to_64chars_aaaaaaaa
70-
run: node ./scripts/verify-compose-overlays.mjs
7161
test-units-and-cover:
7262
name: Unit Tests And Coverage
7363
runs-on: ubuntu-latest
7464
needs:
7565
- commit-lint
7666
- lint
7767
- build-check
78-
- compose-validate
7968
steps:
8069
- name: Checkout
8170
uses: actions/checkout@v3
@@ -111,7 +100,6 @@ jobs:
111100
- commit-lint
112101
- lint
113102
- build-check
114-
- compose-validate
115103
steps:
116104
- name: Checkout
117105
uses: actions/checkout@v3

CONFIGURATION.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ Tunnel keys are persisted at `.nostr/i2p/data/` so the `.b32.i2p` address surviv
7373

7474
- Start with I2P: `./scripts/start_with_i2p`
7575
- Print hostname hints: `./scripts/print_i2p_hostname`
76-
- Validate compose merges without starting containers (requires Docker): `npm run compose:validate` (same logic as the `compose-validate` CI job).
7776

7877
If you've set READ_REPLICAS to 4, you should configure RR0_ through RR3_.
7978

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ Print the I2P hostname:
244244
./scripts/print_i2p_hostname
245245
```
246246
247-
Verify that Docker Compose files merge correctly (no stack started; requires Docker on PATH):
248-
```
249-
npm run compose:validate
250-
```
251-
This runs `docker compose … config -q` for the I2P-only, Tor-only, and Tor+I2P overlay combinations (same check as the `compose-validate` CI job).
252-
253247
### Importing events from JSON Lines
254248
255249
You can import NIP-01 events from a `.jsonl` file directly into the relay database.
@@ -642,7 +636,7 @@ To observe client and subscription counts in real-time during a test, you can in
642636
```bash
643637
docker compose logs -f nostream
644638
```
645-
=======
639+
646640
## Export Events
647641

648642
Export all stored events to a [JSON Lines](https://jsonlines.org/) (`.jsonl`) file. Each line is a valid NIP-01 Nostr event JSON object. The export streams rows from the database using cursors, so it works safely on relays with millions of events without loading them into memory.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"i2p:docker:compose:start": "./scripts/start_with_i2p",
6262
"i2p:hostname": "./scripts/print_i2p_hostname",
6363
"i2p:docker:compose:stop": "./scripts/stop",
64-
"compose:validate": "node ./scripts/verify-compose-overlays.mjs",
6564
"docker:integration:run": "docker compose -f ./test/integration/docker-compose.yml run --rm tests",
6665
"docker:test:integration": "npm run docker:integration:run -- npm run test:integration",
6766
"docker:cover:integration": "npm run docker:integration:run -- npm run cover:integration",

scripts/verify-compose-overlays.mjs

Lines changed: 0 additions & 73 deletions
This file was deleted.

scripts/verify_compose_overlays

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)