forked from mirrors/nixpkgs
nixos/tests/prometheus: increase memorySize
Apparently, our NixOS tests need more RAM now. This was needed for e.g.
the `gitea`-test as well[1].
[1] affb72eccd
This commit is contained in:
parent
09067f8176
commit
39ebc637a1
|
@ -36,6 +36,7 @@ in import ./make-test-python.nix {
|
||||||
nodes = {
|
nodes = {
|
||||||
prometheus = { pkgs, ... }: {
|
prometheus = { pkgs, ... }: {
|
||||||
virtualisation.diskSize = 2 * 1024;
|
virtualisation.diskSize = 2 * 1024;
|
||||||
|
virtualisation.memorySize = 2048;
|
||||||
environment.systemPackages = [ pkgs.jq ];
|
environment.systemPackages = [ pkgs.jq ];
|
||||||
networking.firewall.allowedTCPPorts = [ grpcPort ];
|
networking.firewall.allowedTCPPorts = [ grpcPort ];
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
|
@ -132,6 +133,7 @@ in import ./make-test-python.nix {
|
||||||
|
|
||||||
store = { pkgs, ... }: {
|
store = { pkgs, ... }: {
|
||||||
virtualisation.diskSize = 2 * 1024;
|
virtualisation.diskSize = 2 * 1024;
|
||||||
|
virtualisation.memorySize = 2048;
|
||||||
environment.systemPackages = with pkgs; [ jq thanos ];
|
environment.systemPackages = with pkgs; [ jq thanos ];
|
||||||
services.thanos.store = {
|
services.thanos.store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue