1- # Nodes with values to reuse in the pipeline.
2- common_params :
3- # Common plugin settings to use with the `plugins` key.
4- - &common_plugins
5- - automattic/a8c-ci-toolkit#3.3.0
6- # Common environment values to use with the `env` key.
7- - &common_env
8- # Be sure to also update the `.xcode-version` file when updating the Xcode image/version here
9- IMAGE_ID : xcode-15.4
1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2+ ---
3+
4+ agents :
5+ queue : " mac"
6+
7+ env :
8+ IMAGE_ID : $IMAGE_ID
109
1110# This is the default pipeline – it will build and test the app
1211steps :
1615 - label : " :pipeline: Build"
1716 key : " build"
1817 command : " .buildkite/commands/build-for-testing.sh"
19- env : *common_env
20- plugins : *common_plugins
18+ plugins : [$CI_TOOLKIT]
2119 notify :
2220 - github_commit_status :
2321 context : " Build"
2725 # ################
2826 - label : " 🛠 Prototype Build"
2927 command : " .buildkite/commands/prototype-build.sh"
30- env : *common_env
31- plugins : *common_plugins
28+ plugins : [$CI_TOOLKIT]
3229 if : build.pull_request.id != null
3330 notify :
3431 - github_commit_status :
4037 - label : " 🔬 Unit Tests"
4138 command : " .buildkite/commands/run-unit-tests.sh"
4239 depends_on : " build"
43- env : *common_env
44- plugins : *common_plugins
40+ plugins : [$CI_TOOLKIT]
4541 artifact_paths :
4642 - " fastlane/test_output/*"
4743 notify :
@@ -84,17 +80,15 @@ steps:
8480
8581 - label : " :sleuth_or_spy: Lint Localized Strings Format"
8682 command : .buildkite/commands/lint-localized-strings-format.sh
87- plugins : *common_plugins
88- env : *common_env
83+ plugins : [$CI_TOOLKIT]
8984
9085 # ################
9186 # UI Tests
9287 # ################
9388 - label : " 🔬 UI Tests (iPhone)"
9489 command : .buildkite/commands/run-ui-tests.sh UITests 'iPhone 15'
9590 depends_on : " build"
96- env : *common_env
97- plugins : *common_plugins
91+ plugins : [$CI_TOOLKIT]
9892 artifact_paths :
9993 - " fastlane/test_output/*"
10094 notify :
@@ -104,8 +98,7 @@ steps:
10498 - label : " 🔬 UI Tests (iPad)"
10599 command : .buildkite/commands/run-ui-tests.sh UITests "iPad (10th generation)"
106100 depends_on : " build"
107- env : *common_env
108- plugins : *common_plugins
101+ plugins : [$CI_TOOLKIT]
109102 artifact_paths :
110103 - " fastlane/test_output/*"
111104 notify :
0 commit comments