open-nomad/.release/ci.hcl

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

142 lines
2.7 KiB
HCL
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
2022-04-06 15:47:02 +00:00
schema = "1"
project "nomad" {
team = "nomad"
2022-07-08 21:07:18 +00:00
2022-04-06 15:47:02 +00:00
slack {
notification_channel = "C03B5EWFW01"
2022-04-06 15:47:02 +00:00
}
2022-07-08 21:07:18 +00:00
2022-04-06 15:47:02 +00:00
github {
organization = "hashicorp"
repository = "nomad"
2022-07-08 21:07:18 +00:00
release_branches = [
"main",
"release/**",
]
2022-04-06 15:47:02 +00:00
}
}
event "build" {
action "build" {
organization = "hashicorp"
repository = "nomad"
workflow = "build"
}
}
event "prepare" {
2022-04-06 15:47:02 +00:00
depends = ["build"]
2022-07-08 21:07:18 +00:00
action "prepare" {
2022-04-06 15:47:02 +00:00
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "prepare"
depends = ["build"]
2022-04-06 15:47:02 +00:00
}
notification {
on = "always"
2022-04-06 15:47:02 +00:00
}
}
## These are promotion and post-publish events
## they should be added to the end of the file after the prepare event stanza.
2022-04-06 15:47:02 +00:00
event "trigger-staging" {
2022-07-08 21:07:18 +00:00
// This event is dispatched by the bob trigger-promotion command // and is required - do not delete.
2022-04-06 15:47:02 +00:00
}
event "promote-staging" {
depends = ["trigger-staging"]
2022-07-08 21:07:18 +00:00
2022-04-06 15:47:02 +00:00
action "promote-staging" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-staging"
config = "release-metadata.hcl"
2022-04-06 15:47:02 +00:00
}
notification {
on = "always"
}
}
event "promote-staging-docker" {
depends = ["promote-staging"]
action "promote-staging-docker" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-staging-docker"
}
notification {
on = "always"
}
}
2022-04-06 15:47:02 +00:00
event "trigger-production" {
2022-07-08 21:07:18 +00:00
// This event is dispatched by the bob trigger-promotion command // and is required - do not delete.
2022-04-06 15:47:02 +00:00
}
event "promote-production" {
depends = ["trigger-production"]
2022-07-08 21:07:18 +00:00
2022-04-06 15:47:02 +00:00
action "promote-production" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-production"
}
notification {
on = "always"
}
}
event "promote-production-docker" {
2022-04-06 15:47:02 +00:00
depends = ["promote-production"]
2022-07-08 21:07:18 +00:00
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"]
2022-04-06 15:47:02 +00:00
action "promote-production-packaging" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-production-packaging"
}
notification {
on = "always"
}
}
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"
}
}