Skip to content

Commit

Permalink
add back staging bits
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-labry committed Feb 24, 2023
1 parent d4dee31 commit ec864cb
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .release/ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,41 @@ event "prepare" {
}
}

## 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" {
// 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 "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.
Expand Down

0 comments on commit ec864cb

Please sign in to comment.