Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature/dynamic-envir…
Browse files Browse the repository at this point in the history
…onments
  • Loading branch information
BobJWalker committed Jun 13, 2024
2 parents 125d2a7 + e444769 commit 872739a
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .octopus/bobjwalkeraks/variables.ocl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "Project.Database.Name" {
environment = ["production"]
}

value "Trident_Dev_#{Project.Release.Branch.Name}" {
value "Trident_Dev_#{Project.Formatted.Branch.Name}" {
environment = ["development"]
}
}
Expand Down Expand Up @@ -95,7 +95,7 @@ variable "Octopus.ServiceNow.ChangeRequest.Number" {
variable "Project.K8s.Namespace" {
value "trident-#{Octopus.Environment.Name | ToLower }" {}

value "trident-#{Project.Release.Branch.Name}-dev" {
value "trident-#{Project.Formatted.Branch.Name}-dev" {
description = ""
environment = ["development"]
}
Expand All @@ -112,11 +112,9 @@ variable "Project.K8s.Image.VersionTag" {
}

variable "Project.Release.Branch.Name" {
value "#{Octopus.Release.Git.BranchName | Replace \"/\" \"-\" | ToLower}" {}

value "main" {
description = ""
process = ["runbook/configure-database"]
process = ["runbook/configure-database", "runbook/destroy-application-infrastructure"]

prompt {
description = ""
Expand All @@ -127,14 +125,20 @@ variable "Project.Release.Branch.Name" {
required = true
}
}

value "#{Octopus.Release.Git.BranchName}" {}
}

variable "Project.Database.Check.Name" {
value "Trident_#{Octopus.Environment.Name}_#{Project.Release.Branch.Name}_Check" {
environment = ["development"]
}

value "Trident_#{Octopus.Environment.Name}_Check" {
description = ""
}

value "Trident_#{Octopus.Environment.Name}_#{Project.Formatted.Branch.Name}_Check" {
environment = ["development"]
}
}

variable "Project.Formatted.Branch.Name" {
value "#{Project.Release.Branch.Name | Replace \"/\" \"-\" | ToLower}" {}
}

0 comments on commit 872739a

Please sign in to comment.