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.1.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.1 
1+ env :
2+   IMAGE_ID : $IMAGE_ID 
103
114#  This is the default pipeline – it will build and test the app
125steps :
@@ -18,17 +11,15 @@ steps:
1811    steps :
1912      - label : " 🛠 WordPress Prototype Build" 
2013        command : " .buildkite/commands/prototype-build-wordpress.sh" 
21-         env : *common_env 
22-         plugins : *common_plugins 
14+         plugins : [$CI_TOOLKIT_PLUGIN] 
2315        if : " build.pull_request.id != null || build.pull_request.draft" 
2416        notify :
2517          - github_commit_status :
2618              context : " WordPress Prototype Build" 
2719
2820      - label : " 🛠 Jetpack Prototype Build" 
2921        command : " .buildkite/commands/prototype-build-jetpack.sh" 
30-         env : *common_env 
31-         plugins : *common_plugins 
22+         plugins : [$CI_TOOLKIT_PLUGIN] 
3223        if : " build.pull_request.id != null || build.pull_request.draft" 
3324        notify :
3425          - github_commit_status :
@@ -42,17 +33,15 @@ steps:
4233      - label : " 🛠 :wordpress: Build for Testing" 
4334        key : " build_wordpress" 
4435        command : " .buildkite/commands/build-for-testing.sh wordpress" 
45-         env : *common_env 
46-         plugins : *common_plugins 
36+         plugins : [$CI_TOOLKIT_PLUGIN] 
4737        notify :
4838          - github_commit_status :
4939              context : " WordPress Build for Testing" 
5040
5141      - label : " 🛠 :jetpack: Build for Testing" 
5242        key : " build_jetpack" 
5343        command : " .buildkite/commands/build-for-testing.sh jetpack" 
54-         env : *common_env 
55-         plugins : *common_plugins 
44+         plugins : [$CI_TOOLKIT_PLUGIN] 
5645        notify :
5746          - github_commit_status :
5847              context : " Jetpack Build for Testing" 
6352  - label : " 🔬 :wordpress: Unit Tests" 
6453    command : " .buildkite/commands/run-unit-tests.sh" 
6554    depends_on : " build_wordpress" 
66-     env : *common_env 
67-     plugins : *common_plugins 
55+     plugins : [$CI_TOOLKIT_PLUGIN] 
6856    artifact_paths :
6957      - " build/results/*" 
7058    notify :
7967      - label : " 🔬 :jetpack: UI Tests (iPhone)" 
8068        command : .buildkite/commands/run-ui-tests.sh 'iPhone 15' 
8169        depends_on : " build_jetpack" 
82-         env : *common_env 
83-         plugins : *common_plugins 
70+         plugins : [$CI_TOOLKIT_PLUGIN] 
8471        artifact_paths :
8572          - " build/results/*" 
8673          - " build/results/crashes/*" 
@@ -89,10 +76,9 @@ steps:
8976              context : " UI Tests (iPhone)" 
9077
9178      - label : " 🔬 :jetpack: UI Tests (iPad)" 
92-         command : .buildkite/commands/run-ui-tests.sh 'iPad Pro (12.9 -inch) (6th generation )' 
79+         command : .buildkite/commands/run-ui-tests.sh 'iPad Pro 13 -inch (M4 )' 
9380        depends_on : " build_jetpack" 
94-         env : *common_env 
95-         plugins : *common_plugins 
81+         plugins : [$CI_TOOLKIT_PLUGIN] 
9682        artifact_paths :
9783          - " build/results/*" 
9884          - " build/results/crashes/*" 
@@ -105,14 +91,23 @@ steps:
10591  # ################
10692  - group : " Linters" 
10793    steps :
94+       - label : " ☢️ Danger - PR Check" 
95+         command : danger 
96+         key : danger 
97+         if : " build.pull_request.id != null" 
98+         retry :
99+           manual :
100+             permit_on_passed : true 
101+         agents :
102+           queue : " linter" 
103+ 
108104      - label : " :swift: SwiftLint" 
109-         command : run_swiftlint --strict 
110-         plugins : *common_plugins 
105+         command : swiftlint 
111106        notify :
112107          - github_commit_status :
113108              context : " SwiftLint" 
114109        agents :
115-           queue : " default " 
110+           queue : " linter " 
116111
117112      - label : " 🧹 Lint Translations" 
118113        command : " gplint /workdir/WordPress/Resources/AppStoreStrings.po" 
@@ -127,5 +122,4 @@ steps:
127122
128123      - label : " :sleuth_or_spy: Lint Localized Strings Format" 
129124        command : .buildkite/commands/lint-localized-strings-format.sh 
130-         plugins : *common_plugins 
131-         env : *common_env 
125+         plugins : [$CI_TOOLKIT_PLUGIN] 
0 commit comments