Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

GitPullLambda "No space left on device" #55

Open
MGDMedia opened this issue Aug 11, 2020 · 1 comment
Open

GitPullLambda "No space left on device" #55

MGDMedia opened this issue Aug 11, 2020 · 1 comment

Comments

@MGDMedia
Copy link

Hello,

I'm having a hard time getting git2s3 to properly work for my GitHub repository. I've configured the Webhook through my repository settings on github.com, but GitHub is showing a 200 empty body response when I test a push.
Checking the lambda funciton logs, I see this error:

[Errno 28] No space left on device: IOErrorTraceback (most recent call last): File "/var/task/lambda_function.py", line 232, in lambda_handler zipfile = zip_repo(repo_path, repo_name) File "/var/task/lambda_function.py", line 109, in zip_repo zf.write(os.path.join(dirname, filename), os.path.join(zdirname, filename)) File "/usr/lib64/python2.7/zipfile.py", line 1225, in write self.fp.seek(zinfo.header_offset, 0)IOError: [Errno 28] No space left on device

The error sounds straightforward, but I'm not understanding what device it's referring to here, and how I can go about resolving it. I understand that this is more of a question on the usage rather than an issue, but I wasn't able to find a solution in the guide or anywhere online. Any insight is greatly appreciated!

@kirankumar15
Copy link
Contributor

The solution is modified to handle larger git repositories by making use of CodeBuild for performing git operations. Can you please check the new changes and deploy it and see if you are still seeing issues?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants