@@ -33,97 +33,20 @@ event "build" {
33
33
}
34
34
}
35
35
36
- event "upload-dev " {
36
+ event "prepare " {
37
37
depends = [" build" ]
38
- action "upload-dev " {
38
+ action "prepare " {
39
39
organization = " hashicorp"
40
- repository = " crt-workflows-common"
41
- workflow = " upload-dev"
42
- depends = [" build" ]
43
- }
44
-
45
- notification {
46
- on = " fail"
47
- }
48
- }
49
-
50
- event "security-scan-binaries" {
51
- depends = [" upload-dev" ]
52
- action "security-scan-binaries" {
53
- organization = " hashicorp"
54
- repository = " crt-workflows-common"
55
- workflow = " security-scan-binaries"
56
- config = " security-scan.hcl"
57
- }
58
-
59
- notification {
60
- on = " fail"
61
- }
62
- }
63
-
64
- event "security-scan-containers" {
65
- depends = [" security-scan-binaries" ]
66
- action "security-scan-containers" {
67
- organization = " hashicorp"
68
- repository = " crt-workflows-common"
69
- workflow = " security-scan-containers"
70
- config = " security-scan.hcl"
40
+ repository = " crt-workflows-common"
41
+ workflow = " prepare"
42
+ depends = [" build" ]
71
43
}
72
44
73
45
notification {
74
46
on = " fail"
75
47
}
76
48
}
77
49
78
- event "sign" {
79
- depends = [" security-scan-containers" ]
80
- action "sign" {
81
- organization = " hashicorp"
82
- repository = " crt-workflows-common"
83
- workflow = " sign"
84
- }
85
-
86
- notification {
87
- on = " fail"
88
- }
89
- }
90
-
91
- event "verify" {
92
- depends = [" sign" ]
93
- action "verify" {
94
- organization = " hashicorp"
95
- repository = " crt-workflows-common"
96
- workflow = " verify"
97
- }
98
-
99
- notification {
100
- on = " fail"
101
- }
102
- }
103
-
104
- event "promote-dev-docker" {
105
- depends = [" verify" ]
106
- action "promote-dev-docker" {
107
- organization = " hashicorp"
108
- repository = " crt-workflows-common"
109
- workflow = " promote-dev-docker"
110
- depends = [" verify" ]
111
- }
112
-
113
- notification {
114
- on = " fail"
115
- }
116
- }
117
-
118
- event "fossa-scan" {
119
- depends = [" promote-dev-docker" ]
120
- action "fossa-scan" {
121
- organization = " hashicorp"
122
- repository = " crt-workflows-common"
123
- workflow = " fossa-scan"
124
- }
125
- }
126
-
127
50
# # These are promotion and post-publish events
128
51
# # they should be added to the end of the file after the verify event stanza.
129
52
0 commit comments