Skip to content
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

Provisioning lacks per host settings #412

Open
zagy opened this issue Nov 30, 2023 · 2 comments
Open

Provisioning lacks per host settings #412

zagy opened this issue Nov 30, 2023 · 2 comments
Milestone

Comments

@zagy
Copy link
Member

zagy commented Nov 30, 2023

[provisioner:default]
method = fc-nixos-dev-vm
host = 
hydra-eval = 215351
memory = 8192
cores = 12

The memory/core/hydra settings need to be overridable per VM.

Also it's unclear how one would have a different provision.nix/sh per host.

@zagy zagy added this to the batou 2.4.1 / bug fixes milestone Nov 30, 2023
@ctheune ctheune changed the title Provisioning lacks per hots settings Provisioning lacks per host settings Dec 6, 2023
@elikoga
Copy link
Member

elikoga commented Dec 19, 2023

[host:foo]
components = hello

[host:bar]
components = bye
provisioner = notthedefault

[provisioner:default]
method = fc-nixos-dev-vm
host = # 21.05 production release 2022_01
channel =
hydra-eval = 215351
memory = 8192
cores = 12

[provisioner:notthedefault]
method = fc-nixos-dev-vm
host = 
hydra-eval = 215351
memory = 4096
cores = 4

should work where foo is provisioned with default and bar is provisioned with notthedefault.

This is undocumented afaik

how one would have a different provision.nix/sh per host

Not possible right now. Do we want to have a parameter to set the filename?

@elikoga
Copy link
Member

elikoga commented Jan 15, 2024

I don't understand how https://github.com/flyingcircusio/batou_ext/blob/7eac817e43f78edb654554b1a8e67b3c762fc65b/src/batou_ext/fcio.py#L141 fits into this well enough to write a piece of documentation right now so I'll save this one for 2.5

@zagy zagy modified the milestones: batou 2.5, batou 2.6 Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants