Giter VIP home page Giter VIP logo

Comments (4)

0xTim avatar 0xTim commented on June 12, 2024

The README or DocC stuff could definitely do with being better but if you want a working example, check out https://github.com/vapor/release-bot

from vapor-aws-lambda-runtime.

skela avatar skela commented on June 12, 2024

Ill give it a look, thx so much. This stuff seems super promising 👍🏻

from vapor-aws-lambda-runtime.

skela avatar skela commented on June 12, 2024

Thanks yes, the release-bot stuff was super helpful.
Before I saw that I was trying to upload a docker image, and have the aws setup to use that (using pulumi to set the API up instead of your yaml).

Have since copied yer scripts to package up a zip containing a bootstrap like yer doing and uploading that to an s3 bucket.
(Although i was having some issues with the unzipped contents being a bit too large - fixed that by removing the file lib_InternalSwiftScan.so from the zip file, hopefully its not important).

I've got the same number of dependancies as your release-bot project, only I'm running Swift 5.7, so you might encounter the same issue when you upgrade.

Now I just need to figure out how to set up the API gateway so it works with this stuff.

from vapor-aws-lambda-runtime.

0xTim avatar 0xTim commented on June 12, 2024

If you compile it with swift build -c release --static-swift-stdlib then you should be able to just copy the executable and nothing else.

Will close this issue, feel free to reopen it if you want!

from vapor-aws-lambda-runtime.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.