Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 4eaad16

Browse files
committed
Temporarily fix bundler version mismatch.
See Automattic/a8c-ci-toolkit-buildkite-plugin#16
1 parent 1d4649d commit 4eaad16

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.buildkite/pipeline.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ steps:
1212
#################
1313
- label: "🧪 Build and Test"
1414
key: "test"
15-
command: "build_and_test_pod"
15+
command: |
16+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
17+
gem install bundler:2.3.4
18+
build_and_test_pod
1619
env: *common_env
1720
plugins: *common_plugins
1821

@@ -21,7 +24,10 @@ steps:
2124
#################
2225
- label: "🔬 Validate Podspec"
2326
key: "validate"
24-
command: "validate_podspec"
27+
command: |
28+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
29+
gem install bundler:2.3.4
30+
validate_podspec
2531
env: *common_env
2632
plugins: *common_plugins
2733

@@ -30,7 +36,10 @@ steps:
3036
#################
3137
- label: "🧹 Lint"
3238
key: "lint"
33-
command: "lint_pod"
39+
command: |
40+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
41+
gem install bundler:2.3.4
42+
lint_pod
3443
env: *common_env
3544
plugins: *common_plugins
3645

.buildkite/publish-pod.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ SPECS_REPO="[email protected]: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+
811
install_gems
912

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

0 commit comments

Comments
 (0)