Skip to content

Commit

Permalink
Merge pull request #902 from Mic92/joerg-ci
Browse files Browse the repository at this point in the history
flake.lock: Update
  • Loading branch information
mergify[bot] authored Sep 18, 2023
2 parents 54cbb12 + df7b60a commit a583357
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion devshell/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
pkgs.python3.pkgs.invoke
];
};
"nixos/eve/modules/buildbot" = { };
"nixos/eva/modules/prometheus" = { };
"openwrt" = { };
"home-manager/modules/neovim" = {
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@

nixos-hardware.url = "github:NixOS/nixos-hardware";

buildbot-nix.url = "github:Mic92/buildbot-nix";
buildbot-nix.url = "github:Mic92/buildbot-nix/cleanups";
buildbot-nix.inputs.nixpkgs.follows = "nixpkgs";
buildbot-nix.inputs.flake-parts.follows = "flake-parts";
buildbot-nix.inputs.treefmt-nix.follows = "treefmt-nix";

home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
7 changes: 2 additions & 5 deletions nixos/eva/modules/prometheus/rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@
annotations.description = "{{$labels.instance}}: gitea instances error rate went up: {{$value}} errors in 5 minutes";
};

Uptime = lib.mkForce {
# too scared to upgrade matchbox
expr = ''system_uptime {host!="matchbox"} > 2592000'';
annotations.description = "Uptime monster: {{$labels.host}} has been up for more than 30 days";
};
# too scared to upgrade matchbox
Uptime.expr = lib.mkForce ''system_uptime {host!="matchbox"} > 2592000'';

PublicRunnerActionOnline = {
expr = ''count(http_busy{name=~"runner.*", status="online"}) < 2'';
Expand Down

0 comments on commit a583357

Please sign in to comment.