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

Add git LFS support. #37

Merged
merged 3 commits into from
Nov 16, 2022
Merged

Add git LFS support. #37

merged 3 commits into from
Nov 16, 2022

Conversation

pavelpokutnev
Copy link
Contributor

@pavelpokutnev pavelpokutnev commented Oct 25, 2022

Close #36

Adds the support for git repositories with LFS enabled. Since the Alpine base image doesn't include the git-lfs package, we do the installation of git-lfs in the entrypoint.sh.

@pavelpokutnev
Copy link
Contributor Author

Please see #36 for details.

@manoelcampos
Copy link
Owner

Hey @pavelpokutnev, thanks for your contribution. Well appreciated.

Copy link
Owner

@manoelcampos manoelcampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small review.

action.yml Outdated Show resolved Hide resolved
@@ -9,6 +9,11 @@ if [[ "$INPUT_ADOC_FILE_EXT" != .* ]]; then
INPUT_ADOC_FILE_EXT=".$INPUT_ADOC_FILE_EXT";
fi

# Install git-lfs since it is not in Alpine base image.
Copy link
Owner

@manoelcampos manoelcampos Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the second option you mentioned in #36 is better, since we can provide a docker image with everything installed and reduce the code of entrypoint.sh.

The apk add openssh-client in that script could even be moved there too, but that is another issue.

apk add openssh-client -q > /dev/null

@manoelcampos manoelcampos added the enhancement New feature or request label Nov 1, 2022
@manoelcampos
Copy link
Owner

Hey @pavelpokutnev
Please let me know if you are able to make the changes.
Otherwise, I can change it.

@manoelcampos manoelcampos merged commit 25d7b95 into manoelcampos:main Nov 16, 2022
@manoelcampos
Copy link
Owner

I've just merged it. Thanks for the contribution.

@manoelcampos
Copy link
Owner

I've just moved software installation to the Dockerfile: Check 60643a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for repositories with git LFS
2 participants