From 66554fa88dddfe6c03b3ee6d8dbc02a765b0f0d2 Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Mon, 3 Jun 2024 21:04:34 +0530 Subject: [PATCH] chore: run grafana test only on Linux; document that it is broken on Darwin --- doc/grafana.md | 3 +++ test/flake.nix | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/grafana.md b/doc/grafana.md index f49095d6..645c0160 100644 --- a/doc/grafana.md +++ b/doc/grafana.md @@ -1,5 +1,8 @@ # Grafana +>[!warning] ❌ Broken on Darwin +> See here: https://github.com/juspay/services-flake/pull/204#issuecomment-2145497680 + [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. ## Getting Started diff --git a/test/flake.nix b/test/flake.nix index aa9a0cbc..7751253a 100644 --- a/test/flake.nix +++ b/test/flake.nix @@ -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,14 @@ "${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 [ + "${inputs.services-flake}/nix/grafana_test.nix" + ])); }; }; }