Skip to content

Commit 39eaa41

Browse files
Update to use CRT prepare workflow
This update, moves consul-dataplane to use the prepare workflow. This workflow encapsulates several previous workflows, running jobs in parallel to reduce the artifact processing time. See https://hashicorp.atlassian.net/wiki/spaces/RELENG/pages/2489712686/Dec+7th+2022+-+Introducing+the+new+Prepare+workflow for more info.
1 parent f4920a9 commit 39eaa41

File tree

1 file changed

+5
-82
lines changed

1 file changed

+5
-82
lines changed

.release/ci.hcl

+5-82
Original file line numberDiff line numberDiff line change
@@ -33,97 +33,20 @@ event "build" {
3333
}
3434
}
3535

36-
event "upload-dev" {
36+
event "prepare" {
3737
depends = ["build"]
38-
action "upload-dev" {
38+
action "prepare" {
3939
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"]
7143
}
7244

7345
notification {
7446
on = "fail"
7547
}
7648
}
7749

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-
12750
## These are promotion and post-publish events
12851
## they should be added to the end of the file after the verify event stanza.
12952

0 commit comments

Comments
 (0)