Exemplo n.º 1
0
        public async Task Check()
        {
            var client = pstep.sshClient.Connect(await pstep.GetPiloteSshConnection());
            var result = client.Command("curl http://127.0.0.1:8200/v1/");

            StepAssert.Contains("{", result);
        }
Exemplo n.º 2
0
        public async Task Check()
        {
            pstep.sshClient.Connect(await pstep.GetPiloteSshConnection());
            var result = pstep.sshClient.Command("docker run --rm hello-world");

            StepAssert.Contains("Hello from Docker!", result);
            await Task.CompletedTask;
        }
Exemplo n.º 3
0
 public async Task Clean()
 {
     sshCiexe.CleanCiImage(await pstep.GetPiloteSshConnection());
 }
Exemplo n.º 4
0
 public async Task Run()
 {
     sshCiexe.InstallDotNetCoreSdk(await pstep.GetPiloteSshConnection());
 }
Exemplo n.º 5
0
 public async Task Run()
 {
     sshMirrorRegistry.InstallMirrorRegistry(await pstep.GetPiloteSshConnection());
 }