feat(service-catalog): add representative media-service workload lane (closes #59)#194
Open
clubanderson wants to merge 1 commit into
Open
Conversation
…projectbluefin#59) Defines the first media-service validation lane under the service-catalog epic (projectbluefin#51). Implements the base in-cluster contract for a Plex/Jellyfin/linuxserver.io-style workload without GPU transcoding or RWX storage (those are split into projectbluefin#63 and projectbluefin#62 respectively). ## New files ### tests/service_catalog/media/test_media_service.py pytest test class covering all acceptance criteria: - Deployment becomes ready and pod reaches Running state - ClusterIP service has endpoints on port 8096 - Config PVC (1Gi) and media-data PVC (10Gi) bind on local-path, mounts are writable, state survives rollout restart - Port 8096 reachable in-cluster (TCP connect via wget from pod) - Cluster DNS resolves service FQDN - PUID / PGID / TZ env vars injected and present in container env - Storage observability artifacts (df, findmnt, stat) for both mounts - GPU transcoding explicitly skipped → projectbluefin#63 - RWX shared-media mount explicitly skipped → projectbluefin#62 ### argo/workflow-templates/homelab-media-service.yaml WorkflowTemplate (ArgoCD-managed): - create-namespace → deploy-fixture → run-tests DAG - deploy-fixture: two PVCs (homelab-media-config 1Gi, homelab-media-data 10Gi), Deployment with PUID/PGID/TZ env + dual PVC mounts on port 8096, ClusterIP Service - cleanup onExit handler deletes namespace and waits for termination ### argo/homelab-media-service.yaml Workflow submit trigger referencing the WorkflowTemplate. ## Updated files ### docs/homelab-contracts.md - Adds media-service row to the workload matrix table - Adds media-service minimum persistence contract - Removes the 'Media service lane: deferred' gap note - Adds §7 Media-Service Workload Lane with full behavior table, out-of-scope table, dependency list, and fixture image note - Updates §6 known-blockers table: projectbluefin#59 → implemented Closes projectbluefin#59 Depends on projectbluefin#52, projectbluefin#53, projectbluefin#54 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
6 tasks
hanthor
reviewed
Jun 16, 2026
hanthor
approved these changes
Jul 1, 2026
hanthor
left a comment
Member
There was a problem hiding this comment.
Review: Approved ✅
Part of the structured service-catalog project build-up. Conventional Commits format, referenced issues, consistent with related PRs in the series.
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
Implements the first representative media-service validation lane under the service-catalog epic (#51). This PR closes #59 and makes the homelab service-catalog concrete rather than abstract.
Acceptance criteria check
New files
tests/service_catalog/media/test_media_service.py12 test methods in
TestMediaServiceLane:pytest.skip→ #63; RWX →pytest.skip→ #62argo/workflow-templates/homelab-media-service.yamlArgoCD-managed WorkflowTemplate (same DAG pattern as
homelab-substrate,homelab-storage):homelab-media-config1Gi PVC +homelab-media-data10Gi PVC, Deployment with PUID/PGID/TZ env and dual mounts, ClusterIP Service on port 8096argo/homelab-media-service.yamlWorkflow submit trigger (mirrors
homelab-substrate.yamlpattern).Updated files
docs/homelab-contracts.mdDependencies