File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change 1
- common-params :
2
- &docker-container
3
- docker#v3.8.0:
4
- image : " public.ecr.aws/automattic/android-build-image:v1.2.0"
5
- propagate-environment : true
6
- environment :
7
- # DO NOT MANUALLY SET THESE VALUES!
8
- # They are passed from the Buildkite agent to the Docker container
9
- - " AWS_ACCESS_KEY"
10
- - " AWS_SECRET_KEY"
1
+ common_params :
2
+ # Common plugin settings to use with the `plugins` key.
3
+ - &common_plugins
4
+ - automattic/bash-cache#2.11.0
11
5
12
6
steps :
13
7
- label : " Lint & Checkstyle"
14
8
key : " lint_and_checkstyle"
15
- plugins :
16
- - *docker-container
9
+ plugins : *common_plugins
17
10
command : |
18
11
cp gradle.properties-example gradle.properties
19
12
./gradlew lint checkstyle
23
16
24
17
- label : " Test"
25
18
key : " test"
26
- plugins :
27
- - *docker-container
19
+ plugins : *common_plugins
28
20
command : |
29
21
cp gradle.properties-example gradle.properties
30
22
./gradlew test
33
25
depends_on :
34
26
- " lint_and_checkstyle"
35
27
- " test"
36
- plugins :
37
- - *docker-container
28
+ plugins : *common_plugins
38
29
command : |
39
30
cp gradle.properties-example gradle.properties
40
31
./gradlew \
You can’t perform that action at this time.
0 commit comments