From b4d0de386e8996d3296600a4dd9bf5ad3dcd1b3e Mon Sep 17 00:00:00 2001 From: emily neil <63985869+emilymianeil@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:45:59 -0700 Subject: [PATCH] Add depends block for promote-staging + add promote-staging-packaging (#32941) * Add depends block for promote-staging + add promote-staging-packaging * Fix ironbank dependency --------- Co-authored-by: emilymianeil --- .release/ci.hcl | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.release/ci.hcl b/.release/ci.hcl index 20ad5af0e5..4f66830993 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -13,7 +13,6 @@ project "terraform" { release_branches = [ "main", "release/**", - "releng/**", "v**.**", ] } @@ -54,6 +53,7 @@ event "trigger-staging" { } event "promote-staging" { + depends = ["trigger-staging"] action "promote-staging" { organization = "hashicorp" repository = "crt-workflows-common" @@ -79,6 +79,19 @@ event "promote-staging-docker" { } } +event "promote-staging-packaging" { + depends = ["promote-staging-docker"] + action "promote-staging-packaging" { + organization = "hashicorp" + repository = "crt-workflows-common" + workflow = "promote-staging-packaging" + } + + notification { + on = "always" + } +} + event "trigger-production" { // This event is dispatched by the bob trigger-promotion command // and is required - do not delete. @@ -124,7 +137,7 @@ event "promote-production-packaging" { } event "update-ironbank" { - depends = ["bump-version-patch"] + depends = ["promote-production-packaging"] action "update-ironbank" { organization = "hashicorp" repository = "crt-workflows-common"