Commit Graph
13 Commits
Author SHA1 Message Date
TapTap 0ac226b011 ci: publish charts to TapTap/Charts
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 2s
CI / test (push) Successful in 1m38s
CI / image (push) Successful in 3m4s
Replace the OCI chart push with a classic Helm repository in the public
TapTap/Charts repository. CI packages the chart, regenerates index.yaml and
pushes both to main, so `helm repo add` and Kustomize helmCharts work.

The publisher authenticates with the AUDIOMANAGER_CHARTS_TOKEN secret and
supports an explicit VERSION for local releases.
2026-11-14 10:03:44 +00:00
TapTap 9711aca67a chart: rename the Helm chart to audiomanager
CI / test (push) Successful in 1m38s
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 2s
CI / image (push) Successful in 3m0s
Use the product and image name for the chart, release, namespace, secrets,
container and rendered file paths. The application package and local config
paths keep their existing names.

Bump the chart to 0.1.2 so the new chart name and paths are a distinct
release. CI now publishes oci://gitea.tap-tap.win/taptap/charts/audiomanager.
2026-11-14 09:29:47 +00:00
TapTap 76bccaefea ci: package and push the Helm chart to the OCI registry
CI / test (push) Successful in 1m42s
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 3s
CI / image (push) Successful in 3m4s
Add a chart-push job that runs after the chart lint on every push and
publishes the packaged chart to oci://gitea.tap-tap.win/taptap/charts.

Main builds use <chart version>-sha.<commit> so parallel commits do not
overwrite each other; v* tags use the tag version. The shared
scripts/push-chart.sh also supports explicit VERSION and local use.
2026-11-14 09:21:46 +00:00
TapTap 96d704f192 ci: check out the image job with plain git
CI / test (push) Successful in 1m38s
CI / chart (push) Successful in 3s
CI / image (push) Successful in 4m38s
Kaniko unpacks the final stage over /, so tools from the CI image (node in
particular) are gone after the build. The checkout action's post step then
fails with exit code 127 even though the image was pushed successfully.

Use a plain git fetch/checkout in the image job, which has no JavaScript action
and therefore no post step.
2026-11-13 15:58:11 +00:00
TapTap a6cc46b747 ci: restore image publishing with a persistent Docker config
CI / test (push) Successful in 1m38s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 3m29s
A multi-stage kaniko build replaces / with the last stage's root filesystem,
which deletes $HOME/.docker/config.json. Kaniko then resolves credentials at
push time without them, asks the registry for an anonymous token and Gitea
rejects the upload with 401 reqPackageAccess.

Keep the Docker credential store in /kaniko/.docker for the whole image job via
DOCKER_CONFIG and let docker login write there directly. Restore the image job
and document that CI publishes images again.
2026-11-13 15:51:01 +00:00
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 9eed647df0 ci: use a dedicated registry token secret
CI / test (push) Successful in 1m37s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 3m5s
Gitea may reuse the secret snapshot of a rerun; a fresh run with a
distinct secret name avoids stale credentials.
2026-11-13 14:24:45 +00:00
TapTap 726d749580 ci: use the dedicated registry token only
CI / test (push) Successful in 1m35s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 3m2s
2026-11-13 14:10:40 +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 d812e7644f ci: run smoke in the test job and allow slower wrapper downloads
CI / chart (push) Canceled after 0s
CI / image (push) Canceled after 0s
CI / test (push) Canceled after 12m3s
2026-11-13 13:18:24 +00:00
TapTap e94fdd4f63 ci: give the image job access to the runner Docker socket
CI / smoke (push) Canceled after 0s
CI / chart (push) Canceled after 0s
CI / image (push) Canceled after 0s
CI / test (push) Canceled after 9m9s
2026-11-13 13:13:59 +00:00
TapTap 25331ec0e1 feat: add Docker image, Helm chart and Gitea CI
CI / test (push) Successful in 3m35s
CI / smoke (push) Successful in 3m11s
CI / chart (push) Successful in 14s
CI / image (push) Failing after 5s
- multi-stage Dockerfile with ffmpeg on Alpine JRE 21
- Helm chart for k3s: library ConfigMap, Vault users secret, data PVC,
  read-only hostPath media, ingress, probes and security context
- Gitea Actions runs tests, smoke test and chart lint, then builds and
  pushes the image on main and version tags
2026-11-13 12:56:30 +00:00