mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
nixosTests.cadvisor: handleTest -> runTest
This commit is contained in:
parent
4e792f525e
commit
2e4fac6dfd
|
|
@ -283,7 +283,7 @@ in
|
||||||
buildkite-agents = runTest ./buildkite-agents.nix;
|
buildkite-agents = runTest ./buildkite-agents.nix;
|
||||||
c2fmzq = runTest ./c2fmzq.nix;
|
c2fmzq = runTest ./c2fmzq.nix;
|
||||||
caddy = runTest ./caddy.nix;
|
caddy = runTest ./caddy.nix;
|
||||||
cadvisor = handleTestOn [ "x86_64-linux" ] ./cadvisor.nix { };
|
cadvisor = runTestOn [ "x86_64-linux" ] ./cadvisor.nix;
|
||||||
cage = runTest ./cage.nix;
|
cage = runTest ./cage.nix;
|
||||||
cagebreak = runTest ./cagebreak.nix;
|
cagebreak = runTest ./cagebreak.nix;
|
||||||
calibre-web = runTest ./calibre-web.nix;
|
calibre-web = runTest ./calibre-web.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,14 @@
|
||||||
import ./make-test-python.nix (
|
{ lib, ... }:
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
name = "cadvisor";
|
name = "cadvisor";
|
||||||
meta.maintainers = with lib.maintainers; [ offline ];
|
meta.maintainers = with lib.maintainers; [ offline ];
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
machine =
|
machine = {
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
services.cadvisor.enable = true;
|
services.cadvisor.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
influxdb =
|
influxdb = {
|
||||||
{ lib, ... }:
|
|
||||||
{
|
|
||||||
services.cadvisor.enable = true;
|
services.cadvisor.enable = true;
|
||||||
services.cadvisor.storageDriver = "influxdb";
|
services.cadvisor.storageDriver = "influxdb";
|
||||||
services.influxdb.enable = true;
|
services.influxdb.enable = true;
|
||||||
|
|
@ -36,4 +31,3 @@ import ./make-test-python.nix (
|
||||||
influxdb.succeed("curl -f http://localhost:8080/containers/")
|
influxdb.succeed("curl -f http://localhost:8080/containers/")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue