From 333b415865ec71b8fd4822360bf8a30ba108ca53 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Tue, 18 Jan 2022 12:15:32 +0100 Subject: [PATCH 1/3] Update CI image to Xcode 13 --- .buildkite/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 9a52626ab..f9732d25d 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,9 +1,9 @@ # Nodes with values to reuse in the pipeline. common_params: plugins: &common_plugins - - &bash_cache automattic/bash-cache#v1.5.0: ~ + - &bash_cache automattic/bash-cache#2.0.0: ~ env: &common_env - IMAGE_ID: xcode-12.5.1 + IMAGE_ID: xcode-13 # This is the default pipeline – it will build and test the pod steps: From 1d4649dde99e2f9f499738dbc3f3b00768246c14 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Tue, 18 Jan 2022 12:22:10 +0100 Subject: [PATCH 2/3] Update Ruby Version to match what's on the CI image --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index 2714f5313..a4dd9dba4 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.4 +2.7.4 From 4eaad16cca1ddfb0f6d9d288b819e505ec123c52 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Tue, 18 Jan 2022 12:32:55 +0100 Subject: [PATCH 3/3] Temporarily fix bundler version mismatch. See https://github.com/Automattic/bash-cache-buildkite-plugin/issues/16 --- .buildkite/pipeline.yml | 15 ++++++++++++--- .buildkite/publish-pod.sh | 3 +++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index f9732d25d..23cadc67e 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -12,7 +12,10 @@ 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 @@ -21,7 +24,10 @@ 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 @@ -30,7 +36,10 @@ 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 diff --git a/.buildkite/publish-pod.sh b/.buildkite/publish-pod.sh index 35b4cc2f4..77eb5eeb1 100644 --- a/.buildkite/publish-pod.sh +++ b/.buildkite/publish-pod.sh @@ -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"