84f9158e9b
Hard switch of the docker push target from the Gitea registry to the artifactapi local docker registry (docker-internal); the Gitea VM and its registry are being retired. Drops the droneci/DRONECI_PASSWORD creds since artifactapi accepts unauthenticated in-cluster pushes. Also repoints the Makefile IMAGE and README image paths. Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv
42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# jellyfin-ha (container build)
|
|
|
|
Build-orchestration repo for [ZoltyMat/jellyfin-ha](https://github.com/ZoltyMat/jellyfin-ha) — a Jellyfin fork
|
|
that adds distributed, Redis-backed transcoding for multi-pod Kubernetes (lease-aware cleanup, HA session
|
|
takeover, optional PostgreSQL).
|
|
|
|
This repo does **not** vendor the fork's source. It pins an upstream commit, builds the .NET 10 server, and
|
|
produces a runtime container image pushed to the Gitea registry.
|
|
|
|
## What it produces
|
|
|
|
`artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha:<tag>` — an `mcr.microsoft.com/dotnet/aspnet:10.0` based image with ffmpeg and
|
|
the prebuilt `jellyfin-web` client, running the published `jellyfin-ha` server.
|
|
|
|
## Layout
|
|
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `UPSTREAM_REF` | Pinned upstream commit SHA. Bumping the fork = edit this + cut a release. |
|
|
| `Dockerfile.runtime` | Runtime-only image; `COPY`s the CI-produced `publish-output/` and the web client. |
|
|
| `Makefile` | Local `make publish` / `make build`; `make patch\|minor\|major` to tag + push a release. |
|
|
| `.woodpecker/build.yaml` | PR pipeline: `dotnet publish` + docker `dry_run`. |
|
|
| `.woodpecker/docker.yaml` | Tag (`v*`) pipeline: `dotnet publish` + build & push to the Gitea registry. |
|
|
|
|
## Releasing
|
|
|
|
1. To track a newer upstream, update `UPSTREAM_REF` to the desired commit SHA and merge via PR.
|
|
2. Cut a release: `make patch` (or `minor` / `major`) tags `vX.Y.Z` and pushes it, which triggers
|
|
`.woodpecker/docker.yaml` to build and push `artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha:vX.Y.Z` + `:latest`.
|
|
|
|
## Local build
|
|
|
|
```bash
|
|
make build # clones pinned upstream, dotnet publish, docker build
|
|
```
|
|
|
|
Requires the .NET 10 SDK and Docker. `make publish` runs just the clone + publish into `./publish-output`.
|
|
|
|
## Deployment
|
|
|
|
Deployed to Kubernetes via ArgoCD — see `argocd-apps` (`apps/base/jellyfin`, `media` ApplicationSet/project).
|