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
refactor: minio -> s3 #23
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far. Thanks 👍
Co-authored-by: Julian Meinking <12785972+DrJume@users.noreply.github.com>
@DrJume @LouisHaftmann Added defaults for the s3 driver that point to AWS S3. The title of the docs page now includes both |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably test whether the prune function actually works with s3/minio. It is currently only used for unit tests so it's not that important.
only one small change. after that we can merge this pr and I'll create a new pre-release build. Thanks for your work so far! ❤️ |
Done. I've made sure to test the pruning - it works with S3 as expected :) |
Co-authored-by: Julian Meinking <12785972+DrJume@users.noreply.github.com>
By the way, have you thought about making an issue/PR to actions/runner to allow setting a custom ACTIONS_CACHE_URL without patching the runner? We're not running them in Docker (as this has it's own challenges with Docker-in-Docker setup), meaning we had to disable automatic self-updates for the patch to stay. So maybe there's a change GitHub can support this natively 🙃 |
Yeah this would be nice, but sadly it seems that GitHub is not interested in this change. See here for more context: |
Yeah, self-updates would be nice. We didn't think about that, because we use ephemeral runners, but it's a valid use case. |
😢
Not sure, our devops manage that. We'll have to do something like that as GitHub does not promise compatibility with older version runners 😞 :
|
@DrJume So it turns out it's almost impossible to make it work with non-ephemeral runners :/ Looking through the runner's code, there are no hooks we could use. Most of the self-update stuff is done on the C# side and there's a single That's unfortunate because it looks like all we can do is also run ephemeral runners :( |
A last option maybe could be to watch the runner binary and patch it automatically. But still, we would also recommend to use ephemeral runners. |
we are using ephemeral runners in our setup but kubernetes is required for docker in docker to work. maybe we could put together a guide for you if you're interested |
Closes #21