-
Notifications
You must be signed in to change notification settings - Fork 4
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
Localias on GitHub Actions #43
Comments
Hey @iloveitaly nice to run into you on Github! Just to make sure I understand — your goal is to run the localias daemon inside of a Github Actions workflow, so that other steps in the workflow can make requests that get proxied by localias? If so, that's not something I had ever considered, but sounds cool and I'd be happy to accept PRs that help make it happen. I don't know anything about the Github Actions environment re: cert stuff, and I don't use linux so I'm not really familiar with how to deal with common certificate stores. I've been lucky to mainly piggyback on the hard work of the Caddy project and have this stuff mostly Just™ Work™ 😅 . If you have any questions about how to make the necessary change in Localias to support what you're doing, I hope to be more helpful. |
Got this mostly working! There were some very weird issues I had to workaround: |
Very cool! Thanks for taking a look at Localias and for working to extend it! Did making it all work end up requiring any patches to localias? |
No patches to localias! There were some very weird issues with "SSL cert warming" which would cause an SSL error to be reported the first time you request a domain. This would sometimes happen repeatedly, even after requesting the domain once, which is why we have a backoff for both curl and an optional chromium test. I have no idea why this is the case—there's something funky going on with how ubuntu handles self-signed SSL certs. Cool with adding to the readme? |
👋 what a cool project. Love it.
I'm trying to get this working on GitHub actions with the goal of enabling the test suite to mirror production as closely as possible.
https://github.com/iloveitaly/python-starter-template/actions/runs/11965441527/job/33359452515
It's close (I have a couple PRs coming for some tweaks I've made) but the certs are not installing properly. One especially strange thing is:
Results in:
Another interesting error is:
Which doesn't seem like the core issue?
I'm not familiar with the linux certificate store, so I wanted to check in with you in case you had any pointers before I start hunting in the dark for what's going on here in ubuntu.
The text was updated successfully, but these errors were encountered: