Esempio n. 1
0
        public PipelineWebServerOnlyFull(
            IStepRunner runner,
            PipelineDevopInit pipelineDevOpInit,
            InfraWebServerCreateVm infraWebServerCreateVm,
            InstallDockerCmd installDockerSsh,
            InstallTraefikCmd installTraefikSsh
            )
        {
            this.run = async() => {
                await pipelineDevOpInit.Run();

                await runner.Run(infraWebServerCreateVm);

                await runner.Run(installDockerSsh);

                await runner.Run(installTraefikSsh);
            };
        }
Esempio n. 2
0
        public PipelineFull(
            IStepRunner runner,
            PipelineDevopInit pipelineInit,
            PipelineCreatePiloteVm pipelineCreatePiloteVm,
            PipelineInstallPiloteVm pipelineInstallPiloteVm
            )
        {
            this.run = async() => {
                await pipelineInit.Run();

                await pipelineCreatePiloteVm.Run();

                await pipelineInstallPiloteVm.Run();

                //await pipelineCreateWebServerVm.Run();
                //await pipelineInstallWebServerVm.Run();
            };
        }