2026-04-06 15:48:37 +05:30
|
|
|
# Copyright IBM Corp. 2020, 2026
|
2022-02-25 17:32:49 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
schema = "1"
|
|
|
|
|
|
|
|
|
|
project "boundary" {
|
|
|
|
|
team = "#proj-boundary-release-engineering"
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
slack {
|
2025-10-13 09:45:21 -07:00
|
|
|
notification_channel = "C09LCN8EY0H"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
github {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "boundary"
|
|
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
release_branches = [
|
2022-06-21 14:17:48 +00:00
|
|
|
"main",
|
2022-12-09 13:08:02 -08:00
|
|
|
"release/**",
|
2022-02-01 07:41:27 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
event "build" {
|
|
|
|
|
depends = ["merge"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
action "build" {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "boundary"
|
|
|
|
|
workflow = "build"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
event "prepare" {
|
2022-02-01 07:41:27 -08:00
|
|
|
depends = ["build"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
action "prepare" {
|
2022-02-01 07:41:27 -08:00
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
2022-12-09 13:08:02 -08:00
|
|
|
workflow = "prepare"
|
2022-06-21 14:17:48 +00:00
|
|
|
depends = ["build"]
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
|
|
|
|
on = "fail"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
## 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" {
|
2022-06-21 14:17:48 +00:00
|
|
|
// This event is dispatched by the bob trigger-promotion command // and is required - do not delete.
|
2022-02-25 17:32:49 +00:00
|
|
|
}
|
2022-02-01 07:41:27 -08:00
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
event "promote-staging" {
|
|
|
|
|
depends = ["trigger-staging"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
action "promote-staging" {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "promote-staging"
|
|
|
|
|
config = "release-metadata.hcl"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
2022-02-25 17:32:49 +00:00
|
|
|
on = "always"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
event "promote-staging-docker" {
|
|
|
|
|
depends = ["promote-staging"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
action "promote-staging-docker" {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "promote-staging-docker"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
2022-02-25 17:32:49 +00:00
|
|
|
on = "always"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
event "trigger-production" {
|
2022-06-21 14:17:48 +00:00
|
|
|
// This event is dispatched by the bob trigger-promotion command // and is required - do not delete.
|
2022-02-25 17:32:49 +00:00
|
|
|
}
|
2022-02-01 07:41:27 -08:00
|
|
|
|
|
|
|
|
event "promote-production" {
|
2022-02-25 17:32:49 +00:00
|
|
|
depends = ["trigger-production"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-01 07:41:27 -08:00
|
|
|
action "promote-production" {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "promote-production"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
2022-02-25 17:32:49 +00:00
|
|
|
on = "always"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
event "promote-production-docker" {
|
2022-02-01 07:41:27 -08:00
|
|
|
depends = ["promote-production"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
action "promote-production-docker" {
|
2022-02-01 07:41:27 -08:00
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "promote-production-docker"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
2022-02-25 17:32:49 +00:00
|
|
|
on = "always"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
event "promote-production-packaging" {
|
|
|
|
|
depends = ["promote-production-docker"]
|
2022-06-21 14:17:48 +00:00
|
|
|
|
2022-02-25 17:32:49 +00:00
|
|
|
action "promote-production-packaging" {
|
|
|
|
|
organization = "hashicorp"
|
2022-06-21 14:17:48 +00:00
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "promote-production-packaging"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
2022-02-25 17:32:49 +00:00
|
|
|
on = "always"
|
2022-02-01 07:41:27 -08:00
|
|
|
}
|
2022-02-17 13:46:24 -05:00
|
|
|
}
|
2022-08-08 10:33:51 -05: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"
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-12 12:12:22 -04:00
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
event "bump-version" {
|
2022-10-12 12:12:22 -04:00
|
|
|
depends = ["post-publish-website"]
|
2022-12-09 13:08:02 -08:00
|
|
|
action "bump-version" {
|
|
|
|
|
organization = "hashicorp"
|
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "bump-version"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
event "update-ironbank" {
|
|
|
|
|
depends = ["bump-version"]
|
2022-10-12 12:12:22 -04:00
|
|
|
action "update-ironbank" {
|
|
|
|
|
organization = "hashicorp"
|
|
|
|
|
repository = "crt-workflows-common"
|
|
|
|
|
workflow = "update-ironbank"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notification {
|
|
|
|
|
on = "fail"
|
|
|
|
|
}
|
|
|
|
|
}
|