Skip to content

Commit

Permalink
Use bash-cache Buildkite plugin version 2.8.0
Browse files Browse the repository at this point in the history
This version includes a fix that removes the need to run
`gem install bundler` before each step.
  • Loading branch information
mokagio committed Oct 3, 2022
1 parent bd8840a commit 40afa55
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
11 changes: 1 addition & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Nodes with values to reuse in the pipeline.
common_params:
plugins: &common_plugins
- &bash_cache automattic/bash-cache#2.0.0: ~
- &bash_cache automattic/bash-cache#2.8.0
# Common environment values to use with the `env` key.
env: &common_env
IMAGE_ID: xcode-13
Expand All @@ -14,9 +14,6 @@ steps:
- label: "🧪 Build and Test"
key: "test"
command: |
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
gem install bundler:2.3.4
build_and_test_pod
env: *common_env
plugins: *common_plugins
Expand All @@ -27,9 +24,6 @@ steps:
- label: "🔬 Validate Podspecs"
key: "validate"
command: |
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
gem install bundler:2.3.4
validate_podspec
env: *common_env
plugins: *common_plugins
Expand All @@ -40,9 +34,6 @@ steps:
- label: "🧹 Lint"
key: "lint"
command: |
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
gem install bundler:2.3.4
lint_pod
env: *common_env
plugins: *common_plugins
Expand Down
3 changes: 0 additions & 3 deletions .buildkite/publish-aztec-pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ SPECS_REPO="[email protected]:wordpress-mobile/cocoapods-specs.git"
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK

echo "--- :rubygems: Setting up Gems"
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
gem install bundler:2.3.4

install_gems

echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"
Expand Down
3 changes: 0 additions & 3 deletions .buildkite/publish-editor.pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ SPECS_REPO="[email protected]:wordpress-mobile/cocoapods-specs.git"
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK

echo "--- :rubygems: Setting up Gems"
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
gem install bundler:2.3.4

install_gems

echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"
Expand Down

0 comments on commit 40afa55

Please sign in to comment.