Changes for .changelog/20261013_2040_helm-chart-harbor-publishing.md: 31 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
# Publish the Helm chart to Harbor (OCI) from GitLab CI
**Date:** 2026-10-13
## Summary
New `.gitlab-ci.yml`:
-**Every push:** lints the chart.
-**Git tag `vX.Y.Z`:** packages the chart as version `X.Y.Z` and pushes it as an OCI artifact to `oci://${HARBOR_REGISTRY}/${HARBOR_PROJECT}/chronos`, i.e. `harbor.intranet.pnet/osl-staging/chronos:X.Y.Z`, next to the Chronos images.
## Details
-**Jobs** (both use the `alpine/helm:3.16.4` image):
-`lint`: `helm lint`, `helm lint --strict` with the example overlay, and two `helm template` renders (example overlay; external MySQL).
-`publish`: tag pipelines only. The chart version comes from the tag with any leading `v` stripped, so `Chart.yaml` cannot drift from the release. A non-SemVer tag fails `helm package`.
-**Credentials:** the group-level variables `HARBOR_REGISTRY`, `HARBOR_PROJECT`, `HARBOR_ROBOT_USER` and `HARBOR_ROBOT_TOKEN`, the same as the image pipelines.
- The registry auth file is written by hand, like the Kaniko jobs do (`HELM_REGISTRY_CONFIG`). This avoids `helm registry login` against the plain-HTTP Harbor.
- The push uses `--plain-http`.
-**Project setting needed:** protect the `v*` tag pattern, because the robot variables are Protected.
-**README:**
- New "From Harbor" install section (`helm show values` / `helm install oci://… --plain-http`).
- New "Releasing" section.
- Prerequisites now say Helm 3.13+, needed for `--plain-http`.
-**`.gitignore`:**`dist/` and `.helm-registry.json`.
Changes for .changelog/index.md: 1 added line, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -3,3 +3,4 @@
| Date | Change | Description |
|---|---|---|
| 2026-10-13 | [Chronos Helm chart (backend + UI)](20261013_0010_chronos-helm-chart.md) | Standalone chart `helm/chronos`. It reuses OpenSlice's Artemis and Keycloak, bundles MySQL 8.4 or uses an external server, serves the UI at `/chronos` and the API at `/chronos-api` on the OpenSlice host, and has an optional Keycloak bootstrap Job. Lint and template matrix pass; not yet installed on a cluster |
| 2026-10-13 | [Publish the Helm chart to Harbor (OCI)](20261013_2040_helm-chart-harbor-publishing.md) | New `.gitlab-ci.yml`: lints the chart on every push; a tag `vX.Y.Z` packages chart `X.Y.Z` and runs `helm push --plain-http` to `oci://harbor.intranet.pnet/osl-staging/chronos` using the group HARBOR_* variables. README gains install-from-Harbor and Releasing sections. CI steps verified locally; pipeline not yet run |