Add depends block for promote-staging + add promote-staging-packaging (#32941)

* Add depends block for promote-staging + add promote-staging-packaging

* Fix ironbank dependency

---------

Co-authored-by: emilymianeil <eneil@hashicorp.com>
This commit is contained in:
emily neil 2023-03-29 12:45:59 -07:00 committed by GitHub
parent 31f278b2d8
commit b4d0de386e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,6 @@ project "terraform" {
release_branches = [
"main",
"release/**",
"releng/**",
"v**.**",
]
}
@ -54,6 +53,7 @@ event "trigger-staging" {
}
event "promote-staging" {
depends = ["trigger-staging"]
action "promote-staging" {
organization = "hashicorp"
repository = "crt-workflows-common"
@ -79,6 +79,19 @@ event "promote-staging-docker" {
}
}
event "promote-staging-packaging" {
depends = ["promote-staging-docker"]
action "promote-staging-packaging" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-staging-packaging"
}
notification {
on = "always"
}
}
event "trigger-production" {
// This event is dispatched by the bob trigger-promotion command
// and is required - do not delete.
@ -124,7 +137,7 @@ event "promote-production-packaging" {
}
event "update-ironbank" {
depends = ["bump-version-patch"]
depends = ["promote-production-packaging"]
action "update-ironbank" {
organization = "hashicorp"
repository = "crt-workflows-common"