Skip to content

Commit bc2957c

Browse files
committed
Use Android Builder instead of Docker
1 parent 14a043e commit bc2957c

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

.buildkite/pipeline.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,50 @@
1-
common-params:
2-
&publish-android-artifacts-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+
# Run everything on the `android` queue
2+
agents:
3+
queue: android
4+
5+
# Nodes with values to reuse in the pipeline.
6+
common_params:
7+
# Common plugin settings to use with the `plugins` key.
8+
- &common_plugins
9+
- automattic/bash-cache#2.6.0
1110

1211
steps:
1312
- label: "Publish :aztec"
1413
key: "publish-aztec"
15-
plugins:
16-
- *publish-android-artifacts-docker-container
1714
command: .buildkite/commands/publish-aztec.sh
15+
plugins: *common_plugins
1816

1917
- label: "Publish :glide-loader"
2018
key: "publish-glide-loader"
2119
depends_on:
2220
- "publish-aztec"
23-
plugins:
24-
- *publish-android-artifacts-docker-container
2521
command: .buildkite/commands/publish-glide-loader.sh
22+
plugins: *common_plugins
2623

2724
- label: "Publish :picasso-loader"
2825
key: "publish-picasso-loader"
2926
depends_on:
3027
- "publish-aztec"
31-
plugins:
32-
- *publish-android-artifacts-docker-container
3328
command: .buildkite/commands/publish-picasso-loader.sh
29+
plugins: *common_plugins
3430

3531
- label: "Publish :wordpress-shortcodes"
3632
key: "publish-wordpress-shortcodes"
3733
depends_on:
3834
- "publish-aztec"
39-
plugins:
40-
- *publish-android-artifacts-docker-container
4135
command: .buildkite/commands/publish-wordpress-shortcodes.sh
36+
plugins: *common_plugins
4237

4338
- label: "Publish :wordpress-comments"
4439
key: "publish-wordpress-comments"
4540
depends_on:
4641
- "publish-aztec"
47-
plugins:
48-
- *publish-android-artifacts-docker-container
4942
command: .buildkite/commands/publish-wordpress-comments.sh
43+
plugins: *common_plugins
5044

5145
- label: "Publish :media-placeholders"
5246
key: "publish-media-placeholders"
5347
depends_on:
5448
- "publish-aztec"
55-
plugins:
56-
- *publish-android-artifacts-docker-container
5749
command: .buildkite/commands/publish-media-placeholders.sh
50+
plugins: *common_plugins

0 commit comments

Comments
 (0)