Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Nodes with values to reuse in the pipeline.
common_params:
plugins: &common_plugins
- &bash_cache automattic/bash-cache#v1.3.2: ~
- &bash_cache automattic/bash-cache#2.0.0: ~
# Common environment values to use with the `env` key.
env: &common_env
IMAGE_ID: xcode-12.5.1
IMAGE_ID: xcode-13

# This is the default pipeline – it will build and test the app
steps:
Expand All @@ -13,7 +13,11 @@ steps:
#################
- label: "🧪 Build and Test"
key: "test"
command: "build_and_test_pod"
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 @@ -22,7 +26,11 @@ steps:
#################
- label: "🔬 Validate Podspec"
key: "validate"
command: "validate_podspec"
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 @@ -31,7 +39,11 @@ steps:
#################
- label: "🧹 Lint"
key: "lint"
command: "lint_pod"
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: 3 additions & 0 deletions .buildkite/publish-pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ SPECS_REPO="git@github.com: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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
fastlane/README.md
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mustn't have been done before and no one ever run the tests locally via Fastlane, which is something I did investigating a CI failure.

Sort of out of scope, but small enough to fit in here anyway.


# rubygems
vendor/
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.4
2.7.4