예제 #1
0
 public void ApplyTemplate(YamlTemplates templates)
 {
     this.ApplyTemplate(templates?.Projects);
     foreach (var step in (DeploymentProcess?.Steps).EnsureNotNull())
     {
         step.ApplyTemplate(templates);
     }
 }
예제 #2
0
 public void ApplyTemplate(YamlTemplates templates)
 {
     this.ApplyTemplate(templates?.DeploymentSteps);
     foreach (var action in Actions.EnsureNotNull())
     {
         action.ApplyTemplate(templates);
     }
 }
예제 #3
0
 public YamlOctopusModel MergeIn(YamlOctopusModel model)
 {
     Environments        = this.MergeItemsIn(model, x => x.Environments);
     ProjectGroups       = this.MergeItemsIn(model, x => x.ProjectGroups);
     LibraryVariableSets = this.MergeItemsIn(model, x => x.LibraryVariableSets);
     Lifecycles          = this.MergeItemsIn(model, x => x.Lifecycles);
     Projects            = this.MergeItemsIn(model, x => x.Projects);
     UserRoles           = this.MergeItemsIn(model, x => x.UserRoles);
     Teams     = this.MergeItemsIn(model, x => x.Teams);
     Templates = YamlTemplates.MergeIn(Templates, model.Templates);
     return(this);
 }
 public void ApplyTemplate(YamlTemplates templates)
 {
     this.ApplyTemplate(templates?.DeploymentActions);
 }
예제 #5
0
 public void ApplyTemplate(YamlTemplates templates)
 {
     throw new NotImplementedException();
 }