setting up

This commit is contained in:
benbierens 2023-07-17 09:26:54 +02:00
parent 3257e42a02
commit 6147c14c9b
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 16 additions and 3 deletions

View File

@ -36,6 +36,11 @@ namespace DistTestCore
[OneTimeSetUp]
public void GlobalSetup()
{
fixtureLog.Log($"Codex Distributed Tests are starting...");
fixtureLog.Log($"Codex image: '{CodexContainerRecipe.DockerImage}'");
fixtureLog.Log($"Prometheus image: '{PrometheusContainerRecipe.DockerImage}'");
fixtureLog.Log($"Geth image: '{GethContainerRecipe.DockerImage}'");
// Previous test run may have been interrupted.
// Begin by cleaning everything up.
try
@ -54,9 +59,6 @@ namespace DistTestCore
}
fixtureLog.Log("Global setup cleanup successful");
fixtureLog.Log($"Codex image: '{CodexContainerRecipe.DockerImage}'");
fixtureLog.Log($"Prometheus image: '{PrometheusContainerRecipe.DockerImage}'");
fixtureLog.Log($"Geth image: '{GethContainerRecipe.DockerImage}'");
}
[SetUp]

View File

@ -0,0 +1,11 @@
services:
codex-node1:
# image: codexstorage/nim-codex:sha-82b0399
build:
context: ..
dockerfile: docker/Dockerfile
environment:
- CODEX_LOG_LEVEL=${CODEX_LOG_LEVEL:-TRACE}
- CODEX_METRICS=${CODEX_METRICS:-false}
ports:
- 8080:8080/tcp # REST API