feat: volume-based catalog refresh with hot-reload
Some checks failed
Build and Deploy iLSP / test (push) Successful in 18s
Build and Deploy iLSP / build-and-deploy (push) Failing after 12m14s

- modules.py: check /data/ volume first, then baked-in /bicep_modules_catalog.json
- server.py: add POST /reload endpoint — reloads catalogs without restart
- ilsp.nomad: add 'ilsp-data' host volume mounted at /data
- Makefile: add push-catalogs, health-prod, run-with-data targets; DEVOPS_MCP_REPO var
- scripts/push_catalogs.sh: SCP both catalogs to autobox + call /reload

Workflow: sync scripts on Mac → make push-catalogs → completions live in <5s
This commit is contained in:
Henrik Jess Nielsen
2026-05-10 13:51:01 +02:00
parent 6b38cbd70c
commit 0527df717c
5 changed files with 112 additions and 6 deletions

View File

@@ -62,6 +62,12 @@ job "ilsp" {
unlimited = false
}
volume "ilsp-data" {
type = "host"
source = "ilsp-data"
read_only = false
}
# Health check only — Traefik not used for LSP TCP traffic
service {
provider = "consul"
@@ -127,6 +133,12 @@ EOH
memory = 1536 # MB — dotnet needs headroom
memory_max = 2560 # MB burst
}
volume_mount {
volume = "ilsp-data"
destination = "/data"
read_only = false
}
}
}
}