mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-28 09:26:26 -06:00
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:
parent
31f278b2d8
commit
b4d0de386e
@ -13,7 +13,6 @@ project "terraform" {
|
|||||||
release_branches = [
|
release_branches = [
|
||||||
"main",
|
"main",
|
||||||
"release/**",
|
"release/**",
|
||||||
"releng/**",
|
|
||||||
"v**.**",
|
"v**.**",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -54,6 +53,7 @@ event "trigger-staging" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
event "promote-staging" {
|
event "promote-staging" {
|
||||||
|
depends = ["trigger-staging"]
|
||||||
action "promote-staging" {
|
action "promote-staging" {
|
||||||
organization = "hashicorp"
|
organization = "hashicorp"
|
||||||
repository = "crt-workflows-common"
|
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" {
|
event "trigger-production" {
|
||||||
// This event is dispatched by the bob trigger-promotion command
|
// This event is dispatched by the bob trigger-promotion command
|
||||||
// and is required - do not delete.
|
// and is required - do not delete.
|
||||||
@ -124,7 +137,7 @@ event "promote-production-packaging" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
event "update-ironbank" {
|
event "update-ironbank" {
|
||||||
depends = ["bump-version-patch"]
|
depends = ["promote-production-packaging"]
|
||||||
action "update-ironbank" {
|
action "update-ironbank" {
|
||||||
organization = "hashicorp"
|
organization = "hashicorp"
|
||||||
repository = "crt-workflows-common"
|
repository = "crt-workflows-common"
|
||||||
|
Loading…
Reference in New Issue
Block a user