Skip to content

Commit 40afa55

Browse files
committed
Use bash-cache Buildkite plugin version 2.8.0
This version includes a fix that removes the need to run `gem install bundler` before each step.
1 parent bd8840a commit 40afa55

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nodes with values to reuse in the pipeline.
22
common_params:
33
plugins: &common_plugins
4-
- &bash_cache automattic/bash-cache#2.0.0: ~
4+
- &bash_cache automattic/bash-cache#2.8.0
55
# Common environment values to use with the `env` key.
66
env: &common_env
77
IMAGE_ID: xcode-13
@@ -14,9 +14,6 @@ steps:
1414
- label: "🧪 Build and Test"
1515
key: "test"
1616
command: |
17-
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
18-
gem install bundler:2.3.4
19-
2017
build_and_test_pod
2118
env: *common_env
2219
plugins: *common_plugins
@@ -27,9 +24,6 @@ steps:
2724
- label: "🔬 Validate Podspecs"
2825
key: "validate"
2926
command: |
30-
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
31-
gem install bundler:2.3.4
32-
3327
validate_podspec
3428
env: *common_env
3529
plugins: *common_plugins
@@ -40,9 +34,6 @@ steps:
4034
- label: "🧹 Lint"
4135
key: "lint"
4236
command: |
43-
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
44-
gem install bundler:2.3.4
45-
4637
lint_pod
4738
env: *common_env
4839
plugins: *common_plugins

.buildkite/publish-aztec-pod.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ SPECS_REPO="git@github.com:wordpress-mobile/cocoapods-specs.git"
55
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK
66

77
echo "--- :rubygems: Setting up Gems"
8-
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
9-
gem install bundler:2.3.4
10-
118
install_gems
129

1310
echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"

.buildkite/publish-editor.pod.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ SPECS_REPO="git@github.com:wordpress-mobile/cocoapods-specs.git"
55
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK
66

77
echo "--- :rubygems: Setting up Gems"
8-
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
9-
gem install bundler:2.3.4
10-
118
install_gems
129

1310
echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"

0 commit comments

Comments
 (0)