Skip to content

Commit

Permalink
Revert "Revert "Clone the repo faster in Buildkite (#6008)""
Browse files Browse the repository at this point in the history
This reverts commit 53f5c6d.
  • Loading branch information
Siobhan committed Aug 3, 2023
1 parent de2a3fa commit 147dbf7
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
x-common-params:
&publish-android-artifacts-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"
- &git-shallow-clone-plugin
automattic/git-shallow-clone#trunk
- &publish-android-artifacts-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"

steps:
- block: "Request trigger Android bundle and builds"
Expand All @@ -16,6 +18,7 @@ steps:
- label: "Build JS Bundles"
key: "js-bundles"
plugins:
- *git-shallow-clone-plugin
- docker#v3.8.0:
image: "public.ecr.aws/automattic/gb-mobile-image:latest"
environment:
Expand Down Expand Up @@ -49,6 +52,7 @@ steps:
- label: "Build Android RN Aztec & Publish to S3"
key: "publish-react-native-aztec-android"
plugins:
- *git-shallow-clone-plugin
- *publish-android-artifacts-docker-container
command: |
.buildkite/publish-react-native-aztec-android-artifacts.sh
Expand All @@ -58,6 +62,7 @@ steps:
- "js-bundles"
- "publish-react-native-aztec-android"
plugins:
- *git-shallow-clone-plugin
- *publish-android-artifacts-docker-container
command: |
.buildkite/publish-react-native-bridge-android-artifacts.sh
Expand All @@ -68,9 +73,8 @@ steps:
artifact_paths:
- ios-xcframework/build/xcframeworks/*.tar.gz
plugins:
- automattic/a8c-ci-toolkit#2.16.0
- peakon/git-shallow-clone#v0.0.1:
depth: 1
- automattic/a8c-ci-toolkit#2.18.2
- *git-shallow-clone-plugin
agents:
queue: mac
env:
Expand Down

0 comments on commit 147dbf7

Please sign in to comment.