Skip to content

Commit

Permalink
[DRA,buildkite] Use AWS aarch64 instance type (#15352)
Browse files Browse the repository at this point in the history
We've spotted network flakiness downloading artifacts with gradle (connection resets) when using GCP/t2a on us-central1.
This commit switches to AWS Graviton instance types for building the aarch64 artifacts.
  • Loading branch information
dliappis authored Sep 27, 2023
1 parent dd77c9f commit 12a9825
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .buildkite/scripts/dra/generatesteps.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,10 @@ def package_aarch64_docker_step(branch, workflow_type):
- label: ":package: Build aarch64 Docker / {branch}-{workflow_type.upper()} DRA artifacts"
key: "logstash_build_aarch64_docker_dra"
agents:
provider: gcp
imageProject: elastic-images-qa
image: family/platform-ingest-logstash-ubuntu-2204-aarch64
machineType: "t2a-standard-8"
provider: aws
imagePrefix: platform-ingest-logstash-ubuntu-2204-aarch64
instanceType: "m6g.4xlarge"
diskSizeGb: 200
region: 'us-central1'
# so far only these regions support t2a instance types
zones: "us-central1-a,us-central1-b,us-central1-f"
command: |
export WORKFLOW_TYPE="{workflow_type}"
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"
Expand Down

0 comments on commit 12a9825

Please sign in to comment.