Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tvm-bot lambda #52

Merged
merged 2 commits into from
Dec 8, 2022
Merged

Add tvm-bot lambda #52

merged 2 commits into from
Dec 8, 2022

Conversation

driazati
Copy link
Contributor

@driazati driazati commented Sep 27, 2022

This moves the tvm-bot pr commenting logic from apache/tvm to an AWS Lambda function. This keeps it out of the queue and also gives us better guarantees about runtime (PR comments previously would take up to a minute to show up, with this they are pretty much instant), and this doesn't show up in the CI jobs box on PRs.

There is lots of copy paste from tvm/ci/scripts into tvm_bot/tvm_bot with some minor changes to work with lambda. The main infra changes are in the folder atop that in ci/terraform, which adds a lambda function with an API gateway that exposes a URL that GitHub can send webhooks to.

This PR is just a start so it skips the more complicated parts that generate PR-specific bits, like the docs URL and the skipped tests list. The commenting is also still gated to members of the OSS team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant