Skip to content

Commit

Permalink
arm: Test higher bandwidth machine
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax committed Apr 14, 2023
1 parent 7172e8a commit cf141f6
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
47 changes: 47 additions & 0 deletions ami-build/azp-arm64-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"variables": {},
"builders": [
{
"type": "amazon-ebs",
"region": "us-east-2",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-*",
"root-device-type": "ebs"
},
"owners": [
"099720109477"
],
"most_recent": true
},
"instance_type": "r6g.large",
"ssh_username": "ubuntu",
"ami_name": "envoy-azp-arm64-2-{{timestamp}}",
"run_volume_tags": {
"Project": "Packer"
},
"run_tags": {
"Project": "Packer"
},
"tags": {
"Project": "envoy-azp-arm64-2"
},
"security_group_ids": [
"sg-030a7a75a086f208c"
],
"encrypt_boot": true
}
],
"provisioners": [
{
"type": "file",
"source": "scripts",
"destination": "/home/ubuntu/scripts"
},
{
"type": "shell",
"script": "agent-setup.sh"
}
]
}
18 changes: 18 additions & 0 deletions instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,21 @@ module "arm-build-pool" {
aws = aws
}
}

module "arm-2-build-pool" {
source = "./azp-build-asg"

ami_prefix = "envoy-azp-arm64-2"
aws_account_id = "457956385456"
azp_pool_name = "arm-large-2"
azp_token = var.azp_token
disk_size_gb = 10
idle_instances_count = 1
instance_types = ["c6gn.8xlarge"]
bazel_cache_bucket = aws_s3_bucket.build-cache.bucket
cache_prefix = "public-arm64"

providers = {
aws = aws
}
}

0 comments on commit cf141f6

Please sign in to comment.