Giter VIP home page Giter VIP logo

Comments (4)

mhart avatar mhart commented on June 24, 2024

Good question – what's required to support that?

from git-lambda-layer.

jusdino avatar jusdino commented on June 24, 2024

I'm not sure, really. I think it would depend on how you went about installing it:
https://github.com/git-lfs/git-lfs/wiki/Installation

I tried to install with yumda using their rpm installer script, but it tries to add an external repo, which doesn't seem to work with yumda. Alternatively, it looks like they mention adding their raw binary git-lfs to anywhere in the PATH would also work, but I'm still experimenting.

I'm working on a lambda that does a git clone, zip, ship to s3 that uses this lambda layer. It works great until I try to do this with a repo that uses LFS.

from git-lambda-layer.

freakingawesome avatar freakingawesome commented on June 24, 2024

I think I've got the git-lfs installation working correctly in this forked PR. I have yet to fully vet it out by pushing up and running it as an actual Lambda Layer, but I wanted to link the in-process work here in case you wanted to take it for a spin before I fully vet it out.

I'm pretty sure it'll work just fine based on testing within the container in which it was built, but I'll report back here when I'm able to get it up on AWS for additional testing, and if it's all good I'll open a PR here.

This commit only targets the Lambda Runtime 2 (so far...).

from git-lambda-layer.

freakingawesome avatar freakingawesome commented on June 24, 2024

PR submitted. I updated it to allow specification of the git-lfs version, and I added a line in the test lambda function to run git lfs on the lambda instance, which proves that it's working correctly.

from git-lambda-layer.

Related Issues (20)

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.