1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2
2
---
3
3
4
- common_params :
5
- # Common plugin settings to use with the `plugins` key.
6
- - &common_plugins
7
- - automattic/a8c-ci-toolkit#3.4.2
8
-
9
4
agents :
10
5
queue : " android"
11
6
12
7
steps :
13
8
- label : " Gradle Wrapper Validation"
14
9
command : |
15
10
validate_gradle_wrapper
16
- plugins : *common_plugins
11
+ plugins : [$CI_TOOLKIT]
17
12
18
13
# Wait for Gradle Wrapper to be validated before running any other jobs
19
14
- wait
@@ -22,12 +17,12 @@ steps:
22
17
key : " detekt"
23
18
command : |
24
19
./gradlew detekt
25
- plugins : *common_plugins
20
+ plugins : [$CI_TOOLKIT]
26
21
artifact_paths :
27
22
- " **/build/reports/detekt/detekt.html"
28
23
- label : " lint"
29
24
key : " lint"
30
- plugins : *common_plugins
25
+ plugins : [$CI_TOOLKIT]
31
26
command : |
32
27
./gradlew lintRelease
33
28
artifact_paths :
@@ -39,36 +34,36 @@ steps:
39
34
depends_on :
40
35
- " detekt"
41
36
- " lint"
42
- plugins : *common_plugins
37
+ plugins : [$CI_TOOLKIT]
43
38
command : |
44
39
.buildkite/publish-mediapicker-domain.sh
45
40
- label : " Publish :mediapicker:source-device"
46
41
depends_on :
47
42
- " publish-mediapicker-domain"
48
- plugins : *common_plugins
43
+ plugins : [$CI_TOOLKIT]
49
44
command : |
50
45
.buildkite/publish-mediapicker-source-device.sh
51
46
- label : " Publish :mediapicker:source-camera"
52
47
depends_on :
53
48
- " publish-mediapicker-domain"
54
- plugins : *common_plugins
49
+ plugins : [$CI_TOOLKIT]
55
50
command : |
56
51
.buildkite/publish-mediapicker-source-camera.sh
57
52
- label : " Publish :mediapicker:source-gif"
58
53
depends_on :
59
54
- " publish-mediapicker-domain"
60
- plugins : *common_plugins
55
+ plugins : [$CI_TOOLKIT]
61
56
command : |
62
57
.buildkite/publish-mediapicker-source-gif.sh
63
58
- label : " Publish :mediapicker:source-wordpress"
64
59
depends_on :
65
60
- " publish-mediapicker-domain"
66
- plugins : *common_plugins
61
+ plugins : [$CI_TOOLKIT]
67
62
command : |
68
63
.buildkite/publish-mediapicker-source-wordpress.sh
69
64
- label : " Publish :mediapicker"
70
65
depends_on :
71
66
- " publish-mediapicker-domain"
72
- plugins : *common_plugins
67
+ plugins : [$CI_TOOLKIT]
73
68
command : |
74
69
.buildkite/publish-mediapicker.sh
0 commit comments