Skip to content

Commit

Permalink
ci: use ci_toolkit instead of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Feb 2, 2024
1 parent 36fd594 commit 1d57f43
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
x-common-params:
- &docker-container
docker#v3.8.0:
image: "public.ecr.aws/automattic/android-build-image:v1.3.0"
propagate-environment: true
environment:
# DO NOT MANUALLY SET THESE VALUES!
# They are passed from the Buildkite agent to the Docker container
- "AWS_ACCESS_KEY"
- "AWS_SECRET_KEY"
- &ci_toolkit
automattic/a8c-ci-toolkit#3.0.1
- &nvm_plugin
automattic/nvm#0.3.0:
# This is an attempt to fix curl error (92) during installing nodejs.
Expand All @@ -19,11 +12,11 @@ steps:
npm install
./gradlew publishToMavenLocal
plugins:
- *docker-container
- *ci_toolkit
- *nvm_plugin
- label: "Publish to S3"
plugins:
- *docker-container
- *ci_toolkit
- *nvm_plugin
if: build.branch == "trunk"
command: |
Expand Down

0 comments on commit 1d57f43

Please sign in to comment.