3 ms·
bots are automatically deployed via github too. They are just lambda function behind an API gateway. The library that interfaces with the bots is the same thin
by avitzurel 8y ago
bots are automatically deployed via github too. They are just lambda function behind an API gateway.
The library that interfaces with the bots is the same thing, once it's updated ALL of the builds will automatically use that latest version.
- outworlder 8y agoDid you roll your own? I was looking for some usable bot frameworks or libraries for lambda, but I couldn't find anything. I don't really have the time budget to roll my own stuff from scratch(although contributing back would be feasible).
- avitzurel 8y agoYes. We rolled our own. We’re always looking to open source, trying to find the resources
- lozenge 8y agoGitHub API has a good Python wrapper, it is usually not too difficult to roll your own. In this sample you can probably get the file list without a Git repo checked out at all. The key is to make every event from GitHub feed into a "reconsider_pr" function that refetches all info on the PR, rather than keeping state and trying to minimise your API requests. However it looks like you could build this out of combining bulldozer & another bot from palantir, if you really want to go no code.