Files
threshold/.release/ci.hcl
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

164 lines
3.1 KiB
HCL
Raw Normal View History

# Copyright IBM Corp. 2020, 2026
# 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 {
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",
"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
}
}
event "prepare" {
2022-02-01 07:41:27 -08:00
depends = ["build"]
2022-06-21 14:17:48 +00: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"
workflow = "prepare"
2022-06-21 14:17:48 +00:00
depends = ["build"]
2022-02-01 07:41:27 -08:00
}
notification {
on = "fail"
}
}
## 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-01 07:41:27 -08: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 {
on = "always"
}
}
event "promote-staging-docker" {
depends = ["promote-staging"]
2022-06-21 14:17:48 +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 {
on = "always"
2022-02-01 07:41:27 -08: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-01 07:41:27 -08:00
event "promote-production" {
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 {
on = "always"
2022-02-01 07:41:27 -08:00
}
}
event "promote-production-docker" {
2022-02-01 07:41:27 -08:00
depends = ["promote-production"]
2022-06-21 14:17:48 +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 {
on = "always"
}
}
event "promote-production-packaging" {
depends = ["promote-production-docker"]
2022-06-21 14:17:48 +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 {
on = "always"
2022-02-01 07:41:27 -08:00
}
2022-02-17 13:46:24 -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
event "bump-version" {
2022-10-12 12:12:22 -04:00
depends = ["post-publish-website"]
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"
}
}