From f45eb94248ce0ef38344d1fc7e55998fdf31723c Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 22 May 2024 10:34:22 -0400 Subject: [PATCH] chore(ci): fix running out of disk (#6597) --- .github/ensure-builder/action.yml | 2 +- .github/ensure-tester/action.yml | 2 +- .github/spot-runner-action/dist/index.js | 2 +- .github/spot-runner-action/src/ec2.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ensure-builder/action.yml b/.github/ensure-builder/action.yml index fcc0718d947..b37b6d8cf7b 100644 --- a/.github/ensure-builder/action.yml +++ b/.github/ensure-builder/action.yml @@ -25,7 +25,7 @@ runs: echo "runner_label=$USERNAME-$runner_type" >> $GITHUB_OUTPUT if [[ $TYPE == builder-x86 ]]; then # 128-core x86 instance types, aws chooses for us based on capacity - echo "instance_type=m6a.32xlarge m6i.32xlarge m6in.32xlarge m7a.32xlarge r6a.32xlarge r6i.32xlarge r6in.32xlarge r7iz.32xlarge" >> $GITHUB_OUTPUT + echo "instance_type=m6a.32xlarge m6i.32xlarge m6in.32xlarge m7a.32xlarge r6a.32xlarge r6i.32xlarge r6in.32xlarge" >> $GITHUB_OUTPUT echo "ami_id=ami-04d8422a9ba4de80f" >> $GITHUB_OUTPUT echo "ebs_cache_size=256" >> $GITHUB_OUTPUT echo "runner_concurrency=20" >> $GITHUB_OUTPUT diff --git a/.github/ensure-tester/action.yml b/.github/ensure-tester/action.yml index a87c0bd9387..78cb7ec71fc 100644 --- a/.github/ensure-tester/action.yml +++ b/.github/ensure-tester/action.yml @@ -38,7 +38,7 @@ runs: elif [[ $TYPE == 128core-* ]]; then SIZE=32xlarge fi - echo "instance_type=i4i.$SIZE m6a.$SIZE m6i.$SIZE m6id.$SIZE m6idn.$SIZE m6in.$SIZE m7a.$SIZE r6a.$SIZE r6i.$SIZE r6id.$SIZE r6in.$SIZE r7iz.$SIZE" >> $GITHUB_OUTPUT + echo "instance_type=m6a.$SIZE m6in.$SIZE r6a.$SIZE r6i.$SIZE r6in.$SIZE" >> $GITHUB_OUTPUT - name: Start Tester uses: ./.github/spot-runner-action diff --git a/.github/spot-runner-action/dist/index.js b/.github/spot-runner-action/dist/index.js index a46e07e4fde..fc4d03da124 100644 --- a/.github/spot-runner-action/dist/index.js +++ b/.github/spot-runner-action/dist/index.js @@ -279,7 +279,7 @@ class Ec2Instance { { DeviceName: "/dev/sda1", Ebs: { - VolumeSize: 32, + VolumeSize: 64, VolumeType: 'gp3', Throughput: 1000, Iops: 5000 diff --git a/.github/spot-runner-action/src/ec2.ts b/.github/spot-runner-action/src/ec2.ts index 3731a7e9204..5e6ed63a6ea 100644 --- a/.github/spot-runner-action/src/ec2.ts +++ b/.github/spot-runner-action/src/ec2.ts @@ -198,7 +198,7 @@ export class Ec2Instance { { DeviceName: "/dev/sda1", Ebs: { - VolumeSize: 32, + VolumeSize: 64, VolumeType: 'gp3', Throughput: 1000, Iops: 5000