mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-05 06:33:11 +00:00
test: add entrypoint
This commit is contained in:
parent
35dff2cdb2
commit
09c8e64ff4
@ -35,7 +35,7 @@ class DockerManager:
|
||||
logger.debug(f"Network {network_name} created")
|
||||
return network
|
||||
|
||||
def start_container(self, image_name, port_bindings, args, log_path, container_ip, volumes, remove_container=True):
|
||||
def start_container(self, image_name, port_bindings, args, log_path, container_ip, volumes, entrypoint, remove_container=True):
|
||||
cli_args = []
|
||||
for key, value in args.items():
|
||||
if isinstance(value, list): # Check if value is a list
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
nomos_nodes = {
|
||||
"nomos": {
|
||||
"image": "nomos:latest",
|
||||
"image": "nomos/nomos:latest",
|
||||
"volumes": ["./testnet:/etc/nomos", "./tests/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/nomos:latest",
|
||||
"volumes": ["./testnet:/etc/nomos", "./tests/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", "volumes": ["./testnet:/etc/nomos"], "ports": "", "entrypoint": "/etc/nomos/scripts/run_cfgsync.sh"},
|
||||
"cfgsync": {"image": "nomos/nomos:latest", "volumes": ["./testnet:/etc/nomos"], "ports": "", "entrypoint": "/etc/nomos/scripts/run_cfgsync.sh"},
|
||||
}
|
||||
|
||||
@ -71,6 +71,7 @@ class NomosNode:
|
||||
log_path=self._log_path,
|
||||
container_ip=self._ext_ip,
|
||||
volumes=self._volumes,
|
||||
entrypoint=self._entrypoint,
|
||||
remove_container=True,
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user