Skip to content

Commit 3f5c500

Browse files
committed
Upgrade CI and related tooling to work with Xcode 13.4.1
1 parent 6fb44be commit 3f5c500

File tree

4 files changed

+24
-9
lines changed

4 files changed

+24
-9
lines changed

.buildkite/pipeline.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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.7.0: ~
55
# Common environment values to use with the `env` key.
66
env: &common_env
7-
IMAGE_ID: xcode-12.5.1
7+
IMAGE_ID: xcode-13.4.1
88

99
# This is the default pipeline – it will build and test the app
1010
steps:
@@ -13,7 +13,11 @@ steps:
1313
################
1414
- label: "🧪 Build and Test"
1515
key: "test"
16-
command: "build_and_test_pod"
16+
command: |
17+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
18+
gem install bundler
19+
20+
build_and_test_pod
1721
env: *common_env
1822
plugins: *common_plugins
1923
artifact_paths: ".build/logs/*.log"
@@ -23,7 +27,11 @@ steps:
2327
#################
2428
- label: "🔬 Validate Podspec"
2529
key: "validate"
26-
command: "validate_podspec"
30+
command: |
31+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
32+
gem install bundler
33+
34+
validate_podspec
2735
env: *common_env
2836
plugins: *common_plugins
2937
artifact_paths: ".build/logs/*.log"
@@ -33,7 +41,11 @@ steps:
3341
#################
3442
- label: "🧹 Lint"
3543
key: "lint"
36-
command: "lint_pod"
44+
command: |
45+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
46+
gem install bundler
47+
48+
lint_pod
3749
env: *common_env
3850
plugins: *common_plugins
3951

.buildkite/publish-pod.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ PODSPEC_PATH="WPMediaPicker.podspec"
44
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK
55

66
echo "--- :rubygems: Setting up Gems"
7+
# See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16
8+
gem install bundler
9+
710
install_gems
811

912
echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"
1013
publish_pod $PODSPEC_PATH
1114

1215
echo "--- :slack: Notifying Slack"
13-
slack_notify_pod_published $PODSPEC_PATH $SLACK_WEBHOOK
16+
slack_notify_pod_published $PODSPEC_PATH "$SLACK_WEBHOOK"

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.4
1+
2.7.4

Example/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- WPMediaPicker (1.8.0-beta.1)
2+
- WPMediaPicker (1.8.4)
33

44
DEPENDENCIES:
55
- WPMediaPicker (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
WPMediaPicker: b71345bed88eb1b9ad6313e3410795e0f1182f47
12+
WPMediaPicker: 9533160e5587939876aeeb1461a441a4e5dc4c4d
1313

1414
PODFILE CHECKSUM: 31590cb12765a73c9da27d6ea5b8b127c095d71d
1515

0 commit comments

Comments
 (0)