Update deployment process
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
step "terraform-plan" {
|
step "infra" {
|
||||||
name = "Terraform Plan"
|
name = "Infra"
|
||||||
|
|
||||||
action {
|
action "terraform-plan" {
|
||||||
|
name = "Terraform Plan"
|
||||||
properties = {
|
properties = {
|
||||||
Octopus.Action.RunOnServer = "true"
|
Octopus.Action.RunOnServer = "true"
|
||||||
Octopus.Action.Template.Id = "ActionTemplates-1"
|
Octopus.Action.Template.Id = "ActionTemplates-1"
|
||||||
@@ -14,16 +15,28 @@ step "terraform-plan" {
|
|||||||
image = "#{TF_CONTAINER}"
|
image = "#{TF_CONTAINER}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
step "approve-plan" {
|
action "approve-plan" {
|
||||||
name = "Approve Plan"
|
name = "Approve Plan"
|
||||||
|
|
||||||
action {
|
|
||||||
properties = {
|
properties = {
|
||||||
Octopus.Action.RunOnServer = "false"
|
Octopus.Action.RunOnServer = "false"
|
||||||
Octopus.Action.Template.Id = "ActionTemplates-3"
|
Octopus.Action.Template.Id = "ActionTemplates-3"
|
||||||
Octopus.Action.Template.Version = "0"
|
Octopus.Action.Template.Version = "0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action "terraform-apply" {
|
||||||
|
name = "Terraform Apply"
|
||||||
|
properties = {
|
||||||
|
Octopus.Action.RunOnServer = "true"
|
||||||
|
Octopus.Action.Template.Id = "ActionTemplates-2"
|
||||||
|
Octopus.Action.Template.Version = "1"
|
||||||
|
}
|
||||||
|
worker_pool_variable = ""
|
||||||
|
|
||||||
|
container {
|
||||||
|
feed = "nexus"
|
||||||
|
image = "#{TF_CONTAINER}"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user