tf/hydra: add a project/jobset for infra machine configurations

This commit is contained in:
Pierre Bourdon 2024-07-10 18:52:43 +02:00
parent d2336262fb
commit 087d17c681
Signed by untrusted user: delroth
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -111,5 +111,32 @@ in
}
];
};
resource.hydra_project.infra = {
name = "infra";
display_name = "ForkOS Infra";
description = "ForkOS infra repository";
homepage = "https://git.lix.system/the-distro/infra";
owner = "terraform";
enabled = true;
visible = true;
};
resource.hydra_jobset.infra_main = {
project = config.resource.hydra_project.infra.name;
state = "enabled";
visible = true;
name = "main";
type = "flake";
description = "main branch for the infra repo";
flake_uri = "git+https://git.lix.systems/the-distro/infra";
check_interval = 600;
scheduling_shares = 3000;
keep_evaluations = 5;
email_notifications = false;
};
};
}