File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Nodes with values to reuse in the pipeline.
2
2
common_params :
3
3
plugins : &common_plugins
4
- - &bash_cache automattic/bash-cache#v1.3.2 : ~
4
+ - &bash_cache automattic/bash-cache#2.0.0 : ~
5
5
env : &common_env
6
6
IMAGE_ID : xcode-12.5.1
7
7
10
10
# Build and Test
11
11
# ################
12
12
- label : " 🧪 Build and Test"
13
- key : " test"
13
+ key : test
14
14
command : |
15
15
.buildkite/install-dependencies.sh
16
16
30
30
# ################
31
31
# Lint
32
32
# ################
33
- - label : " 🧹 Lint"
33
+ - label : " 🧹 Lint (Rubocop)"
34
+ key : rubocop
34
35
command : |
35
36
.buildkite/install-dependencies.sh
36
37
45
46
# Danger
46
47
# ################
47
48
- label : " ⛔️ Danger"
49
+ key : danger
48
50
command : |
49
51
.buildkite/install-dependencies.sh
50
52
@@ -61,6 +63,10 @@ steps:
61
63
- label : " :rubygems: Publish to RubyGems"
62
64
key : " gem-push"
63
65
if : build.tag != null
66
+ depends_on :
67
+ - test
68
+ - rubocop
69
+ - danger
64
70
# Note: We intentionally call a separate `.sh` script here (as opposed to having all the
65
71
# commands written inline) to avoid leaking a key used in the process in clear in the
66
72
# BUILDKITE_COMMAND environment variable.
Original file line number Diff line number Diff line change 18
18
19
19
### Internal Changes
20
20
21
- _ None _
21
+ * Ensure that the ` gem push ` step only runs on CI if lint, test and danger steps passed before it. [ # 325 ]
22
22
23
23
## 2.3.0
24
24
You can’t perform that action at this time.
0 commit comments