Skip to content

Commit

Permalink
Updates for Common Release Tooling onboarding (#308)
Browse files Browse the repository at this point in the history
* Updates for Common Release Tooling onboarding

Since this repo is a reference example for onboarding to Common Release
Tooling, let's make a couple things nicer.

- promotion-events can be omitted when empty
- build-on-merge adds a useful feedback loop

* Add merge event to CRT config
  • Loading branch information
bbasata authored Feb 12, 2025
1 parent e3d0a72 commit cc6d248
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .release/ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ project "terraform-provider-cloudinit" {
}
}

event "merge {
}
event "build" {
action "build" {
depends = ["merge"]
organization = "hashicorp"
repository = "terraform-provider-cloudinit"
workflow = "build"
Expand Down Expand Up @@ -62,9 +67,6 @@ event "promote-staging" {
notification {
on = "always"
}

promotion-events {
}
}
event "trigger-production" {
Expand All @@ -84,7 +86,4 @@ event "promote-production" {
notification {
on = "always"
}

promotion-events {
}
}

0 comments on commit cc6d248

Please sign in to comment.