Closed lallmon closed 4 years ago
Also I did a test using these version of Ubuntu change proposed here, and it works https://hub.docker.com/repository/docker/lalmon/godot-ci-lfs/general
However I'd prefer to contribute to this project rather than fork it just for LFS support.
I can also update the Readme if you like, because the 'Checkout" action (using V2 in my action btw) requires LFS to be enabled.
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
However I'd prefer to contribute to this project rather than fork it just for LFS support.
I can also update the Readme if you like, because the 'Checkout" action (using V2 in my action btw) requires LFS to be enabled.
Great! Please edit the workflow file to include the lfs flags then.
I agree with upgrading to ubuntu:focal if it's the current LTS release.
The mono docker is based on debian buster (10) slim -- https://github.com/mono/docker/blob/master/6.10.0.104/slim/Dockerfile
Looking at the git package on buster, it seems it has git 2.20 so we should be fine. -- https://packages.debian.org/buster/git
Alright @aBARICHELLO @asheraryam I rebased my branch off current master and added the changes to the action file, let me know if anything else is needed. And Resolves #43
I am having issues after this PR got merged with Pixelorama's GitHub Actions Windows export workflow. The "Setup WINE and rcedit" step gets stuck because it waits for user input, and the workflow keeps running for hours. I Googled a bit, and found out that a solution could be to add this line to the Dockerfile. ENV DEBIAN_FRONTEND=noninteractive
Ok, I'll update in a few hours and rebuild the images
I think ARG
instead of ENV
should be enough right?
I haven't tested it myself (hence why I did not open a pull request), but I took a look at #37 and it seems to be using ENV
. I'm not sure if there's a difference though.
I've seen that env on other ubuntu images, I think I should have included it from the start
I tried re-running the jobs, but the same problem still persists.
The workflow gets stuck there and does not do anything.
If this prompt is showing up during the job then i think we need to use ENV instead of ARG to expose the variable beyond build time, please test this and let me know if it works.
I made a copy of the Dockerfile and tested it with ENV instead of ARG and it seems to be working, so I assume that should solve the issue.
My mistake then, I'll update in a few hours. Thanks!
So regarding #43 and my last pull request adding git lfs to the dependencies; to actually be able to use LFS in the actions pipeline, you need a minimum of git version 2.18.
Ubuntu Bionic defaults to 2.17.1 :frowning:
There are two solutions here, to use
ubuntu: focal
as the image (the current LTS build)Or add the PPA repository while installing the other dependencies
Not sure which one falls better in line with the strategy of Godot-CI? However, I'm not sure how that might affect the Mono Dockerfile, since I can't really find what that image is based on.