Skip to content

Commit

Permalink
Let LF fleet use scale-config from test-infra (#284)
Browse files Browse the repository at this point in the history
Integrates changes from pytorch/test-infra#5767.
See that PR for more details

Note: Terrafile change is a placeholder until the above PR is merged
  • Loading branch information
ZainRizvi authored Oct 18, 2024
1 parent c1e06af commit de4418f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ali/Terrafile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions ali/aws/391835788720/us-east-1/autoscaler-lambda-canary.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions ali/aws/391835788720/us-east-1/autoscaler-lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit de4418f

Please sign in to comment.