Wire Forge-native release infrastructure
Some checks failed
Cache: Publish Nix / Publish Nix Cache (push) Waiting to run
Build Rust / Cargo Test (push) Successful in 4m14s
Build Site / Next.js Build (push) Failing after 6s
Infra: OpenTofu / OpenTofu (grafana) (push) Successful in 5s
Lint Governance / BEP Metadata (push) Successful in 0s
Build: Android / Android Rust Core Stub (push) Failing after 23s

This commit is contained in:
Conrad Kramer 2026-06-07 05:51:12 -07:00
parent 97c569fb35
commit 002bd382e9
199 changed files with 14268 additions and 185 deletions

View file

@ -0,0 +1,56 @@
variable "grafana_url" {
description = "Grafana base URL."
type = string
default = "https://graphs.burrow.net"
}
variable "grafana_auth" {
description = "Grafana API token or basic auth in username:password form. Prefer GRAFANA_AUTH in CI."
type = string
default = null
sensitive = true
}
variable "manage_grafana_dashboards" {
description = "Manage Grafana folders and dashboards through the Grafana API."
type = bool
default = false
}
variable "grafana_folders" {
description = "Grafana folders to create before dashboards."
type = map(object({
title = string
uid = optional(string)
}))
default = {
burrow = {
title = "Burrow"
uid = "burrow"
}
}
}
variable "grafana_dashboards" {
description = "Grafana dashboards to manage from checked-in JSON."
type = map(object({
path = string
folder = optional(string)
message = optional(string, "Managed by Burrow OpenTofu")
overwrite = optional(bool, true)
}))
default = {
burrow-overview = {
path = "../../services/grafana/dashboards/burrow-overview.json"
folder = "burrow"
}
burrow-headscale = {
path = "../../services/grafana/dashboards/headscale.json"
folder = "burrow"
}
burrow-observability = {
path = "../../services/grafana/dashboards/observability.json"
folder = "burrow"
}
}
}