Compare commits

...

4 Commits

Author SHA1 Message Date
f0b51f4a99 [dev] disable scheduled workflows 2024-08-06 18:39:30 -05:00
8cad91333d don't specify default branch 2024-08-06 18:39:30 -05:00
b2e60bc50c ipld-eth-db healthcheck
All checks were successful
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (pull_request) Successful in 19m43s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (pull_request) Successful in 32m37s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (pull_request) Successful in 43m45s
2024-08-03 20:36:42 -05:00
be3b53e93f add ipld-eth-server to plugeth fixturenet 2024-08-03 15:53:26 -05:00
7 changed files with 57 additions and 12 deletions

View File

@ -4,8 +4,6 @@ on:
push: push:
branches: '*' branches: '*'
pull_request: pull_request:
schedule: # Note: coordinate with other tests to not overload runners at the same time of day
- cron: '12 01 * * *'
jobs: jobs:
test: test:

View File

@ -4,8 +4,6 @@ on:
push: push:
branches: '*' branches: '*'
pull_request: pull_request:
schedule: # Note: coordinate with other tests to not overload runners at the same time of day
- cron: '14 01 * * *'
jobs: jobs:
test: test:

View File

@ -10,6 +10,7 @@ services:
image: cerc/fixturenet-plugeth-plugeth:local image: cerc/fixturenet-plugeth-plugeth:local
volumes: volumes:
- fixturenet_plugeth_bootnode_geth_data:/root/ethdata - fixturenet_plugeth_bootnode_geth_data:/root/ethdata
- fixturenet_plugeth_bootnode_geth_config:/opt/testnet/build/el
ports: ports:
- "9898" - "9898"
- "30303" - "30303"
@ -127,6 +128,7 @@ services:
volumes: volumes:
fixturenet_plugeth_bootnode_geth_data: fixturenet_plugeth_bootnode_geth_data:
fixturenet_plugeth_bootnode_geth_config:
fixturenet_plugeth_geth_1_data: fixturenet_plugeth_geth_1_data:
fixturenet_plugeth_geth_2_data: fixturenet_plugeth_geth_2_data:
fixturenet_plugeth_lighthouse_1_data: fixturenet_plugeth_lighthouse_1_data:

View File

@ -13,17 +13,16 @@ services:
DATABASE_PORT: 5432 DATABASE_PORT: 5432
ipld-eth-db: ipld-eth-db:
image: timescale/timescaledb:2.8.1-pg14 image: timescale/timescaledb:latest-pg14
restart: always restart: always
environment: environment:
POSTGRES_USER: "vdbm" POSTGRES_USER: "vdbm"
POSTGRES_DB: "cerc_testing" POSTGRES_DB: "cerc_testing"
POSTGRES_PASSWORD: "password" POSTGRES_PASSWORD: "password"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "5432"]
interval: 30s
timeout: 10s
retries: 10
start_period: 3s
ports: ports:
- "127.0.0.1:8077:5432" - "127.0.0.1:8077:5432"
healthcheck:
test: ["CMD", "pg_isready", "-U", "vdbm"]
interval: 2s
timeout: 1s
retries: 3

View File

@ -0,0 +1,43 @@
services:
ipld-eth-server:
restart: unless-stopped
depends_on:
ipld-eth-db:
condition: service_healthy
image: cerc/ipld-eth-server:local
environment:
SERVER_HTTP_PATH: 0.0.0.0:8081
SERVER_GRAPHQL: "true"
SERVER_GRAPHQLPATH: 0.0.0.0:8082
ETH_CHAIN_CONFIG: "/opt/config/chain.json"
DATABASE_NAME: cerc_testing
DATABASE_HOSTNAME: ipld-eth-db
DATABASE_PORT: 5432
DATABASE_USER: "vdbm"
DATABASE_PASSWORD: "password"
ETH_FORWARD_ETH_CALLS: "false"
ETH_FORWARD_GET_STORAGE_AT: "false"
ETH_PROXY_ON_ERROR: "false"
METRICS: "true"
PROM_HTTP: "true"
PROM_HTTP_ADDR: "0.0.0.0"
PROM_HTTP_PORT: "8090"
LOG_LEVEL: "debug"
CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true}
volumes:
- fixturenet_plugeth_bootnode_geth_config:/opt/config
ports:
- "8081"
- "8082"
- "8090"
- "40000"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8081"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s
volumes:
fixturenet_plugeth_bootnode_geth_config:

View File

@ -2,7 +2,9 @@ FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
# Build genesis config # Build genesis config
ADD genesis /opt/genesis ADD genesis /opt/genesis
RUN cd /opt/genesis && make genesis-el WORKDIR /opt/genesis
RUN make genesis-el
RUN jq ".config" build/el/geth.json > build/el/chain.json
FROM golang:1.21-alpine as builder FROM golang:1.21-alpine as builder

View File

@ -6,6 +6,7 @@ repos:
- git.vdb.to/cerc-io/plugeth-statediff - git.vdb.to/cerc-io/plugeth-statediff
- git.vdb.to/cerc-io/lighthouse - git.vdb.to/cerc-io/lighthouse
- git.vdb.to/cerc-io/ipld-eth-db - git.vdb.to/cerc-io/ipld-eth-db
- git.vdb.to/cerc-io/ipld-eth-server
containers: containers:
- cerc/plugeth-statediff - cerc/plugeth-statediff
- cerc/plugeth - cerc/plugeth
@ -15,6 +16,8 @@ containers:
- cerc/lighthouse-cli - cerc/lighthouse-cli
- cerc/fixturenet-eth-lighthouse - cerc/fixturenet-eth-lighthouse
- cerc/ipld-eth-db - cerc/ipld-eth-db
- cerc/ipld-eth-server
pods: pods:
- fixturenet-plugeth - fixturenet-plugeth
- ipld-eth-db - ipld-eth-db
- ipld-eth-server