feat(billing): implement tenant subscription entitlements system (milestones 0-6)
This commit is contained in:
@@ -8,6 +8,20 @@ fn repo_root() -> PathBuf {
|
||||
.to_path_buf()
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn loki_and_tempo_s3_config_variants_are_syntactically_valid() {
|
||||
let root = repo_root();
|
||||
|
||||
for file in [
|
||||
root.join("observability/loki/config.s3.yml"),
|
||||
root.join("observability/tempo/config.s3.yml"),
|
||||
] {
|
||||
let raw = fs::read_to_string(&file).unwrap_or_else(|e| panic!("{file:?}: {e}"));
|
||||
let _: serde_yaml::Value =
|
||||
serde_yaml::from_str(&raw).unwrap_or_else(|e| panic!("{file:?}: {e}"));
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn grafana_provisioning_files_are_syntactically_valid() {
|
||||
let root = repo_root();
|
||||
|
||||
Reference in New Issue
Block a user