prints images before confirmation
This commit is contained in:
parent
ac33d3c7be
commit
1154544e99
|
@ -1,6 +1,9 @@
|
||||||
using ArgsUniform;
|
using ArgsUniform;
|
||||||
using CodexNetDeployer;
|
using CodexNetDeployer;
|
||||||
using DistTestCore;
|
using DistTestCore;
|
||||||
|
using DistTestCore.Codex;
|
||||||
|
using DistTestCore.Marketplace;
|
||||||
|
using DistTestCore.Metrics;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Configuration = CodexNetDeployer.Configuration;
|
using Configuration = CodexNetDeployer.Configuration;
|
||||||
|
|
||||||
|
@ -29,6 +32,12 @@ public class Program
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Console.WriteLine("Using images:" + nl +
|
||||||
|
$"\tCodex image: '{CodexContainerRecipe.DockerImage}'" + nl +
|
||||||
|
$"\tCodex Contracts image: '{CodexContractsContainerRecipe.DockerImage}'" + nl +
|
||||||
|
$"\tPrometheus image: '{PrometheusContainerRecipe.DockerImage}'" + nl +
|
||||||
|
$"\tGeth image: '{GethContainerRecipe.DockerImage}'" + nl);
|
||||||
|
|
||||||
if (!args.Any(a => a == "-y"))
|
if (!args.Any(a => a == "-y"))
|
||||||
{
|
{
|
||||||
Console.WriteLine("Does the above config look good? [y/n]");
|
Console.WriteLine("Does the above config look good? [y/n]");
|
||||||
|
|
Loading…
Reference in New Issue