chore: run grafana test only on Linux; document that it is broken on Darwin

This commit is contained in:
shivaraj-bh 2024-06-03 21:04:34 +05:30 committed by Shivaraj B H
parent e2b38df3e0
commit 24a7b57527
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,8 @@
# Grafana
[Grafana open source](https://grafana.com/docs/grafana/latest/) is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics, logs, and traces no matter where they are stored. It provides you with tools to turn your time-series database (TSDB) data into insightful graphs and visualizations.
[Grafana open source](https://grafana.com/docs/grafana/latest/)[^broken-on-darwin] is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics, logs, and traces no matter where they are stored. It provides you with tools to turn your time-series database (TSDB) data into insightful graphs and visualizations.
[^broken-on-darwin]: Grafana is broken on Darwin since `11.0.0` (<https://github.com/NixOS/nixpkgs/pull/311701>). Also see the issue to track the fix: <https://github.com/NixOS/nixpkgs/issues/316954>
## Getting Started

View File

@ -32,7 +32,7 @@
];
};
in
builtins.listToAttrs (builtins.map mkPackageFor [
builtins.listToAttrs (builtins.map mkPackageFor ([
"${inputs.services-flake}/nix/apache-kafka_test.nix"
"${inputs.services-flake}/nix/clickhouse/clickhouse_test.nix"
"${inputs.services-flake}/nix/elasticsearch_test.nix"
@ -42,13 +42,15 @@
"${inputs.services-flake}/nix/redis_test.nix"
"${inputs.services-flake}/nix/redis-cluster_test.nix"
"${inputs.services-flake}/nix/zookeeper_test.nix"
"${inputs.services-flake}/nix/grafana_test.nix"
"${inputs.services-flake}/nix/prometheus_test.nix"
"${inputs.services-flake}/nix/pgadmin_test.nix"
"${inputs.services-flake}/nix/cassandra_test.nix"
"${inputs.services-flake}/nix/tempo_test.nix"
"${inputs.services-flake}/nix/weaviate_test.nix"
]);
] ++ lib.optionals pkgs.stdenv.isLinux [
# Broken on Darwin: https://github.com/NixOS/nixpkgs/issues/316954
"${inputs.services-flake}/nix/grafana_test.nix"
]));
};
};
}