2021-10-12 17:00:05 +00:00
|
|
|
schema = "1"
|
|
|
|
|
|
|
|
project "consul" {
|
|
|
|
team = "consul core"
|
|
|
|
slack {
|
|
|
|
# feed-consul-ci
|
2022-01-06 14:43:35 +00:00
|
|
|
notification_channel = "C9KPKPKRN"
|
2021-10-12 17:00:05 +00:00
|
|
|
}
|
|
|
|
github {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "consul"
|
|
|
|
release_branches = [
|
2022-01-06 14:43:35 +00:00
|
|
|
"main",
|
2022-08-01 19:56:55 +00:00
|
|
|
"release/**",
|
2021-10-12 17:00:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
event "build" {
|
|
|
|
action "build" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "build"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-05 20:16:47 +00:00
|
|
|
event "prepare" {
|
2021-10-12 17:00:05 +00:00
|
|
|
depends = ["build"]
|
2023-01-05 20:16:47 +00:00
|
|
|
action "prepare" {
|
2022-04-25 20:48:34 +00:00
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
2023-01-05 20:16:47 +00:00
|
|
|
workflow = "prepare"
|
|
|
|
depends = ["build"]
|
2021-10-12 17:00:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "fail"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-17 16:54:36 +00:00
|
|
|
event "trigger-production" {
|
|
|
|
// This event is dispatched by the bob trigger-promotion command
|
|
|
|
// and is required - do not delete.
|
|
|
|
}
|
|
|
|
|
|
|
|
event "promote-production" {
|
|
|
|
depends = ["trigger-production"]
|
|
|
|
action "promote-production" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "promote-production"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "always"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
event "promote-production-docker" {
|
|
|
|
depends = ["promote-production"]
|
|
|
|
action "promote-production-docker" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "promote-production-docker"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "always"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
event "promote-production-packaging" {
|
|
|
|
depends = ["promote-production-docker"]
|
|
|
|
action "promote-production-packaging" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "promote-production-packaging"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "always"
|
|
|
|
}
|
2022-04-05 17:48:26 +00:00
|
|
|
}
|
2022-07-18 15:29:10 +00:00
|
|
|
|
|
|
|
event "post-publish-website" {
|
|
|
|
depends = ["promote-production-packaging"]
|
|
|
|
action "post-publish-website" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "post-publish-website"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "always"
|
|
|
|
}
|
|
|
|
}
|
2023-01-05 20:16:47 +00:00
|
|
|
event "bump-version" {
|
|
|
|
depends = ["post-publish-website"]
|
|
|
|
action "bump-version" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "bump-version"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "fail"
|
|
|
|
}
|
|
|
|
}
|
2022-10-11 14:27:06 +00:00
|
|
|
|
|
|
|
event "update-ironbank" {
|
2023-01-05 20:16:47 +00:00
|
|
|
depends = ["bump-version"]
|
2022-10-11 14:27:06 +00:00
|
|
|
action "update-ironbank" {
|
|
|
|
organization = "hashicorp"
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
workflow = "update-ironbank"
|
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
on = "fail"
|
|
|
|
}
|
|
|
|
}
|