1
1
# Copyright (c) HashiCorp, Inc.
2
2
# SPDX-License-Identifier: BUSL-1.1
3
3
4
- schema = " 1 "
4
+ schema = " 2 "
5
5
6
6
project "vault" {
7
7
team = " vault"
@@ -81,19 +81,6 @@ event "promote-staging" {
81
81
}
82
82
}
83
83
84
- event "promote-staging-docker" {
85
- depends = [" promote-staging" ]
86
- action "promote-staging-docker" {
87
- organization = " hashicorp"
88
- repository = " crt-workflows-common"
89
- workflow = " promote-staging-docker"
90
- }
91
-
92
- notification {
93
- on = " always"
94
- }
95
- }
96
-
97
84
event "trigger-production" {
98
85
// This event is dispatched by the bob trigger-promotion command
99
86
// and is required - do not delete.
@@ -107,81 +94,25 @@ event "promote-production" {
107
94
workflow = " promote-production"
108
95
}
109
96
110
- notification {
111
- on = " always"
112
- }
113
- }
114
-
115
- event "promote-production-docker" {
116
- depends = [" promote-production" ]
117
- action "promote-production-docker" {
118
- organization = " hashicorp"
119
- repository = " crt-workflows-common"
120
- workflow = " promote-production-docker"
121
- }
122
-
123
- notification {
124
- on = " always"
125
- }
126
- }
127
-
128
- event "promote-production-packaging" {
129
- depends = [" promote-production-docker" ]
130
- action "promote-production-packaging" {
131
- organization = " hashicorp"
132
- repository = " crt-workflows-common"
133
- workflow = " promote-production-packaging"
134
- }
135
-
136
- notification {
137
- on = " always"
138
- }
139
- }
140
-
141
- # The post-publish-website event should not be merged into the enterprise repo.
142
- # It is for OSS use only.
143
- event "post-publish-website" {
144
- depends = [" promote-production-packaging" ]
145
- action "post-publish-website" {
146
- organization = " hashicorp"
147
- repository = " crt-workflows-common"
148
- workflow = " post-publish-website"
97
+ promotion-events {
98
+ update-ironbank = true
99
+ bump-version-patch = true
100
+ post-publish-website = true
149
101
}
150
102
151
103
notification {
152
104
on = " always"
153
105
}
154
106
}
155
107
156
- event "bump-version" {
157
- depends = [" post-publish-website" ]
158
- action "bump-version" {
159
- organization = " hashicorp"
160
- repository = " crt-workflows-common"
161
- workflow = " bump-version"
162
- }
163
- }
164
-
165
- event "update-ironbank" {
166
- depends = [" bump-version" ]
167
- action "update-ironbank" {
168
- organization = " hashicorp"
169
- repository = " crt-workflows-common"
170
- workflow = " update-ironbank"
171
- }
172
-
173
- notification {
174
- on = " fail"
175
- }
176
- }
177
-
178
108
event "crt-generate-sbom" {
179
109
depends = [" promote-production" ]
180
110
action "crt-generate-sbom" {
181
111
organization = " hashicorp"
182
112
repository = " security-generate-release-sbom"
183
113
workflow = " crt-generate-sbom"
184
114
}
115
+
185
116
notification {
186
117
on = " fail"
187
118
}
0 commit comments