feat(platform): add deploy-platform adoption files#12
Merged
Conversation
Add platform/deployment.yml (v2 contract: two workloads, knowledge-ingest-worker declared stateful with pre-deploy-job migration policy), platform/images.lock.json (stub digests, filled by publish.yml on release), .github/workflows/publish.yml (dual-image publish: knowledge-api + knowledge-ingest-worker), and PLATFORM.md. The publish.yml register-service step preserves pvcDecisions and migrationJobDecisions from the pre-committed registry entry in homelab-deploy (update path only bumps artifact). Part of knowledge-onboarding-plan.md platform adoption (agent-doable step preparation).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
platform/deployment.yml: removes stale migration hook machinery fromknowledge-ingest-worker. Vault migration (knowledge-vault-migrate-2026-05-18) is complete and decommissioned per owner decision 2026-07-12.migrationPolicy.strategychanged frompre-deploy-jobtonone;requiredset tofalse. The field is still required by the schema wheneverstateful: true.PLATFORM.md: stateful workload notes updated to reflect the decommissioned migration job andstrategy: none.platform/images.lock.json: stub digests (zeros);publish.ymlfills real digests on every tag release..github/workflows/publish.yml: dual-image tag-triggered publish flow. Buildsknowledge-apiandknowledge-ingest-workerin parallel, resolves both digests intoplatform/images.lock.json, renders and publishes the deploy artifact, then opens/refreshes the registry PR inhomelab-deploy. On update, onlyspec.artifactis bumped;pvcDecisionsin the pre-committed registry entry are preserved.Merge gate
CI green. Ready to merge. Merging this triggers a release-please PR; merging that tag-triggers
publish.yml, which opens the registry update PR in homelab-deploy.Context
Owner decision 2026-07-12 (DECISIONS.md): vault migration is complete;
knowledge-vault-migrate-2026-05-18hook job is decommissioned. Removes stalepre-deploy-jobreferences. homelab-deploy PR #68 (stub registry entry withpvcDecisions) will be closed in favor of the automated register-service PR once a real artifact digest is published.