forked from CertainLach/jrsonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtk-compare-grafana.toml
More file actions
34 lines (31 loc) · 972 Bytes
/
tk-compare-grafana.toml
File metadata and controls
34 lines (31 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Configuration for comparing Grafana Tanka (tk) with rustanka (rtk)
#
# Usage:
# cargo run -p tk-compare --release -- tk-compare-grafana.toml
#
# Environment variables:
# TK_PATH - Path to tk executable (optional; default: tk)
# RTK_PATH - Path to rtk executable (optional; default: rtk)
[[tests]]
name = "golden eval"
working_dir = "{{testcase}}"
workspace = true
fixtures_dir = "test_fixtures/golden_envs"
args = ["eval", "."]
compare = ["{{tk-compare}}", "compare", "json"]
[[tests]]
name = "golden export"
working_dir = "{{testcase}}"
workspace = true
fixtures_dir = "test_fixtures/golden_envs"
args = ["export", "{{destination}}", "."]
compare = ["{{tk-compare}}", "compare", "directory"]
[[tests]]
name = "diff"
working_dir = "."
workspace = false
fixtures_dir = "cmds/rtk/tests/testdata/diff"
fixture_name_prefix = "diff"
fixture_cluster_dir = "cluster"
args = ["diff", "{{testcase}}/environment"]
compare = ["{{tk-compare}}", "compare", "unified-diff"]