コード例 #1
0
 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);
 }
コード例 #2
0
        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);
        }
コード例 #3
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);
        }
コード例 #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>();
        }
コード例 #5
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>();
        }
コード例 #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);
        }
コード例 #7
0
ファイル: YamsService.cs プロジェクト: Microsoft/Yams
 public YamsService(IDeploymentWatcher deploymentWatcher, IApplicationPool applicationPool) 
 {
     _deploymentWatcher = deploymentWatcher;
     _applicationPool = applicationPool;
 }
コード例 #8
0
ファイル: YamsEntryPoint.cs プロジェクト: ca-ta/Yams
 public YamsEntryPoint(IContainer container)
 {
     _deploymentWatcher = container.Resolve<IDeploymentWatcher>();
     _applicationPool = container.Resolve<IApplicationPool>();
     _container = container;
 }
コード例 #9
0
ファイル: YamsService.cs プロジェクト: zhonli/Yams
 public YamsService(IDeploymentWatcher deploymentWatcher, IApplicationPool applicationPool)
 {
     _deploymentWatcher = deploymentWatcher;
     _applicationPool   = applicationPool;
 }
コード例 #10
0
ファイル: YamsEntryPoint.cs プロジェクト: ReubenBond/Yams
 public YamsEntryPoint(IUnityContainer unityContainer)
 {
     _deploymentWatcher = unityContainer.Resolve<IDeploymentWatcher>();
     _applicationPool = unityContainer.Resolve<IApplicationPool>();
     _unityContainer = unityContainer;
 }
コード例 #11
0
 public YamsEntryPoint(IUnityContainer unityContainer)
 {
     _deploymentWatcher = unityContainer.Resolve <IDeploymentWatcher>();
     _applicationPool   = unityContainer.Resolve <IApplicationPool>();
     _unityContainer    = unityContainer;
 }