1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2
2
---
3
3
4
- # Nodes with values to reuse in the pipeline.
5
- common_params :
6
- # Common plugin settings to use with the `plugins` key.
7
- - &common_plugins
8
- - automattic/a8c-ci-toolkit#3.4.2
9
-
10
4
# Run everything on the `android` queue
11
5
agents :
12
6
queue : android
@@ -15,68 +9,68 @@ steps:
15
9
- label : " Gradle Wrapper Validation"
16
10
command : |
17
11
validate_gradle_wrapper
18
- plugins : *common_plugins
12
+ plugins : [$CI_TOOLKIT]
19
13
20
14
# Wait for Gradle Wrapper to be validated before running any other jobs
21
15
- wait
22
16
23
17
- label : " Lint"
24
18
key : " lint"
25
19
command : .buildkite/commands/lint.sh
26
- plugins : *common_plugins
20
+ plugins : [$CI_TOOLKIT]
27
21
artifact_paths :
28
22
- " aztec/build/reports/*"
29
23
30
24
- label : " Unit Tests"
31
25
key : " test"
32
26
command : .buildkite/commands/unit-test.sh
33
- plugins : *common_plugins
27
+ plugins : [$CI_TOOLKIT]
34
28
artifact_paths :
35
29
- " aztec/build/test-results/**/*.xml"
36
30
37
31
- label : " Connected Tests"
38
32
key : " connected-test"
39
33
command : .buildkite/commands/connected-tests.sh
40
- plugins : *common_plugins
34
+ plugins : [$CI_TOOLKIT]
41
35
artifact_paths :
42
36
- " aztec/build/test-results/**/*.xml"
43
37
44
38
- label : " Publish :aztec"
45
39
key : " publish-aztec"
46
40
command : .buildkite/commands/publish-aztec.sh
47
- plugins : *common_plugins
41
+ plugins : [$CI_TOOLKIT]
48
42
49
43
- label : " Publish :glide-loader"
50
44
key : " publish-glide-loader"
51
45
depends_on :
52
46
- " publish-aztec"
53
47
command : .buildkite/commands/publish-glide-loader.sh
54
- plugins : *common_plugins
48
+ plugins : [$CI_TOOLKIT]
55
49
56
50
- label : " Publish :picasso-loader"
57
51
key : " publish-picasso-loader"
58
52
depends_on :
59
53
- " publish-aztec"
60
54
command : .buildkite/commands/publish-picasso-loader.sh
61
- plugins : *common_plugins
55
+ plugins : [$CI_TOOLKIT]
62
56
63
57
- label : " Publish :wordpress-shortcodes"
64
58
key : " publish-wordpress-shortcodes"
65
59
depends_on :
66
60
- " publish-aztec"
67
61
command : .buildkite/commands/publish-wordpress-shortcodes.sh
68
- plugins : *common_plugins
62
+ plugins : [$CI_TOOLKIT]
69
63
70
64
- label : " Publish :wordpress-comments"
71
65
key : " publish-wordpress-comments"
72
66
depends_on :
73
67
- " publish-aztec"
74
68
command : .buildkite/commands/publish-wordpress-comments.sh
75
- plugins : *common_plugins
69
+ plugins : [$CI_TOOLKIT]
76
70
77
71
- label : " Publish :media-placeholders"
78
72
key : " publish-media-placeholders"
79
73
depends_on :
80
74
- " publish-aztec"
81
75
command : .buildkite/commands/publish-media-placeholders.sh
82
- plugins : *common_plugins
76
+ plugins : [$CI_TOOLKIT]
0 commit comments