mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Fix Nomad job NixNG configuration name mismatch in Hydra
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
247abc7a1b
commit
1e5e4bc061
|
@ -46,7 +46,7 @@ in
|
|||
flake_sha = vars.flake_sha;
|
||||
store_path = builtins.toJSON (builtins.mapAttrs (_: builtins.unsafeDiscardStringContext) {
|
||||
hydra = config'.flake.nixngConfigurations.hydra.config.system.build.toplevel;
|
||||
postgresql = config'.flake.nixngConfigurations.hydraPostgresql.config.system.build.toplevel;
|
||||
postgresql = config'.flake.nixngConfigurations.hydraPostgreSQL.config.system.build.toplevel;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,6 +11,7 @@ variable "store_path" {
|
|||
hydra = string
|
||||
postgresql = string
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
job "hydra" {
|
||||
|
@ -169,7 +170,7 @@ EOF
|
|||
}
|
||||
|
||||
config {
|
||||
nix_flake_ref = "${var.flake_ref}#nixngConfigurations.hydraPostgresql.config.system.build.toplevel"
|
||||
nix_flake_ref = "${var.flake_ref}#nixngConfigurations.hydraPostgreSQL.config.system.build.toplevel"
|
||||
nix_flake_sha = var.flake_sha
|
||||
nix_flake_store_path = var.store_path.postgresql
|
||||
entrypoint = [ "init" ]
|
||||
|
|
Loading…
Reference in a new issue