public CreateReleaseCommand(IOctopusSession session, ILog log, IDeploymentWatcher deploymentWatcher)
     : base(session, log)
 {
     this.deploymentWatcher = deploymentWatcher;
     DeployToEnvironmentNames = new List<string>();
     DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
     DeploymentTimeout = TimeSpan.FromMinutes(4);
 }
        public DeployReleaseCommand(IOctopusSessionFactory session, ILog log, IDeploymentWatcher deploymentWatcher)
            : base(session, log)
        {
            this.deploymentWatcher = deploymentWatcher;

            DeployToEnvironmentNames        = new List <string>();
            DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
            DeploymentTimeout = TimeSpan.FromMinutes(10);
        }
        public CreateReleaseCommand(IOctopusSessionFactory session, ILog log, IDeploymentWatcher deploymentWatcher, IPackageVersionResolver versionResolver)
            : base(session, log)
        {
            this.deploymentWatcher = deploymentWatcher;
            this.versionResolver = versionResolver;

            DeployToEnvironmentNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
            DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
            DeploymentTimeout = TimeSpan.FromMinutes(10);
        }
Ejemplo n.º 4
0
        public CreateReleaseCommand(IOctopusSessionFactory session, ILog log, IDeploymentWatcher deploymentWatcher)
            : base(session, log)
        {
            this.deploymentWatcher = deploymentWatcher;

            DeployToEnvironmentNames        = new List <string>();
            DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
            DeploymentTimeout             = TimeSpan.FromMinutes(10);
            PackageVersionNumberOverrides = new Dictionary <string, string>();
        }
        public CreateReleaseCommand(IOctopusSessionFactory session, ILog log, IDeploymentWatcher deploymentWatcher)
            : base(session, log)
        {
            this.deploymentWatcher = deploymentWatcher;

            DeployToEnvironmentNames = new List<string>();
            DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
            DeploymentTimeout = TimeSpan.FromMinutes(10);
            PackageVersionNumberOverrides = new Dictionary<string, string>();
        }
Ejemplo n.º 6
0
        public CreateReleaseCommand(IOctopusSessionFactory session, ILog log, IDeploymentWatcher deploymentWatcher, IPackageVersionResolver versionResolver)
            : base(session, log)
        {
            this.deploymentWatcher = deploymentWatcher;
            this.versionResolver   = versionResolver;

            DeployToEnvironmentNames        = new HashSet <string>(StringComparer.OrdinalIgnoreCase);
            DeploymentStatusCheckSleepCycle = TimeSpan.FromSeconds(10);
            DeploymentTimeout = TimeSpan.FromMinutes(10);
        }
Ejemplo n.º 7
0
 public YamsService(IDeploymentWatcher deploymentWatcher, IApplicationPool applicationPool) 
 {
     _deploymentWatcher = deploymentWatcher;
     _applicationPool = applicationPool;
 }
Ejemplo n.º 8
0
 public YamsEntryPoint(IContainer container)
 {
     _deploymentWatcher = container.Resolve<IDeploymentWatcher>();
     _applicationPool = container.Resolve<IApplicationPool>();
     _container = container;
 }
Ejemplo n.º 9
0
 public YamsService(IDeploymentWatcher deploymentWatcher, IApplicationPool applicationPool)
 {
     _deploymentWatcher = deploymentWatcher;
     _applicationPool   = applicationPool;
 }
Ejemplo n.º 10
0
 public YamsEntryPoint(IUnityContainer unityContainer)
 {
     _deploymentWatcher = unityContainer.Resolve<IDeploymentWatcher>();
     _applicationPool = unityContainer.Resolve<IApplicationPool>();
     _unityContainer = unityContainer;
 }
Ejemplo n.º 11
0
 public YamsEntryPoint(IUnityContainer unityContainer)
 {
     _deploymentWatcher = unityContainer.Resolve <IDeploymentWatcher>();
     _applicationPool   = unityContainer.Resolve <IApplicationPool>();
     _unityContainer    = unityContainer;
 }