Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit ff50d7d

Browse files
authored
Merge pull request #3048 from wordpress-mobile/deps/update-a8c-ci-toolkit-to-3.4.2
[Dependency Update] Update `a8c-ci-toolkit` to 3.4.2
2 parents 2d90f9a + 57e9111 commit ff50d7d

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

.buildkite/pipeline.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
# Nodes with values to reuse in the pipeline.
55
common_params:
6-
# Common plugin settings to use with the `plugins` key.
7-
- &common_plugins
8-
- automattic/a8c-ci-toolkit#2.15.0
96
# Common artifact paths used across steps
107
- &artifact_paths
118
- "**/build/test-results/**/*"
@@ -21,7 +18,7 @@ steps:
2118
- label: "Gradle Wrapper Validation"
2219
command: |
2320
validate_gradle_wrapper
24-
plugins: *common_plugins
21+
plugins: [$CI_TOOLKIT]
2522
notify:
2623
- github_commit_status:
2724
context: "Gradle Wrapper Validation"
@@ -40,7 +37,7 @@ steps:
4037
cp gradle.properties-example gradle.properties && cp -a example/properties-example/ example/properties/
4138
./gradlew checkstyle
4239
artifact_paths: *artifact_paths
43-
plugins: *common_plugins
40+
plugins: [$CI_TOOLKIT]
4441
notify:
4542
- github_commit_status:
4643
context: "checkstyle"
@@ -50,7 +47,7 @@ steps:
5047
cp gradle.properties-example gradle.properties && cp -a example/properties-example/ example/properties/
5148
./gradlew detekt
5249
artifact_paths: *artifact_paths
53-
plugins: *common_plugins
50+
plugins: [$CI_TOOLKIT]
5451
notify:
5552
- github_commit_status:
5653
context: "detekt"
@@ -61,7 +58,7 @@ steps:
6158
./gradlew lintRelease || (grep -A20 -B2 'severity="Error"' */build/**/*.xml; exit 1);
6259
find . -iname "*XMLRPCClient*java" | xargs grep getSiteId && (echo "You should not use _getSiteId_ in a XMLRPClient, did you mean _selfHostedId_?" && exit 1) || exit 0;
6360
artifact_paths: *artifact_paths
64-
plugins: *common_plugins
61+
plugins: [$CI_TOOLKIT]
6562
notify:
6663
- github_commit_status:
6764
context: "Lint"
@@ -75,15 +72,15 @@ steps:
7572
- label: "🔬 Unit Test"
7673
command: .buildkite/unit-tests.sh
7774
artifact_paths: *artifact_paths
78-
plugins: *common_plugins
75+
plugins: [$CI_TOOLKIT]
7976
notify:
8077
- github_commit_status:
8178
context: "Unit Test"
8279

8380
- label: "🔬 WooCommerce Tests"
8481
command: .buildkite/woocommerce-tests.sh
8582
artifact_paths: *artifact_paths
86-
plugins: *common_plugins
83+
plugins: [$CI_TOOLKIT]
8784
notify:
8885
- github_commit_status:
8986
context: "WooCommerce Tests"
@@ -95,7 +92,7 @@ steps:
9592
key: connected-tests
9693
command: .buildkite/connected-tests.sh
9794
artifact_paths: *artifact_paths
98-
plugins: *common_plugins
95+
plugins: [$CI_TOOLKIT]
9996
notify:
10097
- github_commit_status:
10198
context: "Publish :fluxc-build-connected-tests"
@@ -112,7 +109,7 @@ steps:
112109
- label: "🚀 Publish :fluxc-annotations"
113110
key: "publish-fluxc-annotations"
114111
command: .buildkite/publish-fluxc-annotations.sh
115-
plugins: *common_plugins
112+
plugins: [$CI_TOOLKIT]
116113
notify:
117114
- github_commit_status:
118115
context: "Publish :fluxc-annotations"
@@ -122,7 +119,7 @@ steps:
122119
depends_on:
123120
- "publish-fluxc-annotations"
124121
command: .buildkite/publish-fluxc-processor.sh
125-
plugins: *common_plugins
122+
plugins: [$CI_TOOLKIT]
126123
notify:
127124
- github_commit_status:
128125
context: "Publish :fluxc-processor"
@@ -133,7 +130,7 @@ steps:
133130
- "publish-fluxc-processor"
134131
- "publish-fluxc-annotations"
135132
command: .buildkite/publish-fluxc.sh
136-
plugins: *common_plugins
133+
plugins: [$CI_TOOLKIT]
137134
notify:
138135
- github_commit_status:
139136
context: "Publish :fluxc"
@@ -145,7 +142,7 @@ steps:
145142
- "publish-fluxc-annotations"
146143
- "publish-fluxc"
147144
command: .buildkite/publish-plugins-woocommerce.sh
148-
plugins: *common_plugins
145+
plugins: [$CI_TOOLKIT]
149146
notify:
150147
- github_commit_status:
151148
context: "Publish :plugins:woocommerce"

.buildkite/shared-pipeline-vars

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
4+
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.
5+
6+
export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.4.2"

0 commit comments

Comments
 (0)