feat: enhance EvoBGP with new command-line options for the evobgp-agent, including a watch command for periodic configuration updates. Update go.mod with additional dependencies and improve Docker Compose setup for new services, including NATS and various worker components.
CI / changes (push) Successful in 5s
CI / go (push) Successful in 1m40s
CI / openapi (push) Has been skipped
CI / bird2 (push) Successful in 17s

This commit is contained in:
Denozordec
2026-04-05 17:03:21 +07:00
parent bf52b21150
commit 6a55f72ab3
35 changed files with 4609 additions and 193 deletions
@@ -0,0 +1,3 @@
ALTER TABLE bgp_speaker
DROP COLUMN IF EXISTS published_at,
DROP COLUMN IF EXISTS published_revision_id;
@@ -0,0 +1,5 @@
-- Published revision pointer for evobgp-node (plan §7.11, §10).
ALTER TABLE bgp_speaker
ADD COLUMN IF NOT EXISTS published_revision_id UUID REFERENCES config_revision (id) ON DELETE SET NULL,
ADD COLUMN IF NOT EXISTS published_at TIMESTAMPTZ;
@@ -0,0 +1,2 @@
-- SQLite cannot DROP COLUMN easily in older versions; no-op for dev rollback.
SELECT 1;
@@ -0,0 +1,5 @@
-- SQLite: add columns (IF NOT EXISTS per column not supported — use new table copy if needed).
-- pragma: skip if columns exist — simplest: ALTER TABLE ADD COLUMN (SQLite allows multiple ADD).
ALTER TABLE bgp_speaker ADD COLUMN published_revision_id TEXT REFERENCES config_revision (id) ON DELETE SET NULL;
ALTER TABLE bgp_speaker ADD COLUMN published_at TEXT;