mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-07 03:41:13 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
120 lines
2.3 KiB
HCL
120 lines
2.3 KiB
HCL
# Copyright IBM Corp. 2016, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
schema = "2"
|
|
|
|
project "vault" {
|
|
team = "vault"
|
|
slack {
|
|
notification_channel = "C09LD1XT5MX" // #feed-vault-releases
|
|
}
|
|
github {
|
|
organization = "hashicorp"
|
|
repository = "vault"
|
|
release_branches = [
|
|
"main",
|
|
"release/**",
|
|
]
|
|
}
|
|
}
|
|
|
|
event "merge" {
|
|
// "entrypoint" to use if build is not run automatically
|
|
// i.e. send "merge" complete signal to orchestrator to trigger build
|
|
}
|
|
|
|
event "build" {
|
|
depends = ["merge"]
|
|
action "build" {
|
|
organization = "hashicorp"
|
|
repository = "vault"
|
|
workflow = "build"
|
|
}
|
|
}
|
|
|
|
event "prepare" {
|
|
depends = ["build"]
|
|
action "prepare" {
|
|
organization = "hashicorp"
|
|
repository = "crt-workflows-common"
|
|
workflow = "prepare"
|
|
depends = ["build"]
|
|
}
|
|
|
|
notification {
|
|
on = "fail"
|
|
}
|
|
}
|
|
|
|
event "enos-release-testing-oss" {
|
|
depends = ["prepare"]
|
|
action "enos-release-testing-oss" {
|
|
organization = "hashicorp"
|
|
repository = "vault"
|
|
workflow = "enos-release-testing-oss"
|
|
}
|
|
|
|
notification {
|
|
on = "fail"
|
|
}
|
|
}
|
|
|
|
## These events are publish and post-publish events and 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 "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"
|
|
}
|
|
|
|
promotion-events {
|
|
update-ironbank = true
|
|
bump-version-patch = true
|
|
post-publish-website = true
|
|
}
|
|
|
|
notification {
|
|
on = "always"
|
|
}
|
|
}
|
|
|
|
event "crt-generate-sbom" {
|
|
depends = ["promote-production"]
|
|
action "crt-generate-sbom" {
|
|
organization = "hashicorp"
|
|
repository = "security-generate-release-sbom"
|
|
workflow = "crt-generate-sbom"
|
|
}
|
|
|
|
notification {
|
|
on = "fail"
|
|
}
|
|
}
|