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

Migrate to Distillery and update dependencies #16

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

carstenpiepel
Copy link

Issue #, if available:

Description of changes:
This pull requests updates AWS Lambda Elixir Runtime to work on current versions of AWS Lambda, Elixir, and OTP. All unit test are completing successful and the hello_world example has been tested and verified on AWS Lambda.

  • Migrates from the now deprecated Mix.Config to Config
  • Migrates from the now deprecated Distillery to mix release
  • Migrates from Poison to Jason to take advantage of better compile time and runtime performance
  • Deprecates EPMD.StubClient as it is not needed when using mix release
  • Updates Mix.Tasks.Bootstrap to dynamically derive runtime libs (shared objects) LD_LIBRARY_PATH path
  • Deprecates Mix.Tasks.GenLambdaRelease as it is not needed when using mix release
  • Modifies Mix.Tasks.Zip to output zip file to _build/#{Mix.env()}/rel/#{app} instead of the project root folder so that the file can be cleaned up with mix clean
  • Updates all dependencies to their latest stable version
  • Updates Elixir version to 1.15 (latest stable version) though the code might work on versions >1.8 (no guarantees)
  • Updates shared objects (libraries) to latest libssl.so and libcrypto.so.1.1. from Amazon Linux 2 Kernel 5.10 AMI 2.0.20230727.0 x86_64

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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