@@ -32,136 +32,20 @@ event "build" {
3232 }
3333}
3434
35- event "upload-dev " {
35+ event "prepare " {
3636 depends = [" build" ]
37- action "upload-dev" {
38- organization = " hashicorp"
39- repository = " crt-workflows-common"
40- workflow = " upload-dev"
41- depends = [" build" ]
42- }
43-
44- notification {
45- on = " fail"
46- }
47- }
48-
49- event "security-scan-binaries" {
50- depends = [" upload-dev" ]
51- action "security-scan-binaries" {
52- organization = " hashicorp"
53- repository = " crt-workflows-common"
54- workflow = " security-scan-binaries"
55- config = " security-scan.hcl"
56- }
57-
58- notification {
59- on = " fail"
60- }
61- }
62-
63- event "security-scan-containers" {
64- depends = [" security-scan-binaries" ]
65- action "security-scan-containers" {
66- organization = " hashicorp"
67- repository = " crt-workflows-common"
68- workflow = " security-scan-containers"
69- config = " security-scan.hcl"
70- }
71-
72- notification {
73- on = " fail"
74- }
75- }
76-
77- event "notarize-darwin-amd64" {
78- depends = [" security-scan-containers" ]
79- action "notarize-darwin-amd64" {
80- organization = " hashicorp"
81- repository = " crt-workflows-common"
82- workflow = " notarize-darwin-amd64"
83- }
84-
85- notification {
86- on = " fail"
87- }
88- }
89-
90- event "notarize-darwin-arm64" {
91- depends = [" notarize-darwin-amd64" ]
92- action "notarize-darwin-arm64" {
37+ action "prepare" {
9338 organization = " hashicorp"
9439 repository = " crt-workflows-common"
95- workflow = " notarize-darwin-arm64"
40+ workflow = " prepare"
41+ depends = [" build" ]
9642 }
9743
9844 notification {
9945 on = " fail"
10046 }
10147}
10248
103- event "sign" {
104- depends = [" notarize-darwin-arm64" ]
105- action "sign" {
106- organization = " hashicorp"
107- repository = " crt-workflows-common"
108- workflow = " sign"
109- }
110-
111- notification {
112- on = " fail"
113- }
114- }
115-
116- event "sign-linux-rpms" {
117- depends = [" sign" ]
118- action "sign-linux-rpms" {
119- organization = " hashicorp"
120- repository = " crt-workflows-common"
121- workflow = " sign-linux-rpms"
122- }
123-
124- notification {
125- on = " fail"
126- }
127- }
128-
129- event "verify" {
130- depends = [" sign-linux-rpms" ]
131- action "verify" {
132- organization = " hashicorp"
133- repository = " crt-workflows-common"
134- workflow = " verify"
135- }
136-
137- notification {
138- on = " always"
139- }
140- }
141-
142- event "promote-dev-docker" {
143- depends = [" verify" ]
144- action "promote-dev-docker" {
145- organization = " hashicorp"
146- repository = " crt-workflows-common"
147- workflow = " promote-dev-docker"
148- depends = [" verify" ]
149- }
150-
151- notification {
152- on = " fail"
153- }
154- }
155-
156- event "fossa-scan" {
157- depends = [" promote-dev-docker" ]
158- action "fossa-scan" {
159- organization = " hashicorp"
160- repository = " crt-workflows-common"
161- workflow = " fossa-scan"
162- }
163- }
164-
16549# # These are promotion and post-publish events
16650# # they should be added to the end of the file after the verify event stanza.
16751
0 commit comments