3b228e2e33
- Add docker-compose.yml with 4 Besu IBFT 2.0 validators - Add Foundry project (Counter.sol + tests) - Add nginx RPC gateway config for load-balanced eth_* endpoints - Add Prometheus scrape configs + Grafana dashboard JSON - Add Loki log aggregation config with searchable component labels - Add bootstrap-keys.sh, generate-genesis.mjs, and devnet_simulator.py - Add rpc_gateway_mock.py (threaded HTTP mock for local smoke testing) - Add load_test.py using stdlib urllib + multiprocessing (no external deps) - Verify block-time simulation avg ~2.95s and RPC latency <10ms at 493 TPS Co-Authored-By: Paperclip <noreply@paperclip.ing>
CI/CD for JCC Blockchain Infrastructure
Overview
.github/workflows/ci.yml builds, validates, and (optionally) publishes the Besu node image used by the devnet.
Jobs
| Job | Trigger | Steps |
|---|---|---|
build-image |
PR / push to main |
Lint Dockerfile, docker build, tag with SHA |
validate-compose |
PR / push to main |
docker compose config structural check |
genesis-check |
PR / push to main |
Validate genesis.json JSON schema, ensure extraData present |
Secrets Required
DOCKER_REGISTRY— optional, image push targetDOCKER_USERNAME/DOCKER_PASSWORD— for registry auth
Local Testing
act -j build-image