Update deployment process
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
step "infra" {
|
step "terraform-plan" {
|
||||||
name = "Infra"
|
name = "Terraform Plan"
|
||||||
|
|
||||||
action "terraform-plan" {
|
action {
|
||||||
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"
|
||||||
@@ -15,18 +14,24 @@ step "infra" {
|
|||||||
image = "#{TF_CONTAINER}"
|
image = "#{TF_CONTAINER}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
action "approve-plan" {
|
step "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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
step "infra" {
|
||||||
|
name = "Terraform Apply"
|
||||||
|
|
||||||
action "terraform-apply" {
|
action "terraform-apply" {
|
||||||
name = "Terraform Apply"
|
|
||||||
properties = {
|
properties = {
|
||||||
Octopus.Action.RunOnServer = "true"
|
Octopus.Action.RunOnServer = "true"
|
||||||
Octopus.Action.Template.Id = "ActionTemplates-2"
|
Octopus.Action.Template.Id = "ActionTemplates-2"
|
||||||
|
|||||||
Reference in New Issue
Block a user