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

Outdated rootfs #1

Closed
jaxvanyang opened this issue Jul 28, 2023 · 13 comments
Closed

Outdated rootfs #1

jaxvanyang opened this issue Jul 28, 2023 · 13 comments

Comments

@jaxvanyang
Copy link

Hi, it's been a while since your last update. I don't know if you have time to update this repository. If you don't, I would like to help.

I want to write a automatic CI workflow to apply the most recent rootfs, and add some logic to do cleanup. Maybe once a month. This shouldn't be difficult. I can contribute a PR if you like. Or if you are too busy to maintain this repo, I will fork it and publish it to my Docker registry.

@jaxvanyang
Copy link
Author

OK, 3 days passed. You must be very busy. I'll create a fork first. If still no response in this week. I will push it to my own Docker registry.

@jaxvanyang
Copy link
Author

I have published it to my own Docker repository. Anyone interested could check it over there.

@AlexTalker
Copy link
Owner

@jaxvanyang Aye, due to a number of factors in live I haven't had time to continue with this "enterprise" RISC-V setup, so much so that the 2nd iteration of StarFive VisionFive came out, so I'm definitely lagging behind. Thanks for taking the interest tho.

@jaxvanyang
Copy link
Author

Understood, hope you are well.

@AlexTalker
Copy link
Owner

@jaxvanyang Yeah, just busy. I've pushed the CI to build the latest image few days ago. I might look to automate this process(of tracking latest version) when I'll get some time =)

@jaxvanyang
Copy link
Author

jaxvanyang commented Oct 16, 2023

I have done that already, I can create a pr if you like.

@AlexTalker
Copy link
Owner

@jaxvanyang Feel free, I've personally thought about using something like https://beautiful-soup-4.readthedocs.io/en/latest/ to nicely parse NGNIX autoindex output and put it into GitHub Action that runs periodically(once a week say would suffice for most) that triggers the main action with new env but you do you =)

@jaxvanyang
Copy link
Author

I use a silly curl approach, but it works fine. #3

@AlexTalker
Copy link
Owner

AlexTalker commented Oct 16, 2023

@jaxvanyang that PR seems to have way too many changes methinks, I see where you're going with this tho. I think that docker-related things, if needed at all, should be in a separate Makefile file that can be included. Also, using make rule to compute the version is an overkill, in my opinion it is preferable to store such hacks in a separate script.

As I understand, you are trying to build & publish the image locally and/or on different CI than GitHub Actions but at this moment I doubt there's a need for that. I planned to support GitLab in the future also but oh well =)

@AlexTalker
Copy link
Owner

Thanks for taking a look tho

@jaxvanyang
Copy link
Author

Just a hint, you can pick what you like. Maybe grab that curl thing to a shell script or something. I know my method is somewhat dirty. So if you have better idea, just do it.

@jaxvanyang
Copy link
Author

@AlexTalker FYI, another person is maintaining an up-to-date Docker image.

@AlexTalker
Copy link
Owner

AlexTalker commented Oct 21, 2023

@jaxvanyang nice that the ppl finally caught on =)

Anyway, I've added automated weekly update of the images, including bumping to new release version.

It has a room to be more polished but it works for now.

I'll see what comes out of it since I initially intended this image as an environment to package building but due to certain fundamental flaw regarding exec*() exit code in QEMU userspace, my thoughts now more in the direction of full-on emulation since I lack powerful RISC-V hardware at the moment.

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

No branches or pull requests

2 participants