-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Make check interval configurable for the runner #402
Conversation
in order to reduce load on gitlab API
One checkmark can be added to #393 by this. |
variables.tf
Outdated
variable "runners_check_interval" { | ||
description = "defines the interval length, in seconds, between new jobs check." | ||
type = number | ||
default = 0 |
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.
Ok by me, other option could be to set the default to 3 https://docs.gitlab.com/runner/configuration/advanced-configuration.html
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.
@PirminTapken thanks LGTM
@PirminTapken please can you check the CI, looks like there is a format error. |
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.
Fix formatting
main.tf
Outdated
@@ -133,14 +133,15 @@ locals { | |||
runners_root_size = var.runners_root_size | |||
runners_iam_instance_profile_name = var.runners_iam_instance_profile_name | |||
runners_use_private_address_only = var.runners_use_private_address | |||
runners_use_private_address = !var.runners_use_private_address | |||
runners_use_private_address = ! var.runners_use_private_address |
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.
runners_use_private_address = ! var.runners_use_private_address | |
runners_use_private_address = !var.runners_use_private_address |
@PirminTapken did you had time to check the review comment? |
@npalm i stepped in to fix formatting and default to 3 seconds as @PirminTapken seems quite busy |
## [4.36.0](4.35.0...4.36.0) (2021-12-09) ### Features * Add /certs/client and docker.sock to volumes for docker in docker ([#396](#396)) ([3f79054](3f79054)) * Add variable for Docker registry mirror ([#400](#400)) ([e36c971](e36c971)) * Make check interval configurable for the runner ([#402](#402)) ([ed9989c](ed9989c)) ### Bug Fixes * Remove runner agents if provider assumed a role ([#401](#401)) ([9767603](9767603))
🎉 This PR is included in version 4.36.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Make check interval configurable for the runner in order to reduce load on gitlab API
Migrations required
NO