mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
Compare commits
3 Commits
64943a5130
...
62dba0803d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
62dba0803d | ||
![]() |
789eae5cc1 | ||
![]() |
b352184dc6 |
6
DockerfileStandard
Normal file
6
DockerfileStandard
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-standard.toml", "--log", "run/log_config"]
|
6
DockerfileTurbo
Normal file
6
DockerfileTurbo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-turbo.toml", "--log", "run/log_config"]
|
@ -209,13 +209,11 @@ class TestFramework:
|
|||||||
if i > 0:
|
if i > 0:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
node.start()
|
node.start()
|
||||||
|
node.wait_for_rpc_connection()
|
||||||
|
|
||||||
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
||||||
time.sleep(self.launch_wait_seconds)
|
time.sleep(self.launch_wait_seconds)
|
||||||
|
|
||||||
for node in self.nodes:
|
|
||||||
node.wait_for_rpc_connection()
|
|
||||||
|
|
||||||
def add_arguments(self, parser: argparse.ArgumentParser):
|
def add_arguments(self, parser: argparse.ArgumentParser):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--conflux-binary",
|
"--conflux-binary",
|
||||||
|
Loading…
Reference in New Issue
Block a user