add back staging bits (#16411)
This commit is contained in:
parent
840497933e
commit
db19b92ca9
|
@ -38,6 +38,41 @@ event "prepare" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## These are promotion and post-publish events
|
||||||
|
## they should be added to the end of the file after the verify event stanza.
|
||||||
|
|
||||||
|
event "trigger-staging" {
|
||||||
|
// This event is dispatched by the bob trigger-promotion command
|
||||||
|
// and is required - do not delete.
|
||||||
|
}
|
||||||
|
|
||||||
|
event "promote-staging" {
|
||||||
|
depends = ["trigger-staging"]
|
||||||
|
action "promote-staging" {
|
||||||
|
organization = "hashicorp"
|
||||||
|
repository = "crt-workflows-common"
|
||||||
|
workflow = "promote-staging"
|
||||||
|
config = "release-metadata.hcl"
|
||||||
|
}
|
||||||
|
|
||||||
|
notification {
|
||||||
|
on = "always"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
event "promote-staging-docker" {
|
||||||
|
depends = ["promote-staging"]
|
||||||
|
action "promote-staging-docker" {
|
||||||
|
organization = "hashicorp"
|
||||||
|
repository = "crt-workflows-common"
|
||||||
|
workflow = "promote-staging-docker"
|
||||||
|
}
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
Loading…
Reference in New Issue