Ejemplo n.º 1
0
 public SshStep(
     ListAsk listAsk,
     ListResources listResources,
     ISshClient sshClient)
 {
     this.listResources = listResources;
     this.sshClient     = sshClient;
     this.listAsk       = listAsk;
 }
Ejemplo n.º 2
0
 public InfraWebServerCreateVm(
     ListAsk listAsk,
     ListResources listResources,
     IInfrastructure infrastructure,
     ISshClient sshClient)
 {
     this.listAsk        = listAsk;
     this.infrastructure = infrastructure;
     this.listResources  = listResources;
     this.sshClient      = sshClient;
 }
Ejemplo n.º 3
0
 public PiloteStep(
     ListAsk listAsk,
     ListResources listResources,
     CiExeCommands ciExeCommands,
     ISshClient sshClient)
 {
     this.listResources = listResources;
     this.ciExeCommands = ciExeCommands;
     this.sshClient     = sshClient;
     this.listAsk       = listAsk;
 }
Ejemplo n.º 4
0
 public DevOpInitSsl(
     ListAsk listAsk,
     ListResources listResources,
     Installer installer,
     IOpenSsl openSsl
     )
 {
     this.listAsk       = listAsk;
     this.listResources = listResources;
     this.installer     = installer;
     this.openSsl       = openSsl;
 }
Ejemplo n.º 5
0
        public PipelineDevOpOnlyFull(
            IStepRunner runner,
            ListAsk listAsk,
            ListResources listResources,
            IShellCommandExecute shellCommandExecute,
            InstallVaultCmd installVaultCmd,
            DevOpConfigureVault devOpConfigureVault,
            InstallTraefikCmd installTraefikSsh,
            AddGitToBuild addGitToBuild,
            GitCloneOrPull gitCloneOrPull,
            DockerBuildCmd dockerBuildCmd
            //,
            //DockerRunCmd dockerRunCmd,
            //TraefikConfigure dockerRunCmd,
            )
        {
            installVaultCmd.SetCommandExecute(shellCommandExecute);
            installTraefikSsh.SetCommandExecute(shellCommandExecute);

            gitCloneOrPull.SetCommandExecute(shellCommandExecute);
            dockerBuildCmd.SetCommandExecute(shellCommandExecute);

            this.run = async() => {
                await runner.Run(installVaultCmd);

                await runner.Run(devOpConfigureVault);

                await runner.Run(installTraefikSsh);

                await runner.Run(addGitToBuild);

                await runner.Run(gitCloneOrPull);

                await runner.Run(dockerBuildCmd);
            };
            this.listAsk       = listAsk;
            this.listResources = listResources;
        }