Upgrade to CRT schema 2 to fix crt-report-dispatch event (#8572) (#8809)

Co-authored-by: james-warren0 <95658341+james-warren0@users.noreply.github.com>
This commit is contained in:
Vault Automation 2025-08-22 11:16:52 -06:00 committed by GitHub
parent 8009bb93dd
commit 8a89a1c862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
schema = "1"
schema = "2"
project "vault" {
team = "vault"
@ -81,19 +81,6 @@ event "promote-staging" {
}
}
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" {
// This event is dispatched by the bob trigger-promotion command
// and is required - do not delete.
@ -107,17 +94,10 @@ event "promote-production" {
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"
promotion-events {
update-ironbank = true
bump-version-patch = true
post-publish-website = true
}
notification {
@ -125,56 +105,6 @@ event "promote-production-docker" {
}
}
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"
}
}
# The post-publish-website event should not be merged into the enterprise repo.
# It is for OSS use only.
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"
}
}
event "bump-version" {
depends = ["post-publish-website"]
action "bump-version" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "bump-version"
}
}
event "update-ironbank" {
depends = ["bump-version"]
action "update-ironbank" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "update-ironbank"
}
notification {
on = "fail"
}
}
event "crt-generate-sbom" {
depends = ["promote-production"]
action "crt-generate-sbom" {
@ -182,6 +112,7 @@ event "crt-generate-sbom" {
repository = "security-generate-release-sbom"
workflow = "crt-generate-sbom"
}
notification {
on = "fail"
}