public AzureContextScriptWrapper(IVariables variables, ICalamariFileSystem fileSystem, ICalamariEmbeddedResources embeddedResources, ILog log) { this.variables = variables; this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.log = log; }
public AzurePowerShellContext(IVariables variables) { this.fileSystem = new WindowsPhysicalFileSystem(); this.certificateStore = new CalamariCertificateStore(); this.embeddedResources = new AssemblyEmbeddedResources(); this.variables = variables; }
public KubernetesContextScriptWrapper(IVariables variables, ILog log, ICalamariEmbeddedResources embeddedResources, ICalamariFileSystem fileSystem) { this.variables = variables; this.log = log; this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; }
public DeployAzureCloudServicePackageConvention(ICalamariFileSystem fileSystem, ICalamariEmbeddedResources embeddedResources, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner) { this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.scriptEngine = scriptEngine; this.commandLineRunner = commandLineRunner; }
public FeatureScriptConvention(string deploymentStage, ICalamariFileSystem fileSystem, ICalamariEmbeddedResources embeddedResources, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner) { this.deploymentStage = deploymentStage; this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.scriptEngine = scriptEngine; this.commandLineRunner = commandLineRunner; }
public SwapAzureDeploymentConvention(ICalamariFileSystem fileSystem, ICalamariEmbeddedResources embeddedResources, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner) { this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.scriptEngine = scriptEngine; this.commandLineRunner = commandLineRunner; }
protected FeatureConventionBase(string deploymentStage, IEnumerable <IFeature> featureClasses, ICalamariFileSystem fileSystem, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner, ICalamariEmbeddedResources embeddedResources) { this.deploymentStage = deploymentStage; this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.scriptEngine = scriptEngine; this.commandLineRunner = commandLineRunner; this.featureClasses = featureClasses?.ToList(); }
public DeployAzureServiceFabricAppConvention( ILog log, ICalamariFileSystem fileSystem, ICalamariEmbeddedResources embeddedResources, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner) { this.log = log; this.fileSystem = fileSystem; this.embeddedResources = embeddedResources; this.scriptEngine = scriptEngine; this.commandLineRunner = commandLineRunner; }
public void SetUp() { fileSystem = Substitute.For<ICalamariFileSystem>(); embeddedResources = Substitute.For<ICalamariEmbeddedResources>(); scriptEngine = Substitute.For<IScriptEngine>(); commandLineRunner = Substitute.For<ICommandLineRunner>(); scriptEngine.GetSupportedExtensions().Returns(new string[] {"ps1"}); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.Package.EnabledFeatures, "Octopus.Features.blah"); deployment = new RunningDeployment("C:\\packages", variables) { StagingDirectory = stagingDirectory }; }
public void SetUp() { fileSystem = Substitute.For <ICalamariFileSystem>(); embeddedResources = Substitute.For <ICalamariEmbeddedResources>(); scriptEngine = Substitute.For <IScriptEngine>(); commandLineRunner = Substitute.For <ICommandLineRunner>(); scriptEngine.GetSupportedTypes().Returns(new[] { ScriptSyntax.PowerShell }); variables = new CalamariVariables(); variables.Set(KnownVariables.Package.EnabledFeatures, "Octopus.Features.blah"); deployment = new RunningDeployment("C:\\packages", variables) { StagingDirectory = stagingDirectory }; }
public void SetUp() { fileSystem = Substitute.For <ICalamariFileSystem>(); embeddedResources = Substitute.For <ICalamariEmbeddedResources>(); scriptEngine = Substitute.For <IScriptEngine>(); commandLineRunner = Substitute.For <ICommandLineRunner>(); scriptEngine.GetSupportedExtensions().Returns(new string[] { "ps1" }); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.Package.EnabledFeatures, "Octopus.Features.blah"); deployment = new RunningDeployment("C:\\packages", variables) { StagingDirectory = stagingDirectory }; }
public AzureServiceFabricPowerShellContext() { this.fileSystem = new WindowsPhysicalFileSystem(); this.embeddedResources = new AssemblyEmbeddedResources(); }
public AzurePowershellContext() { this.fileSystem = new WindowsPhysicalFileSystem(); this.certificateStore = new CalamariCertificateStore(); this.embeddedResources = new ExecutingAssemblyEmbeddedResources(); }
public FeatureConvention(string deploymentStage, IEnumerable <IFeature> featureClasses, ICalamariFileSystem fileSystem, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner, ICalamariEmbeddedResources embeddedResources) : base(deploymentStage, featureClasses, fileSystem, scriptEngine, commandLineRunner, embeddedResources) { }
public AzureServiceFabricPowerShellContext(CalamariVariableDictionary variables) { this.fileSystem = new WindowsPhysicalFileSystem(); this.embeddedResources = new AssemblyEmbeddedResources(); this.variables = variables; }
public FeatureRollbackConvention(string deploymentStage, ICalamariFileSystem fileSystem, IScriptEngine scriptEngine, ICommandLineRunner commandLineRunner, ICalamariEmbeddedResources embeddedResources) : base(deploymentStage, null, fileSystem, scriptEngine, commandLineRunner, embeddedResources) { }