Exemple #1
0
 public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log = null)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
     this.transformFileLocator     = transformFileLocator;
     this.log = log ?? ConsoleLog.Instance;
 }
 public ConfigurationTransformsBehaviour(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
     this.transformFileLocator     = transformFileLocator;
     this.log = log;
 }
Exemple #3
0
 public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log = null)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
     this.transformFileLocator     = transformFileLocator;
     this.log = log ?? new LogWrapper();
 }
        public void SetUp()
        {
            fileSystem = Substitute.For<ICalamariFileSystem>();
            configurationTransformer = Substitute.For<IConfigurationTransformer>();

            variables = new CalamariVariableDictionary();
            variables.Set(SpecialVariables.OriginalPackageDirectoryPath, stagingDirectory);

            deployment = new RunningDeployment("C:\\packages", variables);
        }
Exemple #5
0
        public void SetUp()
        {
            fileSystem = Substitute.For <ICalamariFileSystem>();
            configurationTransformer = Substitute.For <IConfigurationTransformer>();

            variables = new VariableDictionary();
            variables.Set(SpecialVariables.OriginalPackageDirectoryPath, stagingDirectory);

            deployment = new RunningDeployment("C:\\packages", variables);
        }
        public void SetUp()
        {
            fileSystem = new WindowsPhysicalFileSystem();
            configurationTransformer = Substitute.For<IConfigurationTransformer>();

            var deployDirectory = BuildConfigPath(null);

            variables = new CalamariVariableDictionary();
            variables.Set(SpecialVariables.OriginalPackageDirectoryPath, deployDirectory);

            deployment = new RunningDeployment(deployDirectory, variables);
        }
        public void SetUp()
        {
            fileSystem = new WindowsPhysicalFileSystem();
            configurationTransformer = Substitute.For <IConfigurationTransformer>();

            var deployDirectory = BuildConfigPath(null);

            variables = new CalamariVariableDictionary();
            variables.Set(SpecialVariables.OriginalPackageDirectoryPath, deployDirectory);

            deployment = new RunningDeployment(deployDirectory, variables);
        }
Exemple #8
0
        public void SetUp()
        {
            fileSystem = CalamariPhysicalFileSystem.GetPhysicalFileSystem();
            configurationTransformer = Substitute.For <IConfigurationTransformer>();
            transformFileLocator     = new TransformFileLocator(fileSystem);

            var deployDirectory = BuildConfigPath(null);

            variables = new CalamariVariables();
            variables.Set(SpecialVariables.Package.EnabledFeatures, SpecialVariables.Features.ConfigurationTransforms);
            variables.Set(KnownVariables.OriginalPackageDirectoryPath, deployDirectory);

            deployment = new RunningDeployment(deployDirectory, variables);
            logs       = new InMemoryLog();
        }
 public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
 }
 public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
 }
Exemple #11
0
 public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator)
 {
     this.fileSystem = fileSystem;
     this.configurationTransformer = configurationTransformer;
     this.transformFileLocator     = transformFileLocator;
 }