feat(services): add --from-ci to core platform modules (router, proxy, db, indexer) #195
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_from_ci_core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1 of hero_demo#54, continuing the pilot from hero_skills#193.
What
Adds
--from-ciand--versionflags to four service nu modules, mirroring the merged pilot pattern inservice_proc.nu(commit3387d28):service_routerlhumina_code/hero_routerlinux-amd64-muslservice_proxylhumina_code/hero_proxylinux-amd64-muslservice_dblhumina_code/hero_dblinux-amd64(default)service_indexerlhumina_code/hero_indexerlinux-amd64-muslDefault cargo build path is unchanged.
--from-cidispatches tosvc_install_from_ci(lib.nu line 520); elsesvc_install.--versiondefaults to"latest"(resolves via Forgejo API) and accepts an explicit tag.--update/--releaseare ignored under--from-ci.Why
Replaces ~10 min of cold cargo-build per service with ~6 s of binary download. Bare-VM-to-working-stack drops from hours to minutes. Tracking on hero_demo#54 (strategic plan).
Smoke test
Verified end-to-end on heroci.gent01.grid.tf (fresh CI-validation VM):
All 10 binaries (1 + 3 + 3 + 3) land in
~/hero/bin/, sized correctly (1.3-11 MB each),hero_router --versionreports0.2.1, server/UI binaries launch and emit init logs.Out of scope (deferred)
service_osis— its currentbuildenv.shaddshero_osis_seed(not present in the latest published releasev1.0.0-rc5), so--from-ciwould 404 until a fresh tag is pushed. Will land as a one-line patch oncehero_osisre-tags.service_install_all --from-ci)Signed-off-by: mik-tf