astro icon indicating copy to clipboard operation
astro copied to clipboard

Proposal: Automatic Package Compilation

Open brunoalano opened this issue 8 years ago • 3 comments

In some sense, the package compilation for AWS Lambda it's simple, following some basic steps, described in the README for example, where you should install the package dependencies and then compile, zip, and PR.

It's possible to make this process automatic using a tool like Travis? Otherwise, I can make available an instance on EC2 running the correct AMI to that purposes, where should have some listener (Flask for example) that runs the process.

brunoalano avatar Feb 16 '17 21:02 brunoalano

Yeah, I've been thinking about this for a long time, but haven't had the bandwidth to really address it properly.

I think another option to look into is simply building on top of something like https://github.com/lambci/docker-lambda - we might be able to skip the EC2 instances entirely (although we loose a little bit of assurance I'm not too worried about it if the Docker images are doing their job).

Miserlou avatar Feb 16 '17 21:02 Miserlou

See: https://www.rickpeyton.com/posts/docker-plus-amazonlinux-to-build-python-aws-lambda-package.html

brunoalano avatar Feb 17 '17 12:02 brunoalano

Yeah, pretty much that. The goal would be reproducability of the packages. Are we missing any other major packages that aren't in l-p or manylinux?

Miserlou avatar Feb 17 '17 16:02 Miserlou