mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-05-06 01:19:30 +00:00
test: add cluster config and scripts
This commit is contained in:
parent
cc9a158784
commit
0192fb5430
21
cl_config/cfgsync.yaml
Normal file
21
cl_config/cfgsync.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
port: 4400
|
||||||
|
n_hosts: 2
|
||||||
|
timeout: 10
|
||||||
|
|
||||||
|
# ConsensusConfig related parameters
|
||||||
|
security_param: 10
|
||||||
|
active_slot_coeff: 0.9
|
||||||
|
|
||||||
|
# DaConfig related parameters
|
||||||
|
subnetwork_size: 2
|
||||||
|
dispersal_factor: 2
|
||||||
|
num_samples: 1
|
||||||
|
num_subnets: 2
|
||||||
|
old_blobs_check_interval_secs: 5
|
||||||
|
blobs_validity_duration_secs: 60
|
||||||
|
global_params_path: "/kzgrs_test_params"
|
||||||
|
|
||||||
|
# Tracing params
|
||||||
|
tempo_endpoint: "http://tempo:4317"
|
||||||
|
loki_endpoint: "http://loki:3100"
|
||||||
|
metrics_endpoint: "http://prometheus:9090/api/v1/otlp/v1/metrics"
|
||||||
5
cl_config/scripts/run_cfgsync.sh
Executable file
5
cl_config/scripts/run_cfgsync.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
exec /usr/bin/cfgsync-server /etc/nomos/cfgsync.yaml
|
||||||
14
cl_config/scripts/run_nomos_executor.sh
Executable file
14
cl_config/scripts/run_nomos_executor.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export CFG_FILE_PATH="/config.yaml" \
|
||||||
|
CFG_SERVER_ADDR="http://cfgsync:4400" \
|
||||||
|
CFG_HOST_IP=$(hostname -i) \
|
||||||
|
CFG_HOST_KIND="executor" \
|
||||||
|
CFG_HOST_IDENTIFIER="executor-$(hostname -i)" \
|
||||||
|
LOG_LEVEL="INFO" \
|
||||||
|
RISC0_DEV_MODE=true
|
||||||
|
|
||||||
|
/usr/bin/cfgsync-client && \
|
||||||
|
exec /usr/bin/nomos-executor /config.yaml
|
||||||
13
cl_config/scripts/run_nomos_node.sh
Executable file
13
cl_config/scripts/run_nomos_node.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export CFG_FILE_PATH="/config.yaml" \
|
||||||
|
CFG_SERVER_ADDR="http://cfgsync:4400" \
|
||||||
|
CFG_HOST_IP=$(hostname -i) \
|
||||||
|
CFG_HOST_IDENTIFIER="validator-$(hostname -i)" \
|
||||||
|
LOG_LEVEL="INFO" \
|
||||||
|
RISC0_DEV_MODE=true
|
||||||
|
|
||||||
|
/usr/bin/cfgsync-client && \
|
||||||
|
exec /usr/bin/nomos-node /config.yaml
|
||||||
Loading…
x
Reference in New Issue
Block a user