-
Notifications
You must be signed in to change notification settings - Fork 271
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
Add support for setting check_interval
#315
Conversation
2e29f5e
to
62ec42f
Compare
@guenhter just wondering if you can have another look at this? |
@fkleon Thx for this contribution maybe you can keep your eyes open for incoming issues which might be caused by a this change. |
This seems to break windows gitlab-runner deploys. Even without adding
I tried explicitly setting the variable as Everything up until this point in my ansible run with this role completes normally. Please see the included file for the run log: Reverting to v2.0.3 fixed this problem, so it does seem to be related to this change. |
@nvzkupu I indeed had no way to test this on Windows, sorry! Looks like the Windows tasks may not need to change user with
If that works, I'm happy to provide another pull request. |
No worries at all! Thank you for responding so quickly. 😄 I will give this a shot when I am back at work. |
@nvzkupu @shock0572 Thanks for confirming! I submitted a PR with the fix here: #345 |
Add support to set
check_interval
in the global config section.See https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section
This defaults to
0
which matches the default auto-generated config, and simply causes GitLab runner to use its default value (see above). So this shouldn't cause any change in behaviour for existing users of this role.