From de4418f4c4ab045bc003cfb656c990e04d3405ca Mon Sep 17 00:00:00 2001 From: Zain Rizvi Date: Fri, 18 Oct 2024 12:30:36 -0500 Subject: [PATCH] Let LF fleet use scale-config from test-infra (#284) Integrates changes from https://github.com/pytorch/test-infra/pull/5767. See that PR for more details Note: Terrafile change is a placeholder until the above PR is merged --- ali/Terrafile | 2 +- ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf | 1 + ali/aws/391835788720/us-east-1/autoscaler-lambda.tf | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ali/Terrafile b/ali/Terrafile index e5e422e..6448795 100644 --- a/ali/Terrafile +++ b/ali/Terrafile @@ -4,7 +4,7 @@ terraform-aws-vpc: terraform-aws-github-runner: source: "pytorch/test-infra" module-root: "terraform-aws-github-runner" - tag: "v20240924-163756" + tag: "v20241018-152153" assets: - "runner-binaries-syncer.zip" - "runners.zip" diff --git a/ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf b/ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf index e8f11a5..bdb5b9e 100644 --- a/ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf +++ b/ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf @@ -59,6 +59,7 @@ module "autoscaler-lambda-canary" { runners_scale_up_sqs_message_ret_s = 7200 scale_down_schedule_expression = "cron(*/15 * * * ? *)" cant_have_issues_labels = [] + scale_config_repo = "test-infra" scale_config_repo_path = ".github/lf-canary-scale-config.yml" min_available_runners = 0 diff --git a/ali/aws/391835788720/us-east-1/autoscaler-lambda.tf b/ali/aws/391835788720/us-east-1/autoscaler-lambda.tf index e28ae19..a988159 100644 --- a/ali/aws/391835788720/us-east-1/autoscaler-lambda.tf +++ b/ali/aws/391835788720/us-east-1/autoscaler-lambda.tf @@ -64,6 +64,7 @@ module "autoscaler-lambda" { runners_scale_up_sqs_message_ret_s = 7200 scale_down_schedule_expression = "cron(*/15 * * * ? *)" cant_have_issues_labels = ["Use Canary Lambdas"] + scale_config_repo = "test-infra" scale_config_repo_path = ".github/lf-scale-config.yml" min_available_runners = 6