Skip to content

Commit

Permalink
Update CI Toolkit plugin to workaround a CocoaPods issue (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli authored Nov 29, 2023
2 parents 334819a + cb55a53 commit 8f8a8c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
12 changes: 3 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Nodes with values to reuse in the pipeline.
common_params:
plugins: &common_plugins
- automattic/a8c-ci-toolkit#2.18.2
- automattic/a8c-ci-toolkit#3.0.1
# Common environment values to use with the `env` key.
env: &common_env
IMAGE_ID: xcode-15.0.1
Expand All @@ -25,16 +25,10 @@ steps:
#################
# Validate Podspec
#################
- label: "🔬 Validate Podspec – ⚠️ Bypassed ⚠️"
- label: "🔬 Validate Podspec"
key: "validate"
command: |
# validate_podspec
echo '+++ ⚠️ validate_podspec was bypassed ⚠️'
# post a message in the logs
cat .buildkite/validate_podspec_annotation.md
# and also as an annotation
cat .buildkite/validate_podspec_annotation.md | buildkite-agent annotate --style 'warning'
key: "validate"
validate_podspec --patch-cocoapods
env: *common_env
plugins: *common_plugins

Expand Down
4 changes: 2 additions & 2 deletions .buildkite/publish-pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ echo "--- :rubygems: Setting up Gems"
install_gems

echo "--- :cocoapods: Publishing Pod to CocoaPods CDN"
publish_pod $PODSPEC_PATH
publish_pod --patch-cocoapods $PODSPEC_PATH

echo "--- :cocoapods: Publishing Pod to WP Specs Repo"
publish_private_pod $PODSPEC_PATH $SPECS_REPO "$SPEC_REPO_PUBLIC_DEPLOY_KEY"
publish_private_pod --patch-cocoapods $PODSPEC_PATH $SPECS_REPO "$SPEC_REPO_PUBLIC_DEPLOY_KEY"

echo "--- :slack: Notifying Slack"
slack_notify_pod_published $PODSPEC_PATH "$SLACK_WEBHOOK"
10 changes: 0 additions & 10 deletions .buildkite/validate_podspec_annotation.md

This file was deleted.

0 comments on commit 8f8a8c6

Please sign in to comment.