Skip to content

Commit

Permalink
Update link-test-infra-canary to use make (#278)
Browse files Browse the repository at this point in the history
Update the link-test-infra-canary to use the Makefiles added to
test-infra. Also adds support for runner-binaries-syncer that was
previously missing.

Depends-On: pytorch/test-infra#5695
Issue: #274
Signed-off-by: Thanh Ha <[email protected]>
  • Loading branch information
zxiiro authored Sep 27, 2024
1 parent 7106625 commit c1e06af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ali/scripts/module_makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ link-test-infra-canary: .terraform/modules/modules.json $(ALL_ZIPS)
rm -rf ../../../lambdas-download-canary/*
rm -rf ../../../lambdas-download/*
cd ../../../tf-modules && ln -s $(TEST_INFRA_DIR)/terraform-aws-github-runner/
cd ../../../tf-modules/terraform-aws-github-runner/modules/runners/lambdas/runners && rm -rf dist && rm -rf runners.zip && yarn install && yarn dist
cd ../../../tf-modules/terraform-aws-github-runner/modules/webhook/lambdas/webhook && rm -rf dist && rm -rf webhook.zip && yarn install && yarn dist
cd ../../../tf-modules/terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer && make clean && make dist
cd ../../../tf-modules/terraform-aws-github-runner/modules/runners/lambdas/runners && make clean && make dist
cd ../../../tf-modules/terraform-aws-github-runner/modules/webhook/lambdas/webhook && make clean && make dist
cp ../../../tf-modules/terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/runner-binaries-syncer.zip ../../../assets/lambdas-download-canary/runner-binaries-syncer.zip
cp ../../../tf-modules/terraform-aws-github-runner/modules/runners/lambdas/runners/runners.zip ../../../assets/lambdas-download-canary/runners.zip
cp ../../../tf-modules/terraform-aws-github-runner/modules/webhook/lambdas/webhook/webhook.zip ../../../assets/lambdas-download-canary/webhook.zip

0 comments on commit c1e06af

Please sign in to comment.