mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +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;
|
flake_sha = vars.flake_sha;
|
||||||
store_path = builtins.toJSON (builtins.mapAttrs (_: builtins.unsafeDiscardStringContext) {
|
store_path = builtins.toJSON (builtins.mapAttrs (_: builtins.unsafeDiscardStringContext) {
|
||||||
hydra = config'.flake.nixngConfigurations.hydra.config.system.build.toplevel;
|
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
|
hydra = string
|
||||||
postgresql = string
|
postgresql = string
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
job "hydra" {
|
job "hydra" {
|
||||||
|
@ -169,7 +170,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
config {
|
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_sha = var.flake_sha
|
||||||
nix_flake_store_path = var.store_path.postgresql
|
nix_flake_store_path = var.store_path.postgresql
|
||||||
entrypoint = [ "init" ]
|
entrypoint = [ "init" ]
|
||||||
|
|
Loading…
Reference in a new issue