-
Notifications
You must be signed in to change notification settings - Fork 17
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
terraform/jenkins-controller: add static builders #173
Conversation
@joinemm commented offline that the current version would add the remote builders to 'prod' environment too. However, it might still be better to conditionalize the usage of these external remote builders on the envtype only for the 'priv' and 'dev' environments under the environment-specific options: Line 97 in d8d62be
|
5328ae9
to
f75050a
Compare
Updated, it's now conditionalized on |
This adds builder.vedenemo.dev and hetzarm.vedenemo.dev as static builders to /etc/nix/machines, as well as the keyscan machinery. #171 already ensured that ssh key works. maxJobs is set to the number of cores the system sees, and speedFactor is set to 3, making it more attractive than the other builders. Signed-off-by: Florian Klink <flokli@flokli.de>
f75050a
to
e0f819f
Compare
We might actually want to set the num_builders to 0 on 'priv' and 'dev' configurations either as part of this PR, or on a follow-up PR. |
Let's do it in a followup, it's unrelated to adding static builders (what this PR does) |
Azure builders are no longer needed on 'priv' and 'dev' environments after #173. Also moves the external builder configuration to the environment-specific configuration options to anticipate ghaf-infra deployments on locations that might not want to use the vedenemo.dev builders we are using with Ghaf. Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
Azure builders are no longer needed on 'priv' and 'dev' environments after #173. Also moves the external builder configuration to the environment-specific configuration options to anticipate ghaf-infra deployments on locations that might not want to use the vedenemo.dev builders we are using with Ghaf. Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
This adds builder.vedenemo.dev and hetzarm.vedenemo.dev as static builders to /etc/nix/machines, as well as the keyscan machinery.
#171 already ensured that ssh key works.
maxJobs is set to the number of cores the system sees, and speedFactor is set to 3, making it more attractive than the other builders.