Commit Graph
7 Commits
Author SHA1 Message Date
TapTap 60e8dadce6 ci: keep tests in CI and move image pushes to a local release script
CI / test (push) Successful in 1m36s
CI / chart (push) Successful in 3s
The Gitea registry rejects kaniko pushes from job containers with
401 reqPackageAccess even though the same credentials work from a normal
machine, so the image job could never go green.

Drop the image job; CI now only runs unit tests, the smoke test and the
Helm chart lint. Add scripts/release.sh, which builds and pushes the
image from a trusted machine and can optionally apply the users secret
and run helm upgrade.
2026-11-13 14:28:48 +00:00
TapTap a0434d974f ci: build images with kaniko inside the job image
CI / test (push) Successful in 1m37s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 2m42s
The runner does not expose its Docker socket to job containers, so the
image job could not run docker build. Include the kaniko executor in the
CI image and build/push directly from the job; docker login only writes
the registry credentials file.

Bump the CI image tag to 2.
2026-11-13 13:52:49 +00:00
TapTap 4c6f1c8fe8 ci: use a prebuilt image with every pipeline dependency
CI / test (push) Successful in 1m52s
CI / chart (push) Successful in 3s
CI / image (push) Failing after 2s
Add ci/Dockerfile (JDK 21, Gradle 8.14.3, ffmpeg, sqlite3, node,
docker CLI and Helm) and build it as taptap/audiomanager-ci. Workflows
now start from that image instead of downloading a JDK and installing
packages on every run.

The registry namespace is the lowercased package owner `taptap`, not
`tap-tap`; update the chart, workflow and documentation accordingly.
The image build uses plain docker build/push, since the job container
starts with no buildx plugin.
2026-11-13 13:37:15 +00:00
TapTap 7d98bc1d3a fix: use a glibc base image for sqlite-jdbc
CI / test (push) Successful in 2m34s
CI / smoke (push) Failing after 1m13s
CI / chart (push) Successful in 14s
CI / image (push) Skipped
Alpine/musl cannot load sqlite-jdbc's bundled native library, so the
container failed at startup. Switch the runtime image to
eclipse-temurin:21-jre-jammy and verify the image end-to-end, including
transcoding, against a read-only root filesystem.

The smoke fixture now uses a 192 kbps source so the maxBitRate check
actually proves transcoding instead of direct play.
2026-11-13 13:12:13 +00:00
TapTap 18a1d7cd19 feat: transcode streams with ffmpeg
- FfmpegTranscoder with maxBitRate, format fallback to MP3 and timeOffset
- direct play when no transcode is required, preserving HTTP Range support
- transcoded responses are chunked audio/mpeg with process cleanup
- unit tests for policy and real ffmpeg output
- smoke test covers maxBitRate, timeOffset and format fallback
2026-11-13 12:53:06 +00:00
TapTap 1571ec65ff fix: accept POST form posts on every Subsonic endpoint
Clients that use the formPost extension (Feishin, Symfonium) send requests
as application/x-www-form-urlencoded POSTs, not only GET. Register both
methods for every route and cover it in the smoke test.
2026-11-13 12:42:43 +00:00
TapTap 4d313a2846 feat: add client compatibility endpoints and a smoke test script
- getMusicDirectory for folder/album browsing
- server-side play queues with savePlayQueue/getPlayQueue and index variants
- jukebox status and internet radio compatibility responses
- scripts/smoke.sh generates a tagged MP3 library, runs the server and
  verifies all endpoints clients use, including Range, download and covers
2026-11-13 12:40:00 +00:00