-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Makefiles for test-infra ALI lambdas (#5695)
Create Makefiles for the ALI lambda functions so that we can make sure that CI and Local dev use the same commands to build and test. Issue: pytorch/ci-infra#274 Signed-off-by: Thanh Ha <[email protected]>
- Loading branch information
Showing
6 changed files
with
65 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SHELL=/bin/bash -o pipefail | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf dist node_modules | ||
rm runner-binaries-syncer.zip | ||
|
||
.PHONY: build | ||
build: | ||
yarn install | ||
yarn lint | ||
yarn format-check | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn build | ||
# TODO: Fix broken tests. | ||
# yarn test | ||
|
||
.PHONY: dist | ||
dist: | ||
yarn install | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn dist |
19 changes: 19 additions & 0 deletions
19
terraform-aws-github-runner/modules/runners/lambdas/runners/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SHELL=/bin/bash -o pipefail | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf dist node_modules | ||
rm runners.zip | ||
|
||
.PHONY: build | ||
build: | ||
yarn install | ||
yarn lint | ||
yarn format-check | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn build | ||
yarn test | ||
|
||
.PHONY: dist | ||
dist: | ||
yarn install | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn dist |
19 changes: 19 additions & 0 deletions
19
terraform-aws-github-runner/modules/webhook/lambdas/webhook/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SHELL=/bin/bash -o pipefail | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf dist node_modules | ||
rm webhook.zip | ||
|
||
.PHONY: build | ||
build: | ||
yarn install | ||
yarn lint | ||
yarn format-check | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn build | ||
yarn test | ||
|
||
.PHONY: dist | ||
dist: | ||
yarn install | ||
NODE_OPTIONS="--openssl-legacy-provider" yarn dist |