-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
deploy hook: routeros: store the env vars within the domainconf #2413
Conversation
The enviroment variables are stored inside the domain configuration file, so that it is not necessary to provide them each time also the option ROUTER_OS_WEB_SERVICE was added for the ability to disable updating the certificate for the www-ssl service, useful for example when a special certificate only for the hotspot server is needed
@herbetom Could you please fix the failing test(s). I had a quick review of the changes and looks fine. I'll review in detail once the tests pass. (Yes, I know - took me a while to fix the script so it would pass all tests. Have a look as And thanks for creating the PR; it's the first one since I took over the |
@cngarrison Yeah, it seems to be a problem with the |
Had an availability incident at $work this week, so no time to reply properly yet. My quick answer; I used an online |
Sorry it's taken me so long to return to this - I didn't have spare brain cycles for it before. Unfortunately, I don't know |
I did a PR with the trailing slashes and it passed the CI build/test. Once it gets merged, would you please update this PR and see if your changes to store vals inside the domain configuration file will build/test ok. |
Congratulations on finding something that passes the sfmt test! And yes, once your pull request #2604 has been merged and I find the time I will do it. |
Have you already looked into RouterOS v7 (beta)? They write in the changelog:
So hopefully it will still work. But who knows. It should probably be tested. |
I’m aware of v7 but haven't looked into it. Thanks for the changelog entry.
I read that to mean the current command style/syntax will still work. But agreed, needs to be tested. |
rebase to upstream
The enviroment variables are stored inside the domain configuration file, so that it is not necessary to provide them each time also the option ROUTER_OS_WEB_SERVICE was added for the ability to disable updating the certificate for the www-ssl service, useful for example when a special certificate only for the hotspot server is needed
@herbetom @cngarrison any chance this could get another look? |
I currently don't have time to look into this. Sorry |
I edited the deploy hook for RouterOS so that the enviroment variables for the routeros deploy hook are now stored inside the domain configuration file, so that it is not necessary to provide them each time.
Also the option
ROUTER_OS_WEB_SERVICE
with the default valueyes
was added for the ability to disable updating the certificate for the www-ssl service, useful for example when a special certificate only for the hotspot server is needed.This changes shouldn't cause an issue for current users of the deploy hook.