mirror of
https://github.com/logos-co/nomos-e2e-tests.git
synced 2025-02-24 04:08:08 +00:00
fix: set default docker image
- set nomos-cli command
This commit is contained in:
parent
ae11280f0c
commit
a5a04b2671
@ -19,10 +19,16 @@ NOMOS = "nomos"
|
||||
NOMOS_EXECUTOR = "nomos_executor"
|
||||
CFGSYNC = "cfgsync"
|
||||
|
||||
DEFAULT_IMAGE = "ghcr.io/logos-co/nomos-node:testnet"
|
||||
|
||||
NODE_1 = get_env_var("NODE_1", NOMOS)
|
||||
NODE_2 = get_env_var("NODE_2", NOMOS_EXECUTOR)
|
||||
NODE_3 = get_env_var("NODE_3", CFGSYNC)
|
||||
|
||||
NOMOS_IMAGE = get_env_var("NOMOS_IMAGE", DEFAULT_IMAGE)
|
||||
|
||||
NOMOS_CLI = ["docker", "run", "--rm", "--entrypoint", "", NOMOS_IMAGE]
|
||||
|
||||
ADDITIONAL_NODES = get_env_var("ADDITIONAL_NODES", f"{NOMOS},{NOMOS}")
|
||||
# more nodes need to follow the NODE_X pattern
|
||||
DOCKER_LOG_DIR = get_env_var("DOCKER_LOG_DIR", "./log/docker")
|
||||
|
@ -1,18 +1,20 @@
|
||||
from src.env_vars import NOMOS_IMAGE
|
||||
|
||||
nomos_nodes = {
|
||||
"nomos": {
|
||||
"image": "nomos:latest",
|
||||
"image": NOMOS_IMAGE,
|
||||
"volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"],
|
||||
"ports": ["3000/udp", "18080/tcp"],
|
||||
"entrypoint": "/etc/nomos/scripts/run_nomos_node.sh",
|
||||
},
|
||||
"nomos_executor": {
|
||||
"image": "nomos:latest",
|
||||
"image": NOMOS_IMAGE,
|
||||
"volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"],
|
||||
"ports": ["3000/udp", "18080/tcp"],
|
||||
"entrypoint": "/etc/nomos/scripts/run_nomos_executor.sh",
|
||||
},
|
||||
"cfgsync": {
|
||||
"image": "nomos:latest",
|
||||
"image": NOMOS_IMAGE,
|
||||
"volumes": ["cluster_config:/etc/nomos"],
|
||||
"ports": "",
|
||||
"entrypoint": "/etc/nomos/scripts/run_cfgsync.sh",
|
||||
|
Loading…
x
Reference in New Issue
Block a user