Skip to content

Commit

Permalink
Update CI Toolkit plugin to workaround a CocoaPods issue
Browse files Browse the repository at this point in the history
This will unblock us from testing and release pod from CI.

See:

- wordpress-mobile/WordPressAuthenticator-iOS@6bb3c53
- Automattic/a8c-ci-toolkit-buildkite-plugin#78
  • Loading branch information
mokagio committed Dec 14, 2023
1 parent 3d8054f commit 93a4022
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
9 changes: 2 additions & 7 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.17.0
- 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 Down Expand Up @@ -44,12 +44,7 @@ steps:
- label: "🔬 Validating 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'
validate_podspec --patch-cocoapods
env: *common_env
plugins: *common_plugins
artifact_paths: ".build/logs/*.log"
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,7 +8,7 @@ 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 "--- :slack: Notifying Slack"
slack_notify_pod_published $PODSPEC_PATH $SLACK_WEBHOOK
slack_notify_pod_published $PODSPEC_PATH "$SLACK_WEBHOOK"
8 changes: 0 additions & 8 deletions .buildkite/validate_podspec_annotation.md

This file was deleted.

0 comments on commit 93a4022

Please sign in to comment.