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

Commit 0939c54

Browse files
authored
Merge pull request #634 from wordpress-mobile/tooling/update-xcode-ci-image
Update CI image to Xcode 13
2 parents 97a835c + 4eaad16 commit 0939c54

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.buildkite/pipeline.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Nodes with values to reuse in the pipeline.
22
common_params:
33
plugins: &common_plugins
4-
- &bash_cache automattic/bash-cache#v1.5.0: ~
4+
- &bash_cache automattic/bash-cache#2.0.0: ~
55
env: &common_env
6-
IMAGE_ID: xcode-12.5.1
6+
IMAGE_ID: xcode-13
77

88
# This is the default pipeline – it will build and test the pod
99
steps:
@@ -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"

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.4
1+
2.7.4

0 commit comments

Comments
 (0)