setting up
This commit is contained in:
parent
3257e42a02
commit
6147c14c9b
|
@ -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]
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue