Compare commits

...
Author SHA1 Message Date
CSRBot 5350418c42 chore(deps): update docker.io/thegeeklab/git-sv docker tag to v3
Bash / shellcheck (pull_request) Successful in 15s
Helm / helm-unittest (push) Failing after 28s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Failing after 21s
Markdown linter / markdown-link-checker (push) Successful in 37s
Markdown linter / markdown-lint (push) Successful in 35s
Bash / bash-unittest (push) Failing after 16s
Bash / shellcheck (push) Successful in 34s
Bash / bash-unittest (pull_request) Failing after 21s
Helm / helm-lint (push) Successful in 18s
2026-12-05 23:21:07 +00:00
CSRBot e6744cac47 Merge pull request 'chore(deps): update ghcr.io/cloudnative-pg/postgresql docker tag to v18.6' (#80) from renovate/ghcr.io-cloudnative-pg-postgresql-18.x into main
Helm / helm-unittest (push) Failing after 26s
Bash / bash-unittest (push) Failing after 18s
Markdown linter / markdown-lint (push) Successful in 35s
Markdown linter / markdown-link-checker (push) Successful in 1m10s
changelog / changelog (push) Successful in 25s
Bash / shellcheck (push) Successful in 12s
Helm / helm-lint (push) Successful in 12s
2026-12-05 20:15:18 +00:00
CSRBot 05d82d07c2 chore(deps): update ghcr.io/cloudnative-pg/postgresql docker tag to v18.6
Bash / bash-unittest (push) Failing after 14s
Bash / shellcheck (pull_request) Successful in 9s
Helm / helm-unittest (push) Failing after 25s
Markdown linter / markdown-lint (push) Successful in 1m18s
Markdown linter / markdown-link-checker (push) Successful in 1m24s
Commit Linter / check-and-test (pull_request) Successful in 15s
Helm / helm-lint (pull_request) Successful in 17s
Helm / helm-unittest (pull_request) Failing after 25s
Markdown linter / markdown-lint (pull_request) Successful in 31s
Bash / bash-unittest (pull_request) Failing after 16s
Bash / shellcheck (push) Successful in 27s
Markdown linter / markdown-link-checker (pull_request) Successful in 1m4s
Helm / helm-lint (push) Successful in 14s
2026-12-05 20:14:45 +00:00
CSRBot d7d1351483 Merge pull request 'chore(deps): update docker/login-action action to v4.8.0' (#79) from renovate/docker-login-action-4.x into main
Bash / bash-unittest (push) Failing after 28s
changelog / changelog (push) Successful in 25s
Helm / helm-unittest (push) Successful in 42s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 12s
2026-12-05 20:11:04 +00:00
CSRBot ba405c2435 Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.14.0' (#78) from renovate/docker.io-library-node-26.x into main
Bash / bash-unittest (push) Failing after 27s
changelog / changelog (push) Successful in 41s
Helm / helm-unittest (push) Successful in 25s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 7s
2026-12-05 20:10:31 +00:00
CSRBot 01653574d9 chore(deps): update docker/login-action action to v4.8.0
Bash / bash-unittest (push) Successful in 24s
Bash / shellcheck (pull_request) Successful in 9s
Helm / helm-unittest (push) Successful in 27s
Commit Linter / check-and-test (pull_request) Successful in 16s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 24s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 12s
Bash / bash-unittest (pull_request) Successful in 36s
2026-12-05 20:10:29 +00:00
CSRBot 72c7262823 Merge pull request 'chore(deps): update docker.io/commitlint/commitlint docker tag to v21.3.0' (#77) from renovate/docker.io-commitlint-commitlint-21.x into main
changelog / changelog (push) Successful in 30s
Bash / bash-unittest (push) Failing after 26s
Helm / helm-unittest (push) Successful in 27s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 9s
2026-12-05 20:09:43 +00:00
CSRBot 04471f93bc chore(deps): update docker.io/library/node docker tag to v26.14.0
Bash / bash-unittest (push) Successful in 18s
Helm / helm-unittest (push) Successful in 23s
Bash / shellcheck (pull_request) Successful in 28s
Helm / helm-unittest (pull_request) Successful in 39s
Commit Linter / check-and-test (pull_request) Successful in 9s
Helm / helm-lint (pull_request) Successful in 15s
Helm / helm-lint (push) Successful in 7s
Bash / shellcheck (push) Successful in 6s
Bash / bash-unittest (pull_request) Successful in 22s
2026-12-05 20:09:42 +00:00
CSRBot ba231145ab Merge pull request 'chore(deps): update dependency python to 3.15' (#76) from renovate/python-3.x into main
Bash / bash-unittest (push) Failing after 26s
changelog / changelog (push) Successful in 21s
Helm / helm-unittest (push) Successful in 23s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 6s
2026-12-05 20:09:15 +00:00
CSRBot d5e39febb9 chore(deps): update docker.io/commitlint/commitlint docker tag to v21.3.0
Bash / bash-unittest (push) Successful in 28s
Helm / helm-unittest (push) Successful in 22s
Bash / shellcheck (pull_request) Successful in 8s
Helm / helm-unittest (pull_request) Successful in 26s
Commit Linter / check-and-test (pull_request) Successful in 1m6s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 17s
Bash / bash-unittest (pull_request) Successful in 37s
Helm / helm-lint (pull_request) Successful in 7s
2026-12-05 20:09:15 +00:00
CSRBot 49d06f5a83 chore(deps): update dependency python to 3.15
Bash / bash-unittest (push) Successful in 21s
Helm / helm-unittest (push) Successful in 22s
Bash / shellcheck (pull_request) Successful in 7s
Commit Linter / check-and-test (pull_request) Successful in 7s
Helm / helm-lint (pull_request) Successful in 10s
Helm / helm-unittest (pull_request) Successful in 36s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 15s
Bash / bash-unittest (pull_request) Successful in 35s
2026-12-05 20:08:54 +00:00
CSRBot 4079d33118 Merge pull request 'chore(deps): update azure/setup-helm action to v5.1.0' (#74) from renovate/azure-setup-helm-5.x into main
Bash / bash-unittest (push) Failing after 19s
changelog / changelog (push) Successful in 23s
Helm / helm-unittest (push) Successful in 25s
Bash / shellcheck (push) Successful in 28s
Helm / helm-lint (push) Successful in 7s
2026-12-05 20:08:34 +00:00
CSRBot bc24ea57f7 Merge pull request 'chore(deps): update dependency sigstore/cosign to v3.1.6' (#73) from renovate/sigstore-cosign-3.x into main
Bash / bash-unittest (push) Failing after 17s
changelog / changelog (push) Successful in 29s
Helm / helm-unittest (push) Successful in 26s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 8s
2026-12-05 20:08:06 +00:00
CSRBot b852334be1 chore(deps): update azure/setup-helm action to v5.1.0
Bash / bash-unittest (push) Successful in 36s
Helm / helm-unittest (push) Successful in 29s
Bash / shellcheck (pull_request) Successful in 28s
Commit Linter / check-and-test (pull_request) Successful in 17s
Helm / helm-unittest (pull_request) Successful in 44s
Helm / helm-lint (pull_request) Successful in 8s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 15s
Bash / bash-unittest (pull_request) Successful in 18s
2026-12-05 20:08:05 +00:00
CSRBot 6777911039 Merge pull request 'chore(deps): update dependency losisin/helm-values-schema-json to v2.6.1' (#72) from renovate/losisin-helm-values-schema-json-2.x into main
Bash / bash-unittest (push) Failing after 12s
changelog / changelog (push) Successful in 30s
Helm / helm-unittest (push) Successful in 27s
Bash / shellcheck (push) Successful in 26s
Helm / helm-lint (push) Successful in 12s
2026-12-05 20:07:54 +00:00
CSRBot 86468f0845 chore(deps): update dependency sigstore/cosign to v3.1.6
Bash / bash-unittest (push) Successful in 21s
Helm / helm-unittest (push) Successful in 26s
Bash / shellcheck (pull_request) Successful in 9s
Commit Linter / check-and-test (pull_request) Successful in 8s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 24s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 7s
Bash / bash-unittest (pull_request) Successful in 46s
2026-12-05 20:07:54 +00:00
CSRBot d28e732311 chore(deps): update dependency losisin/helm-values-schema-json to v2.6.1
Helm / helm-unittest (push) Successful in 23s
Bash / shellcheck (pull_request) Successful in 8s
Commit Linter / check-and-test (pull_request) Successful in 8s
Helm / helm-unittest (pull_request) Successful in 39s
Bash / bash-unittest (push) Successful in 24s
Helm / helm-lint (push) Successful in 9s
Bash / shellcheck (push) Successful in 28s
Bash / bash-unittest (pull_request) Successful in 35s
Helm / helm-lint (pull_request) Successful in 11s
2026-12-05 20:07:45 +00:00
CSRBot 10a132eb69 Merge pull request 'chore(deps): update dependency helm to v4.3.2' (#70) from renovate/helm-4.x into main
Bash / bash-unittest (push) Failing after 13s
changelog / changelog (push) Successful in 28s
Helm / helm-unittest (push) Successful in 43s
Bash / shellcheck (push) Successful in 10s
Helm / helm-lint (push) Successful in 13s
2026-12-05 20:07:40 +00:00
CSRBot 85ca13f745 Merge pull request 'chore(deps): update volker-raschek/ah-annotations digest to 00c8d25' (#69) from renovate/volker-raschek-ah-annotations-digest into main
Bash / bash-unittest (push) Failing after 34s
changelog / changelog (push) Successful in 25s
Helm / helm-unittest (push) Successful in 25s
Bash / shellcheck (push) Successful in 10s
Helm / helm-lint (push) Successful in 7s
2026-12-05 20:07:27 +00:00
CSRBot 0ebc3f7052 chore(deps): update dependency helm to v4.3.2
Bash / bash-unittest (push) Successful in 29s
Helm / helm-unittest (push) Successful in 28s
Bash / shellcheck (pull_request) Successful in 9s
Commit Linter / check-and-test (pull_request) Successful in 16s
Helm / helm-lint (pull_request) Successful in 16s
Helm / helm-unittest (pull_request) Successful in 23s
Bash / shellcheck (push) Successful in 32s
Helm / helm-lint (push) Successful in 17s
Bash / bash-unittest (pull_request) Successful in 36s
2026-12-05 20:07:27 +00:00
CSRBot ba5f4a0cdf Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-support digest to 787ac47' (#68) from renovate/unittests-bash-test_helper-bats-support-digest into main
Bash / bash-unittest (push) Failing after 14s
changelog / changelog (push) Successful in 30s
Helm / helm-unittest (push) Successful in 39s
Bash / shellcheck (push) Successful in 10s
Helm / helm-lint (push) Successful in 8s
2026-12-05 20:07:19 +00:00
CSRBot 5c5f557320 chore(deps): update volker-raschek/ah-annotations digest to 00c8d25
Bash / bash-unittest (push) Successful in 36s
Bash / shellcheck (pull_request) Successful in 13s
Helm / helm-unittest (push) Successful in 24s
Commit Linter / check-and-test (pull_request) Successful in 8s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 25s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 10s
Bash / bash-unittest (pull_request) Successful in 40s
2026-12-05 20:07:19 +00:00
CSRBot 9af6a14701 Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-mock digest to eacf0fe' (#67) from renovate/unittests-bash-test_helper-bats-mock-digest into main
Bash / bash-unittest (push) Failing after 20s
Helm / helm-unittest (push) Successful in 38s
changelog / changelog (push) Successful in 17s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 18s
2026-12-05 20:06:52 +00:00
CSRBot ae1801e93f chore(deps): update unittests/bash/test_helper/bats-support digest to 787ac47
Bash / shellcheck (pull_request) Successful in 31s
Helm / helm-unittest (push) Successful in 30s
Commit Linter / check-and-test (pull_request) Successful in 13s
Helm / helm-unittest (pull_request) Successful in 20s
Helm / helm-lint (pull_request) Successful in 9s
Bash / bash-unittest (push) Successful in 18s
Bash / shellcheck (push) Successful in 12s
Bash / bash-unittest (pull_request) Successful in 32s
Helm / helm-lint (push) Successful in 12s
2026-12-05 20:06:52 +00:00
CSRBot 6e408dabd6 Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-assert digest to dc1aa63' (#66) from renovate/unittests-bash-test_helper-bats-assert-digest into main
Helm / helm-unittest (push) Successful in 26s
changelog / changelog (push) Successful in 31s
Bash / bash-unittest (push) Failing after 20s
Bash / shellcheck (push) Successful in 12s
Helm / helm-lint (push) Successful in 8s
2026-12-05 20:06:28 +00:00
CSRBot 870a6194e9 chore(deps): update unittests/bash/test_helper/bats-mock digest to eacf0fe
Bash / bash-unittest (push) Successful in 44s
Bash / shellcheck (pull_request) Successful in 28s
Commit Linter / check-and-test (pull_request) Successful in 50s
Helm / helm-lint (pull_request) Successful in 15s
Helm / helm-unittest (push) Successful in 44s
Helm / helm-unittest (pull_request) Successful in 37s
Bash / shellcheck (push) Successful in 9s
Bash / bash-unittest (pull_request) Successful in 30s
Helm / helm-lint (push) Successful in 14s
2026-12-05 20:06:28 +00:00
CSRBot 90b0d2d538 chore(deps): update unittests/bash/test_helper/bats-assert digest to dc1aa63
Bash / bash-unittest (push) Successful in 23s
Bash / shellcheck (pull_request) Successful in 13s
Helm / helm-unittest (push) Successful in 30s
Helm / helm-unittest (pull_request) Successful in 40s
Commit Linter / check-and-test (pull_request) Successful in 18s
Helm / helm-lint (pull_request) Successful in 9s
Bash / shellcheck (push) Successful in 27s
Bash / bash-unittest (pull_request) Successful in 40s
Helm / helm-lint (push) Successful in 7s
2026-12-05 20:06:20 +00:00
CSRBot b25e0c6e56 Merge pull request 'chore(deps): update unittests/bash/bats digest to 8b3fb25' (#65) from renovate/unittests-bash-bats-digest into main
Bash / bash-unittest (push) Failing after 37s
Helm / helm-unittest (push) Successful in 25s
changelog / changelog (push) Successful in 28s
Bash / shellcheck (push) Successful in 10s
Helm / helm-lint (push) Successful in 10s
2026-12-05 20:06:19 +00:00
CSRBot 8d4f4f13d2 chore(deps): update unittests/bash/bats digest to 8b3fb25
Helm / helm-unittest (push) Successful in 32s
Bash / shellcheck (pull_request) Successful in 8s
Bash / bash-unittest (push) Failing after 40s
Helm / helm-lint (pull_request) Successful in 8s
Commit Linter / check-and-test (pull_request) Successful in 1m15s
Helm / helm-unittest (pull_request) Successful in 22s
Bash / shellcheck (push) Successful in 14s
Helm / helm-lint (push) Successful in 16s
Bash / bash-unittest (pull_request) Failing after 22s
2026-12-05 20:05:42 +00:00
volker.raschek a512d64db0 ci(renovate): enable configMigration
Bash / bash-unittest (push) Successful in 19s
changelog / changelog (push) Successful in 13s
Helm / helm-unittest (push) Successful in 18s
Bash / shellcheck (push) Successful in 26s
Helm / helm-lint (push) Successful in 15s
2026-12-05 18:54:50 +01:00
volker.raschek 7dfd1bbf82 ci(renovate): remove presets, use complete own rules
Bash / bash-unittest (push) Successful in 20s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (push) Successful in 12s
Bash / shellcheck (push) Successful in 26s
2026-12-05 18:52:20 +01:00
volker.raschek dfce04cab1 ci(renovate): update customManagers and packgeRules
Bash / bash-unittest (push) Successful in 37s
Helm / helm-unittest (push) Successful in 21s
changelog / changelog (push) Successful in 23s
Bash / shellcheck (push) Successful in 10s
Helm / helm-lint (push) Successful in 9s
2026-12-05 18:46:51 +01:00
volker.raschekandCopilot 6cc089ba9c test(bash): handle expected env diff
changelog / changelog (push) Successful in 16s
Bash / bash-unittest (push) Successful in 36s
Helm / helm-unittest (push) Successful in 31s
Bash / shellcheck (push) Successful in 9s
Helm / helm-lint (push) Successful in 10s
Bats now honors errexit inside functions run through run. Treat diff status 1 as expected environment changes so the helper returns the script status.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 23:19:13 +01:00
volker.raschekandCopilot a5579c167e [Close #1077] fix!: protect secrets and enforce config precedence
Bash / bash-unittest (push) Successful in 19s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
Markdown linter / markdown-lint (push) Successful in 15s
Markdown linter / markdown-link-checker (push) Successful in 53s
Bash / shellcheck (push) Successful in 26s
Helm / helm-lint (push) Successful in 16s
Equivalent environment variable encodings could overwrite existing
secrets or make configuration precedence depend on environment order.

BREAKING CHANGE: Duplicate preset environment variables targeting the
same setting now cause initialization to fail. Remove duplicates.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 22:37:36 +01:00
volker.raschekandCopilot ccb53fca3f [Close #1077] fix: preserve config key casing
Gitea requires case-sensitive setting names and escaped punctuation
to interpret configuration keys correctly.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 22:18:43 +01:00
volker.raschek be7e739f67 ci(renovate): renable dependency dashboard
Bash / bash-unittest (push) Successful in 17s
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (push) Successful in 12s
Bash / shellcheck (push) Successful in 20s
2026-12-04 21:49:35 +01:00
volker.raschekandCopilot ffd2ba1d77 [Close #1117] feat: support rebuilding app.ini
Bash / bash-unittest (push) Successful in 18s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 19s
Markdown linter / markdown-lint (push) Successful in 14s
Markdown linter / markdown-link-checker (push) Successful in 51s
Bash / shellcheck (push) Successful in 21s
Helm / helm-lint (push) Successful in 14s
Allow stale settings to be removed on startup while preserving existing Gitea secret keys.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 21:41:59 +01:00
volker.raschek 1779e3b525 ci(renovate): enable platformAutomerge
Bash / bash-unittest (push) Successful in 19s
changelog / changelog (push) Successful in 15s
Helm / helm-unittest (push) Successful in 30s
Bash / shellcheck (push) Successful in 19s
Helm / helm-lint (push) Successful in 13s
2026-12-04 21:02:30 +01:00
volker.raschek 3e0d8ac8ee fix(renovate): group packageRules
Bash / bash-unittest (push) Successful in 16s
changelog / changelog (push) Successful in 17s
Helm / helm-unittest (push) Successful in 33s
Bash / shellcheck (push) Successful in 22s
Helm / helm-lint (push) Successful in 6s
2026-12-04 20:58:49 +01:00
volker.raschek 46767730c4 chore(renovate): remove packageRule for unused alpine/helm
changelog / changelog (push) Successful in 11s
Helm / helm-unittest (push) Successful in 16s
Bash / bash-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 19s
Helm / helm-lint (push) Successful in 13s
2026-12-04 20:48:56 +01:00
volker.raschek 778bdc949d chore(deps): update action actions/checkout to v7.0.1
Helm / helm-unittest (push) Successful in 31s
changelog / changelog (push) Successful in 12s
Bash / bash-unittest (push) Successful in 29s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 7s
2026-12-04 20:47:52 +01:00
volker.raschekandCopilot 37ab116b3e fix(ci): mark prerelease tags in Gitea releases
Helm / helm-unittest (push) Successful in 17s
changelog / changelog (push) Successful in 13s
Bash / bash-unittest (push) Successful in 30s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 7s
Match Artifact Hub prerelease detection so preview versions are not published as stable releases.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:22:32 +01:00
volker.raschekandCopilot c7279364d1 ci(release): remove inactive Gitea registry steps
Bash / bash-unittest (push) Successful in 16s
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 20s
Helm / helm-lint (push) Successful in 12s
Remove disabled publishing steps to keep the release workflow focused on active registries.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:14:08 +01:00
volker.raschekandCopilot 721e17bdb8 fix(ci): authenticate Helm to Docker Hub
Restore the explicit Helm registry login to address unauthorized chart pushes, and log out after publishing.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:13:24 +01:00
volker.raschek ea95db78e4 ci(release): disable gitea upload
changelog / changelog (push) Successful in 13s
Bash / bash-unittest (push) Successful in 28s
Helm / helm-unittest (push) Successful in 30s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 6s
2026-12-04 19:56:29 +01:00
volker.raschekandCopilot 39d5e628f7 ci(release): install Docker CLI through APT
changelog / changelog (push) Successful in 12s
Bash / bash-unittest (push) Successful in 28s
Helm / helm-unittest (push) Successful in 17s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 7s
Avoid firewall restrictions that prevent the Docker setup action
from working on the Gitea runner.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 19:34:22 +01:00
volker.raschekandCopilot 27b0110ef2 ci(release): set up Docker and Python
changelog / changelog (push) Successful in 12s
Bash / bash-unittest (push) Successful in 29s
Helm / helm-unittest (push) Successful in 30s
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 6s
Provide the tools needed for registry login and AWS CLI installation
on the Gitea runner.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 19:20:23 +01:00
volker.raschek fbcc3f9cf1 fix(ci): add helm repo valkey
Bash / bash-unittest (push) Successful in 22s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 23s
Helm / helm-lint (push) Successful in 12s
2026-12-04 19:13:02 +01:00
volker.raschek 797542da41 feat(ci): sign helm chart and oci artifact
Bash / bash-unittest (push) Successful in 30s
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 32s
Helm / helm-lint (push) Successful in 10s
Bash / shellcheck (push) Successful in 7s
The following PR updates the release workflow. It signs the Helm charts and the OCI artifact.
2026-12-04 19:07:40 +01:00
Ceddaerrix ddd0290b55 feat: adding 'tpl' to ingress annotation values (#1124)
### Description of the change

Adding templating support into ingress annotations so the following can be used (hence avoiding YAML anchors):

```
    ingress:
      className: "{{ .Values.global.ingress.className }}"
      annotations:
        cert-manager.io/issuer: "{{ .Values.global.issuer.name }}"
```

### Benefits

- avoiding use of YAML anchors and related limitations
- Possibility to inject a value into an annotation even from an umbrella chart

### Checklist

<!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->

- [x] Helm templating unittests are added (required when changing anything in `templates` folder)

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1124
Reviewed-by: Markus Pesch <1641+volker.raschek@noreply.gitea.com>
Co-authored-by: Ceddaerrix <48319+ceddaerrix@noreply.gitea.com>
2026-12-04 17:08:33 +00:00
volker.raschek 304f50981d fix(renovate): enable automerge for lockFileMaintenance
Bash / bash-unittest (push) Successful in 28s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 6s
Helm / helm-lint (push) Successful in 12s
2026-12-04 17:25:50 +01:00
Renovate Bot bc23031bd8 chore(deps): update dependency markdownlint-cli to v0.50.1 (#1125)
changelog / changelog (push) Successful in 13s
Bash / bash-unittest (push) Successful in 30s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 8s
Helm / helm-lint (push) Successful in 6s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | [`0.50.0` → `0.50.1`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.50.0/0.50.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/markdownlint-cli/0.50.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/markdownlint-cli/0.50.0/0.50.1?slim=true) |

---

### Release Notes

<details>
<summary>igorshubovych/markdownlint-cli (markdownlint-cli)</summary>

### [`v0.50.1`](https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.50.1)

[Compare Source](https://github.com/igorshubovych/markdownlint-cli/compare/v0.50.0...v0.50.1)

- Update `markdownlint` dependency to `0.42.2`
  - Improve `MD042`/`MD052`/`MD054`
  - Handle null prototype configuration objects
  - Update dependencies
- Fix uncommon exit code and `.markdownlintignore` behaviors
- Update all dependencies via `Dependabot`

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuOSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=-->

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1125
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-28 19:27:24 +00:00
Renovate Bot c623890d6f chore(deps): update workflow dependencies (minor & patch) (#1123)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-22 00:06:45 +00:00
Renovate Bot bc875056bd chore(deps): update workflow dependencies (minor & patch) (#1121)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-16 00:07:32 +00:00
Renovate Bot 79178a18d0 chore(deps): update node.js to v26.13.0 (#1120)
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1120
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-14 15:26:28 +00:00
Renovate Bot b43d59ba88 chore(deps): update helm release valkey to v0.12.1 (#1119)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-08 00:05:42 +00:00
Renovate Bot e067bccd57 chore(deps): update workflow dependencies (minor & patch) (#1118)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-01 00:05:05 +00:00
Renovate Bot 2b5edb77cf chore(deps): update workflow dependencies (minor & patch) (#1114)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-10-27 00:08:49 +00:00
Renovate Bot deedb0f1b3 chore(deps): update helm release valkey to v0.12.0 (#1115)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-10-25 00:06:25 +00:00
silverwindandClaude 0031a20a40 fix(renovate): repair the Gitea release manager
The appVersion manager from 475df2f captures `currentVersion`, which
Renovate rejects, so it has opened no PRs here since 2026-07-21
(https://gitea.com/gitea/helm-gitea/issues/1098). Its `^...$` anchors
never match either, Renovate runs these patterns without the multiline
flag, and Gitea releases live in go-gitea/gitea on GitHub, not
gitea/gitea.

The workflow version markers move to the trailing form the shared preset
already picks up, so the local copy of that manager goes, as does
`helpers:pinGitHubActionDigests`, which the preset extends too.
HELM_UNITTEST_VERSION was never picked up because of its `#renovate:`
spelling.

Co-Authored-By: Claude (Opus 5.5) <noreply@anthropic.com>
2026-10-21 05:43:45 +02:00
26 changed files with 928 additions and 338 deletions

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ jobs:
bash-unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true
- env:
@@ -25,5 +25,5 @@ jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
+2 -2
View File
@@ -8,12 +8,12 @@ on:
jobs:
changelog:
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:2.1.3
container: docker.io/thegeeklab/git-sv:3.0.8
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs curl jq sed
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Generate upcoming changelog
+2 -2
View File
@@ -8,9 +8,9 @@ on:
jobs:
check-and-test:
runs-on: ubuntu-latest
container: docker.io/commitlint/commitlint:21.2.1
container: docker.io/commitlint/commitlint:21.3.0
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Verify PR title
run: |
echo "${{ gitea.event.pull_request.title }}" | commitlint --config .commitlintrc.json
+7 -7
View File
@@ -14,10 +14,10 @@ jobs:
helm-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
version: v4.3.0 # renovate: datasource=github-releases depName=helm/helm
version: v4.3.2 # renovate: datasource=github-releases depName=helm/helm
- name: Update helm dependencies
run: helm dependency update
- name: Lint helm files
@@ -27,12 +27,12 @@ jobs:
helm-unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
version: v4.3.0 # renovate: datasource=github-releases depName=helm/helm
version: v4.3.2 # renovate: datasource=github-releases depName=helm/helm
- env:
HELM_UNITTEST_VERSION: v1.0.0 #renovate: datasource=github-releases depName=helm-unittest/helm-unittest
HELM_UNITTEST_VERSION: v1.2.1 # renovate: datasource=github-releases depName=helm-unittest/helm-unittest
name: Install helm-unittest
run: helm plugin install --verify=false --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
- name: Update helm dependencies
+4 -4
View File
@@ -15,14 +15,14 @@ on:
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:26.8.2-alpine
image: docker.io/library/node:26.14.0-alpine
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git npm
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Verify links in markdown files
run: |
npm install
@@ -30,14 +30,14 @@ jobs:
markdown-lint:
container:
image: docker.io/library/node:26.8.2-alpine
image: docker.io/library/node:26.14.0-alpine
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Lint markdown files
run: |
npm install
-107
View File
@@ -1,107 +0,0 @@
name: generate-chart
on:
push:
tags:
- "*"
jobs:
generate-chart-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.0
with:
fetch-depth: 0
- name: Install packages via apt
run: |
apt update --yes
apt install --yes curl ca-certificates curl gnupg jq
- name: Install helm
env:
# renovate: datasource=docker depName=alpine/helm
HELM_VERSION: "3.21.3"
run: |
curl --fail --location --output /dev/stdout --silent --show-error https://get.helm.sh/helm-v${HELM_VERSION}-linux-$(dpkg --print-architecture).tar.gz | tar --extract --gzip --file /dev/stdin
mv linux-$(dpkg --print-architecture)/helm /usr/local/bin/
rm --force --recursive linux-$(dpkg --print-architecture) helm-v${HELM_VERSION}-linux-$(dpkg --print-architecture).tar.gz
helm version
- name: Install docker-ce via apt
run: |
install -m 0755 -d /etc/apt/keyrings
curl --fail --location --silent --show-error https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update --yes
apt install --yes python3 python3-pip apt-transport-https docker-ce-cli
- name: Install awscli
run: |
pip install awscli --break-system-packages
aws --version
- name: Import GPG key
id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
- name: Add Artifacthub.io annotations
uses: volker-raschek/ah-annotations@v0.2.0
# Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
- name: package chart
run: |
echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | docker login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} --password-stdin
# FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved
helm plugin install https://github.com/pat-s/helm-gpg
helm dependency build
helm package --version "${GITHUB_REF#refs/tags/v}" ./
mkdir gitea
mv gitea*.tgz gitea/
curl --fail --location --output gitea/index.yaml --silent --show-error https://dl.gitea.com/charts/index.yaml
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
# push to dockerhub
echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} registry-1.docker.io --password-stdin
helm push gitea/gitea-${GITHUB_REF#refs/tags/v}.tgz oci://registry-1.docker.io/giteacharts
helm registry logout registry-1.docker.io
- name: Copy files to Cloudflare R2
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: auto
CLOUDFLARE_R2_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_R2_ACCOUNT_ID }}
CLOUDFLARE_R2_BUCKET: ${{ secrets.CLOUDFLARE_R2_BUCKET }}
run: |
aws s3 sync gitea/ s3://${CLOUDFLARE_R2_BUCKET}/charts/ --endpoint-url https://${CLOUDFLARE_R2_ACCOUNT_ID}.r2.cloudflarestorage.com
release-gitea:
needs: generate-chart-publish
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:2.1.3
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs
- uses: actions/checkout@v7.0.0
with:
fetch-tags: true
fetch-depth: 0
- name: Create changelog
run: |
git sv current-version
git sv release-notes -t ${GITHUB_REF#refs/tags/} -o CHANGELOG.md
sed -i '1,2d' CHANGELOG.md # remove version
cat CHANGELOG.md
- name: Release
uses: https://github.com/akkuman/gitea-release-action@v1
with:
body_path: CHANGELOG.md
token: "${{ secrets.RELEASE_TOKEN }}"
+222
View File
@@ -0,0 +1,222 @@
name: Release
on:
push:
tags:
- "**"
jobs:
publish-chart:
env:
GPG_PRIVATE_KEY_FINGERPRINT: "CC64B1DB67ABBEECAB24B6455FC346329753F4B0"
GPG_PRIVATE_KEY_PASSPHRASE_FILE: ${{ runner.temp }}/passphrase.txt
runs-on: ubuntu-latest
steps:
# NOTE:
# Install Docker because the Gitea ubuntu-latest runner does not include it.
# The action docker/setup-docker-action can not be used, because of internal Firewall rules of the Gitea runner.
# For this reason will be installed docker directly from distribution packages.
- name: Install Docker
run: |
apt update --yes
apt install --yes curl ca-certificates gnupg
install -m 0755 -d /etc/apt/keyrings
curl \
--fail \
--location \
--silent \
--show-error \
https://download.docker.com/linux/ubuntu/gpg | gpg --batch --yes --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
# Add APT-List for docker-ce
. /etc/os-release
cat > /etc/apt/sources.list.d/docker.list <<EOF
deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu ${VERSION_CODENAME} stable
EOF
apt update --yes
apt install --yes apt-transport-https docker-ce-cli
# NOTE:
# Use volker-raschek/cosign-installer, because envsubst is currently not supported.
# The maintainers of cosign-installer have not yet merged the PR. Further information under the following URL:
# https://github.com/sigstore/cosign-installer/pull/236
- uses: volker-raschek/cosign-installer@7643eed6736a199595ed2a31e9979ec353a88adb # v4.1.3-rc3
with:
cosign-release: "v3.1.6" # renovate: datasource=github-tags depName=sigstore/cosign
- name: Install Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.15"
- name: Install awscli via pip
run: |
pip install --break-system-packages awscli
aws --version
- uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
version: "v4.3.2" # renovate: datasource=github-tags depName=helm/helm
- name: Install helm plugins
env:
HELM_SIGSTORE_VERSION: "0.3.0" # renovate: datasource=github-tags depName=sigstore/helm-sigstore extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_SCHEMA_VALUES_VERSION: "2.6.1" # renovate: datasource=github-tags depName=losisin/helm-values-schema-json extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_UNITTEST_VERSION: "1.2.1" # renovate: datasource=github-tags depName=helm-unittest/helm-unittest extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
run: |
helm plugin install --verify=false https://github.com/sigstore/helm-sigstore.git --version "${HELM_SIGSTORE_VERSION}" 1> /dev/null
helm plugin install --verify=false https://github.com/losisin/helm-values-schema-json.git --version "${HELM_SCHEMA_VALUES_VERSION}" 1> /dev/null
helm plugin install --verify=false https://github.com/helm-unittest/helm-unittest.git --version "${HELM_UNITTEST_VERSION}" 1> /dev/null
helm plugin list
- name: GPG configuration
env:
GPG_PRIVATE_KEY_FILE: ${{ runner.temp }}/private.key
GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.GPGSIGN_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPGSIGN_KEY }}
run: |
# Configure GPG and GPG Agent
mkdir --parents "${HOME}/.gnupg"
chmod 0700 "${HOME}/.gnupg"
cat > "${HOME}/.gnupg/gpg.conf" <<EOF
use-agent
pinentry-mode loopback
EOF
cat > "${HOME}/.gnupg/gpg-agent.conf" <<EOF
allow-loopback-pinentry
max-cache-ttl 86400
default-cache-ttl 86400
EOF
gpgconf --kill gpg-agent
gpgconf --launch gpg-agent
# Import GPG private key
cat 1> "${GPG_PRIVATE_KEY_PASSPHRASE_FILE}" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
cat 1> "${GPG_PRIVATE_KEY_FILE}" <<< "${GPG_PRIVATE_KEY}"
gpg --batch --yes --passphrase-fd 0 --import "${GPG_PRIVATE_KEY_FILE}" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
# Export GPG keyring
gpg --batch --yes --export "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/pubring.gpg"
gpg --batch --yes --passphrase-fd 0 --export-secret-keys "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/secring.gpg" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- uses: volker-raschek/ah-annotations@00c8d25331570bd8f3408419e286916d8dcfb6c6 # v0.2.5
- name: Extract meta information
run: |
echo "GITEA_SERVER_HOSTNAME=$(echo "${GITHUB_SERVER_URL}" | cut --delimiter '/' --fields 3)" >> $GITHUB_ENV
echo "PACKAGE_NAME=gitea" >> $GITHUB_ENV
echo "PACKAGE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
echo "REPOSITORY_NAME==$(echo ${GITHUB_REPOSITORY} | cut --delimiter '/' --fields 2)" >> $GITHUB_ENV
echo "REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | cut --delimiter '/' --fields 1)" >> $GITHUB_ENV
# Packaging
- name: Update Helm Chart version in README.md
run: sed -i -E "s/^CHART_VERSION=.*/CHART_VERSION=${PACKAGE_VERSION}/g" README.md
- name: Package chart
run: |
helm repo add valkey https://valkey.io/valkey-helm
helm dependency build
helm package \
--sign \
--key "$(gpg --with-colons --list-keys "${GPG_PRIVATE_KEY_FINGERPRINT}" | grep uid | cut --delimiter ':' --fields 10)" \
--keyring "${HOME}/.gnupg/secring.gpg" \
--passphrase-file "${GPG_PRIVATE_KEY_PASSPHRASE_FILE}" \
--version "${PACKAGE_VERSION}" ./
mkdir --parents gitea
mv "${PACKAGE_NAME}-${PACKAGE_VERSION}.tgz" gitea/
if [ -f "${PACKAGE_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
mv "${PACKAGE_NAME}-${PACKAGE_VERSION}.tgz.prov" gitea/
fi
curl \
--fail \
--location \
--silent \
--show-error \
--output gitea/index.yaml \
https://dl.gitea.com/charts/index.yaml
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: registry-1.docker.io
username: ${{ secrets.DOCKER_CHARTS_USERNAME }}
password: ${{ secrets.DOCKER_CHARTS_PASSWORD }}
# Uploads
- name: Upload Chart to docker.io (OCI)
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSPHRASE }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_KEY }}
DOCKER_CHARTS_PASSWORD: ${{ secrets.DOCKER_CHARTS_PASSWORD }}
DOCKER_CHARTS_USERNAME: ${{ secrets.DOCKER_CHARTS_USERNAME }}
run: |
# Helm is not able to reuse the login credentials of the docker-login action. The docker-login action can also
# not removed, because cosign requires the docker auth.json for uploading the signature. For this reason, we
# need to login manually.
printf '%s' "${DOCKER_CHARTS_PASSWORD}" | helm registry login -u "${DOCKER_CHARTS_USERNAME}" registry-1.docker.io --password-stdin
helm push gitea/${PACKAGE_NAME}-${PACKAGE_VERSION}.tgz oci://registry-1.docker.io/giteacharts
cosign sign --yes --upload=true --key=env://COSIGN_PRIVATE_KEY registry-1.docker.io/giteacharts/${PACKAGE_NAME}:${PACKAGE_VERSION}
helm registry logout registry-1.docker.io
- name: Upload Chart to Cloudflare R2 (Helm)
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: auto
CLOUDFLARE_R2_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_R2_ACCOUNT_ID }}
CLOUDFLARE_R2_BUCKET: ${{ secrets.CLOUDFLARE_R2_BUCKET }}
run: |
aws s3 sync gitea/ s3://${CLOUDFLARE_R2_BUCKET}/charts/ \
--endpoint-url https://${CLOUDFLARE_R2_ACCOUNT_ID}.r2.cloudflarestorage.com
release-gitea:
needs: publish-chart
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:3.0.8
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-tags: true
fetch-depth: 0
- name: Create changelog
run: |
git sv current-version
git sv release-notes -t ${GITHUB_REF#refs/tags/} -o CHANGELOG.md
sed -i '1,2d' CHANGELOG.md # remove version
cat CHANGELOG.md
- name: Detect prerelease
id: prerelease
run: |
if printf '%s\n' "${GITHUB_REF#refs/tags/}" | grep -Eq -- '-[a-zA-Z0-9]+([-.][a-zA-Z0-9]+)*$'; then
echo 'prerelease=true' >> "${GITHUB_OUTPUT}"
else
echo 'prerelease=false' >> "${GITHUB_OUTPUT}"
fi
- name: Release
uses: https://github.com/akkuman/gitea-release-action@v1
with:
body_path: CHANGELOG.md
prerelease: ${{ steps.prerelease.outputs.prerelease }}
token: "${{ secrets.RELEASE_TOKEN }}"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"yaml.schemas": {
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.1.1/schema/helm-testsuite.json": [
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.2.1/schema/helm-testsuite.json": [
"/unittests/**/*.yaml"
],
"https://docs.renovatebot.com/renovate-schema.json":[
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: valkey
repository: https://valkey.io/valkey-helm
version: 0.10.0
digest: sha256:c3deb43d02228f143e1c9525f5ce06dc6a78646e763c7a73c5ec8ea0101ed2f5
generated: "2026-10-04T00:24:11.331968211+02:00"
version: 0.12.1
digest: sha256:dc282754229a0125cdabc537ba42b26abf4cba2931d1dd68ae507cb2e16dc13a
generated: "2026-11-07T00:04:26.620539138Z"
+1 -1
View File
@@ -39,5 +39,5 @@ dependencies:
# https://github.com/bitnami/charts/blob/main/bitnami/valkey/Chart.yaml
- name: valkey
repository: https://valkey.io/valkey-helm
version: 0.10.0
version: 0.12.1
condition: valkey.enabled
+28 -8
View File
@@ -10,6 +10,7 @@
- [Limit resources](#limit-resources)
- [Configuration](#configuration)
- [Default Configuration](#default-configuration)
- [Rebuilding app.ini](#rebuilding-appini)
- [Database defaults](#database-defaults)
- [Server defaults](#server-defaults)
- [Metrics defaults](#metrics-defaults)
@@ -56,8 +57,8 @@
- [LivenessProbe](#livenessprobe)
- [ReadinessProbe](#readinessprobe)
- [StartupProbe](#startupprobe)
- [valkey](#valkey)
- [CloudNativePG](#cloudnativepg)
- [valkey](#valkey)
- [Advanced](#advanced)
- [Contributing](#contributing)
- [Upgrading](#upgrading)
@@ -214,6 +215,13 @@ INSTALL_LOCK is always set to true, since we want to configure Gitea with this h
_All default settings are made directly in the generated `app.ini`, not in the Values._
#### Rebuilding app.ini
By default, removed settings remain in an existing `app.ini`.
Set `deployment.initAppIni.config.rebuild` to `true` to rebuild it on startup from the current configuration sources.
The existing `security.SECRET_KEY`, `security.INTERNAL_TOKEN`, `oauth2.JWT_SECRET`, and `server.LFS_JWT_SECRET` are preserved.
All other settings that are present only in `app.ini`, including manually managed secrets, are removed.
#### Database defaults
If a builtIn database is enabled the database configuration is set automatically.
@@ -474,9 +482,20 @@ gitea:
Priority (highest to lowest) for defining app.ini variables:
1. Environment variables prefixed with `GITEA`
1. Environment variables prefixed with `GITEA__`
1. Additional config sources
1. Values defined in `gitea.config`
1. Automatically generated initial secrets
Setting names are case-sensitive. Encode `.` as `_0X2E_` and `-` as `_0X2D_` in environment variable names.
Append `__FILE` to read a setting value from a file, as supported by Gitea.
Section names are case-insensitive, and differently encoded names can refer to the same setting.
If multiple predefined environment variables refer to the same setting, the init container fails with a conflict error;
remove the duplicate variables before restarting it.
When `app.ini` already exists, the chart preserves `security.SECRET_KEY`, `security.INTERNAL_TOKEN`,
`oauth2.JWT_SECRET`, and `server.LFS_JWT_SECRET` instead of overwriting them from any configuration source.
This also applies to environment variables using `__FILE` or encoded names.
### External Database
@@ -1026,8 +1045,8 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `deployment.labels` | Labels for the deployment. | `{}` |
| `deployment.affinity` | Affinity for the deployment. | `{}` |
| `deployment.dnsConfig` | dnsConfig of the Gitea deployment. | `{}` |
| `deployment.gitea.env` | Additional environment variables to pass to the Gitea container. | `[]` |
| `deployment.gitea.envFrom` | List of environment variables mounted from configMaps or secrets for the Gitea container. | `[]` |
| `deployment.gitea.env` | Additional environment variables to pass to the gitea container. | `[]` |
| `deployment.gitea.envFrom` | List of environment variables mounted from configMaps or secrets for the gitea container. | `[]` |
| `deployment.gitea.image.registry` | image registry, e.g. gcr.io,docker.io. | `docker.gitea.com` |
| `deployment.gitea.image.repository` | Image to start for this pod. | `gitea` |
| `deployment.gitea.image.tag` | Visit: [Image tag](https://hub.docker.com/r/gitea/gitea/tags?page=1&ordering=last_updated). Defaults to `appVersion` within Chart.yaml. | `""` |
@@ -1052,6 +1071,7 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `deployment.initDirectories.resources` | Compute Resources required by the initDirectories container. Defaults to `initContainers.resources`. Cannot be updated. | `nil` |
| `deployment.initDirectories.securityContext` | Security context of the initDirectories container. Defaults to `deployment.gitea.securityContext`. | `{}` |
| `deployment.initDirectories.volumeMounts` | Additional volume mounts. | `[]` |
| `deployment.initAppIni.config.rebuild` | Rebuild app.ini on startup, preserving Gitea secret keys but removing unmanaged settings. | `false` |
| `deployment.initAppIni.env` | Additional environment variables to pass to the init container. | `[]` |
| `deployment.initAppIni.envFrom` | List of environment variables mounted from configMaps or secrets for the initAppIni container. | `[]` |
| `deployment.initAppIni.image.registry` | image registry, e.g. gcr.io,docker.io. | `docker.gitea.com` |
@@ -1113,7 +1133,7 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `gatewayAPI.core.backendTLSPolicy.targetRefs` | Target references for the BackendTLSPolicy. Defaults to the HTTP service. | `[]` |
| `gatewayAPI.core.backendTLSPolicy.validation` | Validation configuration (required when enabled). See `docs/gateway-api.md`. | `{}` |
| `gatewayAPI.core.backendTLSPolicy.validation.caCertificateRefs` | CA certificate references for the BackendTLSPolicy validation. See `docs/gateway-api.md`. | |
| `gatewayAPI.core.backendTLSPolicy.validation.hostname` | Hostname for the BackendTLSPolicy validation. Must be the Common Name (CN) or a Subject Alternative Name (SAN) of the Gitea server certificate. See `docs/gateway-api.md`. | |
| `gatewayAPI.core.backendTLSPolicy.validation.hostname` | Hostname for the BackendTLSPolicy validation. Must be the Common Name (CN) or a Subject Alternative Name (SAN) of the gitea server certificate. See `docs/gateway-api.md`. | |
| `gatewayAPI.core.httpRoute.enabled` | Render an HTTPRoute resource. | `false` |
| `gatewayAPI.core.httpRoute.annotations` | Annotations applied to the HTTPRoute. | `{}` |
| `gatewayAPI.core.httpRoute.labels` | Additional labels applied to the HTTPRoute. | `{}` |
@@ -1144,7 +1164,7 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `ingress.hosts[0].host` | Default Ingress host. | `git.example.com` |
| `ingress.hosts[0].paths[0].path` | Default Ingress path. | `/` |
| `ingress.tls` | Ingress tls settings. | `[]` |
| `namespace` | An explicit namespace to deploy Gitea into. Defaults to the release namespace if not specified. | `""` |
| `namespace` | An explicit namespace to deploy gitea into. Defaults to the release namespace if not specified. | `""` |
### Network
@@ -1204,7 +1224,7 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `secrets.config.existingSecret.secretName` | Name of the already existing config Secret. | `""` |
| `secrets.config.new.annotations` | Annotations for the config Secret. | `{}` |
| `secrets.config.new.labels` | Labels for the config Secret. | `{}` |
| `secrets.gpg.enabled` | Enable mounting of a GPG key to sign Git commits. | `false` |
| `secrets.gpg.enabled` | Enable mounting of a GPG key to sign git commits. | `false` |
| `secrets.gpg.addSHASumAnnotation` | Add a pod annotation with the SHA sum of the GPG key Secret to trigger a rollout on change. Further information can be found in the [documentation](./README.md#secret-checksum-annotation). | `false` |
| `secrets.gpg.existingSecret.enabled` | Use an already existing Secret instead of creating the GPG key Secret. | `false` |
| `secrets.gpg.existingSecret.secretName` | Name of the already existing GPG key Secret. | `""` |
@@ -1370,7 +1390,7 @@ To comply with the Gitea helm chart definition of the digest parameter, a "custo
| `cloudnativePG.labels` | Additional labels for the CloudNativePG `Cluster`. | `{}` |
| `cloudnativePG.image.registry` | Image registry. | `ghcr.io` |
| `cloudnativePG.image.repository` | Image repository. | `cloudnative-pg/postgresql` |
| `cloudnativePG.image.tag` | Image tag. | `18.0` |
| `cloudnativePG.image.tag` | Image tag. | `18.6` |
| `cloudnativePG.instances` | Number of PostgreSQL instances. Values greater than `1` provision a HA-ready cluster with streaming replication. | `3` |
| `cloudnativePG.credentials.addSHASumAnnotation` | Add a pod annotation with the SHA sum of the credentials Secret to trigger a rollout on change. Further information can be found in the [documentation](./README.md#secret-checksum-annotation). | `false` |
| `cloudnativePG.credentials.database` | Name of the database to create. CloudNativePG requires it as a literal in the `Cluster`, hence it cannot be sourced from a Secret. | `gitea` |
+201 -90
View File
@@ -9,7 +9,7 @@
"devDependencies": {
"@bitnami/readme-generator-for-helm": "^2.5.0",
"markdown-link-check": "^3.13.6",
"markdownlint-cli": "^0.49.0"
"markdownlint-cli": "^0.50.0"
},
"engines": {
"node": ">=16.0.0",
@@ -33,6 +33,13 @@
"readme-generator": "bin/index.js"
}
},
"node_modules/@isaacs/nonrecursive-glob-match": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
"integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
"dev": true,
"license": "BlueOak-1.0.0"
},
"node_modules/@oozcitak/dom": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-2.0.2.tgz",
@@ -127,9 +134,9 @@
}
},
"node_modules/ansi-regex": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
"integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",
"integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -624,9 +631,9 @@
"license": "ISC"
},
"node_modules/get-east-asian-width": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz",
"integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==",
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz",
"integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -760,9 +767,9 @@
}
},
"node_modules/ignore": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
"integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
"version": "7.0.16",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.16.tgz",
"integrity": "sha512-52N+Y4HRMOJmbLmr+DqO4iSRyyB7N52gm7PWCT6h0p978+oKbqHCB7gIJIwZvBUsjlSdWbrBFqUSmIFNZMpn0A==",
"dev": true,
"license": "MIT",
"engines": {
@@ -789,13 +796,13 @@
"license": "ISC"
},
"node_modules/ini": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz",
"integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/ini/-/ini-7.0.0.tgz",
"integrity": "sha512-ifK0CgjALofS5bkrcTy4RaQ9Vx2Knf/eLeIO+NaswQEpH1UblrtTSCIvN71qQDMq0PeQ/SSPojvEJp9vvvfr+w==",
"dev": true,
"license": "ISC",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
}
},
"node_modules/ip-address": {
@@ -967,9 +974,9 @@
}
},
"node_modules/linkify-it": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz",
"integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-6.1.0.tgz",
"integrity": "sha512-wJ/TwpSDTLepCrQoYWYIExIKg5Zchex2Nn5yk2mFnB+6PtdkHtyLx742md9csRjjOnGkKIS/RrbY7l8D6gT9Vw==",
"dev": true,
"funding": [
{
@@ -983,7 +990,7 @@
],
"license": "MIT",
"dependencies": {
"uc.micro": "^2.0.0"
"uc.micro": "^3.0.0"
}
},
"node_modules/lodash": {
@@ -1004,9 +1011,9 @@
}
},
"node_modules/markdown-it": {
"version": "14.2.0",
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.2.0.tgz",
"integrity": "sha512-1TGiQiJVRQ3NPmZH6sx5Cfnmg6GQm9jvC1ch4TK511NjSJvjzKLzn5pPfZRNZkRPZP0HqCioSndqH8v2nRaWVQ==",
"version": "15.0.3",
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-15.0.3.tgz",
"integrity": "sha512-+Az7Ojz3iRGu8KYMvJ6xVhvrxP3eE+vEtJX75Ow88XBpcQNV/0lGX5ZynIIBftREo4DC2jsveAMDaeltmm8QvQ==",
"dev": true,
"funding": [
{
@@ -1020,17 +1027,47 @@
],
"license": "MIT",
"dependencies": {
"argparse": "^2.0.1",
"entities": "^4.4.0",
"linkify-it": "^5.0.1",
"mdurl": "^2.0.0",
"argparse": "^3.0.3",
"entities": "^8.1.0",
"linkify-it": "^6.1.0",
"mdurl": "^2.1.0",
"punycode.js": "^2.3.1",
"uc.micro": "^2.1.0"
"uc.micro": "^3.0.0"
},
"bin": {
"markdown-it": "bin/markdown-it.mjs"
}
},
"node_modules/markdown-it/node_modules/argparse": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.4.tgz",
"integrity": "sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"license": "PSF-2.0"
},
"node_modules/markdown-it/node_modules/entities": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz",
"integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==",
"dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/markdown-link-check": {
"version": "3.15.0",
"resolved": "https://registry.npmjs.org/markdown-link-check/-/markdown-link-check-3.15.0.tgz",
@@ -1088,21 +1125,22 @@
}
},
"node_modules/markdownlint": {
"version": "0.41.0",
"resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.41.0.tgz",
"integrity": "sha512-xMUI3ChBuRuxuLF4ENvCZyS8z/+Jly1coUcZwErKLIB3sDj7ojpaTBa1e9YVPhSN4jGEIjYGQCldbTJS/hqS+A==",
"version": "0.42.2",
"resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.42.2.tgz",
"integrity": "sha512-IhlUBVT+kHBX+u3EjEsQdFB4q0Rl0Hx+JsGsvVkonNut1/n8Kv8yXzwk0pazC9uF35JlwMZ+LxV4CQ9YNAbG8w==",
"dev": true,
"license": "MIT",
"dependencies": {
"micromark": "4.0.2",
"micromark-core-commonmark": "2.0.3",
"micromark": "4.0.3",
"micromark-core-commonmark": "2.0.4",
"micromark-extension-directive": "4.0.0",
"micromark-extension-gfm-autolink-literal": "2.1.0",
"micromark-extension-gfm-footnote": "2.1.0",
"micromark-extension-gfm-table": "2.1.1",
"micromark-extension-gfm-table": "2.1.2",
"micromark-extension-math": "3.1.0",
"micromark-util-types": "2.0.2",
"string-width": "8.2.1"
"micromark-util-types": "2.0.3",
"re2js": "2.9.1",
"string-width": "8.3.0"
},
"engines": {
"node": ">=22"
@@ -1112,23 +1150,23 @@
}
},
"node_modules/markdownlint-cli": {
"version": "0.49.0",
"resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.49.0.tgz",
"integrity": "sha512-vS5tWq5W91Gg33LD4pyAaXPclnz/sRvo6/RGOyDQjQ3eds2DkK6H4szUuE0M9TiRB/u/VBx1gtd9Ktrtx5WlSA==",
"version": "0.50.1",
"resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.50.1.tgz",
"integrity": "sha512-3F9ON1oW8dlY2mkvQGzyDrcrfx6xiWYgS8arlijuw/JH/ZaPHE6nxp9/SP2V8YqbK8GaqZtkLD6hayPa4uj2mw==",
"dev": true,
"license": "MIT",
"dependencies": {
"commander": "~15.0.0",
"commander": "~15.1.0",
"deep-extend": "~0.6.0",
"ignore": "~7.0.5",
"js-yaml": "~4.2.0",
"ignore": "~7.0.16",
"js-yaml": "~5.5.0",
"jsonc-parser": "~3.3.1",
"jsonpointer": "~5.0.1",
"markdown-it": "~14.2.0",
"markdownlint": "~0.41.0",
"minimatch": "~10.2.5",
"run-con": "~1.3.2",
"smol-toml": "~1.6.1",
"markdown-it": "~15.0.3",
"markdownlint": "~0.42.2",
"minimatch": "~11.0.9",
"run-con": "~1.3.3",
"smol-toml": "~1.9.1",
"tinyglobby": "~0.2.17"
},
"bin": {
@@ -1138,6 +1176,23 @@
"node": ">=22"
}
},
"node_modules/markdownlint-cli/node_modules/argparse": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.4.tgz",
"integrity": "sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"license": "PSF-2.0"
},
"node_modules/markdownlint-cli/node_modules/balanced-match": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
@@ -1149,39 +1204,63 @@
}
},
"node_modules/markdownlint-cli/node_modules/brace-expansion": {
"version": "5.0.7",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
"integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.1.0.tgz",
"integrity": "sha512-aa11Dv491GKnYqxaul3aRJ0szew7yMJMfZPnqD44NjGrZXoj62l41OEDDpdpC4eE2P88vBFfLuSyRhpG91NUvg==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
"node": "18 || 20 || >=22"
"node": "20 || >=22"
}
},
"node_modules/markdownlint-cli/node_modules/commander": {
"version": "15.0.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz",
"integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==",
"version": "15.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-15.1.0.tgz",
"integrity": "sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=22.12.0"
}
},
"node_modules/markdownlint-cli/node_modules/js-yaml": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.5.0.tgz",
"integrity": "sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"license": "MIT",
"dependencies": {
"argparse": "^3.0.3"
},
"bin": {
"js-yaml": "bin/js-yaml.mjs"
}
},
"node_modules/markdownlint-cli/node_modules/minimatch": {
"version": "10.2.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
"version": "11.0.9",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz",
"integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"brace-expansion": "^5.0.5"
"@isaacs/nonrecursive-glob-match": "^1.1.0",
"brace-expansion": "^5.0.12"
},
"engines": {
"node": "18 || 20 || >=22"
"node": "20 || >=22"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
@@ -1201,16 +1280,16 @@
}
},
"node_modules/mdurl": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz",
"integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.1.0.tgz",
"integrity": "sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==",
"dev": true,
"license": "MIT"
},
"node_modules/micromark": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",
"integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz",
"integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==",
"dev": true,
"funding": [
{
@@ -1234,6 +1313,7 @@
"micromark-util-chunked": "^2.0.0",
"micromark-util-combine-extensions": "^2.0.0",
"micromark-util-decode-numeric-character-reference": "^2.0.0",
"micromark-util-edit-map": "^1.0.0",
"micromark-util-encode": "^2.0.0",
"micromark-util-normalize-identifier": "^2.0.0",
"micromark-util-resolve-all": "^2.0.0",
@@ -1244,9 +1324,9 @@
}
},
"node_modules/micromark-core-commonmark": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",
"integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz",
"integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==",
"dev": true,
"funding": [
{
@@ -1264,18 +1344,19 @@
"devlop": "^1.0.0",
"micromark-factory-destination": "^2.0.0",
"micromark-factory-label": "^2.0.0",
"micromark-factory-space": "^2.0.0",
"micromark-factory-space": "^2.1.0",
"micromark-factory-title": "^2.0.0",
"micromark-factory-whitespace": "^2.0.0",
"micromark-util-character": "^2.0.0",
"micromark-util-chunked": "^2.0.0",
"micromark-util-classify-character": "^2.0.0",
"micromark-util-edit-map": "^1.0.0",
"micromark-util-html-tag-name": "^2.0.0",
"micromark-util-normalize-identifier": "^2.0.0",
"micromark-util-resolve-all": "^2.0.0",
"micromark-util-subtokenize": "^2.0.0",
"micromark-util-symbol": "^2.0.0",
"micromark-util-types": "^2.0.0"
"micromark-util-types": "^2.0.3"
}
},
"node_modules/micromark-extension-directive": {
@@ -1337,9 +1418,9 @@
}
},
"node_modules/micromark-extension-gfm-table": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",
"integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz",
"integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1420,9 +1501,9 @@
}
},
"node_modules/micromark-factory-space": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",
"integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz",
"integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==",
"dev": true,
"funding": [
{
@@ -1590,6 +1671,26 @@
"micromark-util-symbol": "^2.0.0"
}
},
"node_modules/micromark-util-edit-map": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz",
"integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==",
"dev": true,
"funding": [
{
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/unifiedjs"
},
{
"type": "OpenCollective",
"url": "https://opencollective.com/unified"
}
],
"license": "MIT",
"dependencies": {
"micromark-util-types": "^2.0.0"
}
},
"node_modules/micromark-util-encode": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
@@ -1727,9 +1828,9 @@
"license": "MIT"
},
"node_modules/micromark-util-types": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",
"integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz",
"integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==",
"dev": true,
"funding": [
{
@@ -2045,6 +2146,16 @@
"dev": true,
"license": "MIT"
},
"node_modules/re2js": {
"version": "2.9.1",
"resolved": "https://registry.npmjs.org/re2js/-/re2js-2.9.1.tgz",
"integrity": "sha512-JIT3bEEUZTOR2YS1walNEIfH4cF/cQeZcBUFq7ldqO6lR6g0X5CBq/S8rsa9omzZcsNf8qc36jCkWpKKtncrZg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=20.0.0"
}
},
"node_modules/repeat-string": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
@@ -2056,14 +2167,14 @@
}
},
"node_modules/run-con": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/run-con/-/run-con-1.3.2.tgz",
"integrity": "sha512-CcfE+mYiTcKEzg0IqS08+efdnH0oJ3zV0wSUFBNrMHMuxCtXvBCLzCJHatwuXDcu/RlhjTziTo/a1ruQik6/Yg==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/run-con/-/run-con-1.3.3.tgz",
"integrity": "sha512-Lb7OKM9aaykzyoNiHGhSVCjZsvbyy6qDMp2vDXL+MoCfz3GfNJtHYH7uYsU3QNMyInBk++xx+EZ8xZ8Sxs5fNQ==",
"dev": true,
"license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
"dependencies": {
"deep-extend": "^0.6.0",
"ini": "~4.1.0",
"ini": "~7.0.0",
"minimist": "^1.2.8",
"strip-json-comments": "~3.1.1"
},
@@ -2100,9 +2211,9 @@
}
},
"node_modules/smol-toml": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.6.1.tgz",
"integrity": "sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==",
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.1.tgz",
"integrity": "sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
@@ -2154,9 +2265,9 @@
}
},
"node_modules/string-width": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.1.tgz",
"integrity": "sha512-IIaP0g3iy9Cyy18w3M9YcaDudujEAVHKt3a3QJg1+sr/oX96TbaGUubG0hJyCjCBThFH+tFpcIyoUHUn1ogaLA==",
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz",
"integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2224,9 +2335,9 @@
"license": "0BSD"
},
"node_modules/uc.micro": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",
"integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-3.0.0.tgz",
"integrity": "sha512-U3PppEkleoTnIfi8BozMx3yju3qc/L6SwqWo2Sw+54PX+PX0q9I+r1Um5HCmqD7n9VDX5/v3vQH/AjA6deDdtw==",
"dev": true,
"license": "MIT"
},
+1 -1
View File
@@ -16,6 +16,6 @@
"devDependencies": {
"@bitnami/readme-generator-for-helm": "^2.5.0",
"markdown-link-check": "^3.13.6",
"markdownlint-cli": "^0.49.0"
"markdownlint-cli": "^0.50.0"
}
}
+64 -79
View File
@@ -1,71 +1,75 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"gitea>gitea/renovate-config",
"helpers:pinGitHubActionDigests",
":automergeMinor",
"schedule:automergeDaily",
"schedule:weekends"
],
"labels": [
"kind/dependency"
],
"digest": {
"automerge": true
},
"automergeStrategy": "squash",
"git-submodules": {
"enabled": true
},
"configMigration": true,
"customManagers": [
{
"description": "Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions",
"customType": "regex",
"managerFilePatterns": [
"/.gitea/workflows/.+\\.ya?ml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"description": "Detect helm-unittest yaml schema file",
"customType": "regex",
"managerFilePatterns": [
"/.vscode/settings\\.json$/"
"datasourceTemplate": "github-releases",
"fileMatch": [
".vscode/settings\\.json$"
],
"matchStrings": [
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json"
],
"datasourceTemplate": "github-releases"
]
},
{
"description": "Automatically detect new Gitea releases",
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "gitea/gitea",
"extractVersionTemplate": "^v(?<version>.*)$",
"managerFilePatterns": [
"/(^|/)Chart\\.ya?ml$/"
"fileMatch": [
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
"(^|/)Makefile$",
"(^|/)[\\w-]*\\.sh$"
],
"matchStrings": [
"^appVersion:\\s+[\"']?(?<currentVersion>\\S+)[\"']?$"
"\"?(?<currentValue>[\\w.]*)\"? # renovate:(?:[[:blank:]]+datasource=['\"]*(?<datasource>[^\\s\"']*)['\"]*|[[:blank:]]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[[:blank:]]+packageName=['\"]*(?<packageName>[^\\s'\"]*)['\"]*|[[:blank:]]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[[:blank:]]+updateType=['\"]*(?<updateType>[^\\s'\"]*)['\"]*|[[:blank:]]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*|[[:blank:]]+extractVersion=['\"]*(?<extractVersion>[^\\s'\"]*)['\"]*)*"
]
},
{
"customType": "regex",
"fileMatch": [
"^Chart\\.yaml$"
],
"matchStrings": [
"appVersion: \"?(?<currentValue>[^\"\\s]+)\"?\\s*"
],
"datasourceTemplate": "docker",
"depNameTemplate": "gitea",
"lookupNameTemplate": "docker.gitea.com",
"versioningTemplate": "semver"
}
],
"extends": [
":dependencyDashboard",
":semanticCommitTypeAll(chore)"
],
"git-submodules": {
"description": [
"Required because of bats"
],
"enabled": true
},
"labels": [
"kind/dependency"
],
"lockFileMaintenance": {
"enabled": true,
"commitMessageAction": "update",
"commitMessageTopic": "lockfiles",
"automerge": true,
"schedule": [
"at any time"
]
},
"packageRules": [
{
"groupName": "subcharts (minor & patch)",
"matchManagers": [
"helmv3"
"automerge": true,
"description": [
"Additional packageRule, because matchCategories and matchManagers are handled as 'and' operator"
],
"enabled": true,
"matchCategories": [
"ci",
"custom",
"docker",
"helm",
"js"
],
"matchUpdateTypes": [
"minor",
@@ -74,9 +78,13 @@
]
},
{
"groupName": "bats testing framework",
"automerge": true,
"description": [
"Additional packageRule, because matchCategories and matchManagers are handled as 'and' operator"
],
"enabled": true,
"matchManagers": [
"git-submodules"
"git-submodules",
],
"matchUpdateTypes": [
"minor",
@@ -85,23 +93,6 @@
]
},
{
"groupName": "workflow dependencies (minor & patch)",
"matchManagers": [
"github-actions",
"npm",
"custom.regex"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"matchFileNames": [
"!Chart.yaml"
]
},
{
"description": "Update README.md on changes in values.yaml",
"matchManagers": [
"helm-values"
],
@@ -115,22 +106,16 @@
],
"executionMode": "update"
}
},
{
"description": "Override changelog url for Helm image, to have release notes in our PRs",
"matchDepNames": [
"alpine/helm"
],
"changelogUrl": "https://github.com/helm/helm"
},
{
"description": "Bump Gitea as fast as possible - not only on weekends",
"matchDepNames": [
"go-gitea/gitea"
],
"schedule": [
"at any time"
]
}
],
"platformAutomerge": true,
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"semanticCommits": "enabled",
"suppressNotifications": [
"prEditedNotification",
"prIgnoreNotification"
]
}
@@ -35,19 +35,23 @@ function env2ini::read_config_to_env() {
env2ini::log " + '${setting}'"
local masked_setting="${setting//./_0X2E_}"
masked_setting="${masked_setting//-/_0X2D_}"
if [[ -z "${section}" ]]; then
export "GITEA____${setting^^}=${value}" # '^^' makes the variable content uppercase
env2ini::set_config_env "GITEA____${masked_setting}" "${value}"
return
fi
local masked_section="${section//./_0X2E_}" # '//' instructs to replace all matches
masked_section="${masked_section//-/_0X2D_}"
export "GITEA__${masked_section^^}__${setting^^}=${value}" # '^^' makes the variable content uppercase
env2ini::set_config_env "GITEA__${masked_section^^}__${masked_setting}" "${value}"
}
function env2ini::reload_preset_envs() {
env2ini::log "Reloading preset envs..."
local -A preset_names=()
while read -r line; do
if [[ -z "${line}" ]]; then
@@ -75,7 +79,23 @@ function env2ini::reload_preset_envs() {
env2ini::log " + '${setting}'"
export "${setting^^}=${value}" # '^^' makes the variable content uppercase
if env2ini::decode_config_env "${setting}"; then
local identity="${#gitea_decoded_section}:${gitea_decoded_section}${gitea_decoded_key}"
if [[ -v 'preset_names["${identity}"]' ]]; then
env2ini::log " ! conflicting preset environment variables: ${preset_names["${identity}"]} and ${setting}"
return 1
fi
preset_names["${identity}"]="${setting}"
fi
local section_and_key="${setting#GITEA__}"
if [[ "${section_and_key}" == *'__'* ]]; then
local section="${section_and_key%%__*}"
local key="${section_and_key#*__}"
env2ini::set_config_env "GITEA__${section^^}__${key}" "${value}"
else
env2ini::set_config_env "${setting}" "${value}"
fi
done < "$TMP_EXISTING_ENVS_FILE"
rm "$TMP_EXISTING_ENVS_FILE"
@@ -130,8 +150,85 @@ function env2ini::generate_initial_secrets() {
env2ini::log "...Initial secrets generated\n"
}
function env2ini::decode_config_env() {
local encoded="${1#GITEA__}"
encoded="${encoded%__FILE}"
local escape_regex='_0[xX]([0-9a-fA-F][0-9a-fA-F])+_'
local section='' key='' before escape hex byte
local in_key=false
while [[ "${encoded}" =~ ${escape_regex} ]]; do
escape="${BASH_REMATCH[0]}"
before="${encoded%%"${escape}"*}"
if [[ "${in_key}" == false && "${before}" == *'__'* ]]; then
section+="${before%%__*}"
key+="${before#*__}"
in_key=true
elif [[ "${in_key}" == false ]]; then
section+="${before}"
else
key+="${before}"
fi
hex="${escape:3:${#escape}-4}"
while [[ -n "${hex}" ]]; do
if [[ "${hex:0:2}" == 00 ]]; then
return 1
fi
printf -v byte '%b' "\\x${hex:0:2}"
if [[ "${in_key}" == false ]]; then
section+="${byte}"
else
key+="${byte}"
fi
hex="${hex:2}"
done
encoded="${encoded#*"${escape}"}"
done
if [[ "${in_key}" == false && "${encoded}" == *'__'* ]]; then
section+="${encoded%%__*}"
key+="${encoded#*__}"
elif [[ "${in_key}" == true ]]; then
key+="${encoded}"
fi
[[ -n "${key}" ]] || return 1
gitea_decoded_section="${section,,}"
gitea_decoded_key="${key}"
}
function env2ini::set_config_env() {
local name="${1}" value="${2}" existing
if env2ini::decode_config_env "${name}"; then
local target_section="${gitea_decoded_section}" target_key="${gitea_decoded_key}"
while IFS= read -r existing; do
if env2ini::decode_config_env "${existing}" &&
[[ "${gitea_decoded_section}" == "${target_section}" && "${gitea_decoded_key}" == "${target_key}" ]]; then
unset "${existing}"
fi
done < <(compgen -e | grep '^GITEA__' || true)
fi
export "${name}=${value}"
}
function env2ini::is_protected_secret() {
env2ini::decode_config_env "${1}" || return 1
case "${gitea_decoded_section}__${gitea_decoded_key}" in
security__INTERNAL_TOKEN|security__SECRET_KEY|oauth2__JWT_SECRET|server__LFS_JWT_SECRET)
return 0
;;
*)
return 1
;;
esac
}
# save existing envs prior to script execution. Necessary to keep order of preexisting and custom envs
env | (grep -e '^GITEA__' || [[ $? == 1 ]]) > "$TMP_EXISTING_ENVS_FILE"
while IFS= read -r setting; do
unset "${setting}"
done < <(compgen -e | grep '^GITEA__' || true)
# MUST BE CALLED BEFORE OTHER CONFIGURATION
env2ini::generate_initial_secrets
@@ -152,10 +249,18 @@ if [ -f "${GITEA_APP_INI}" ]; then
env2ini::log ' - oauth2.JWT_SECRET'
env2ini::log ' - server.LFS_JWT_SECRET'
unset GITEA__SECURITY__INTERNAL_TOKEN
unset GITEA__SECURITY__SECRET_KEY
unset GITEA__OAUTH2__JWT_SECRET
unset GITEA__SERVER__LFS_JWT_SECRET
while IFS= read -r setting; do
if env2ini::is_protected_secret "${setting}"; then
unset "${setting}"
fi
done < <(compgen -e | grep '^GITEA__' || true)
fi
gitea config edit-ini --apply-env --config "$GITEA_APP_INI" --out "$GITEA_APP_INI"
if [[ "${GITEA_REBUILD_APP_INI:-false}" == "true" && -f "${GITEA_APP_INI}" ]]; then
keep_keys_file="$(mktemp)"
trap 'rm -f "${keep_keys_file}"' EXIT
printf '%s\n' '[security]' 'SECRET_KEY=' 'INTERNAL_TOKEN=' '[oauth2]' 'JWT_SECRET=' '[server]' 'LFS_JWT_SECRET=' > "${keep_keys_file}"
gitea config edit-ini --apply-env --config "$GITEA_APP_INI" --config-keep-keys "${keep_keys_file}" --out "$GITEA_APP_INI"
else
gitea config edit-ini --apply-env --config "$GITEA_APP_INI" --out "$GITEA_APP_INI"
fi
+2
View File
@@ -84,6 +84,8 @@
value: /tmp/existing-envs
- name: ENV_TO_INI_MOUNT_POINT
value: /env-to-ini-mounts
- name: GITEA_REBUILD_APP_INI
value: {{ $config.config.rebuild | quote }}
{{- if .Values.cloudnativePG.enabled }}
- name: GITEA__database__PASSWD
valueFrom:
+4 -4
View File
@@ -3,10 +3,10 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
{{- with (include "gitea.ingress.annotations" .) }}
{{- with (include "gitea.ingress.annotations" $) }}
annotations:
{{- . | nindent 4 }}
{{- end }}
{{- tpl . $ | nindent 4 }}
{{- end }}
{{- with (include "gitea.ingress.labels" .) }}
labels:
{{- . | nindent 4 }}
@@ -14,7 +14,7 @@ metadata:
name: {{ include "gitea.ingress.name" . }}
namespace: {{ .Release.Namespace }}
spec:
ingressClassName: {{ tpl .Values.ingress.ingressClassName . }}
ingressClassName: {{ tpl .Values.ingress.ingressClassName $ }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ tpl .host $ | quote }}
@@ -30,6 +30,11 @@ case "$*" in
'generate secret LFS_JWT_SECRET')
echo 'mocked-lfs-jwt-secret'
;;
"config edit-ini --apply-env --config $GITEA_APP_INI --config-keep-keys "*" --out $GITEA_APP_INI")
test "$GITEA_EDIT_INI_EXPECTED" -eq 1
cat "$7"
echo 'Stubbed gitea config edit-ini rebuild was called!'
;;
"config edit-ini --apply-env --config $GITEA_APP_INI --out $GITEA_APP_INI")
if [ "$GITEA_EDIT_INI_EXPECTED" -eq 1 ]; then
echo 'Stubbed gitea config edit-ini was called!'
@@ -63,7 +68,13 @@ function execute_test_script() {
currentEnvsAfter=$(env | sort)
# diff as unified +/- output without context before/after
diff --unified=0 <(echo "$currentEnvsBefore") <(echo "$currentEnvsAfter")
local diffStatus
if diff --unified=0 <(echo "$currentEnvsBefore") <(echo "$currentEnvsAfter"); then
:
else
diffStatus=$?
[[ $diffStatus == 1 ]] || return "$diffStatus"
fi
exit $exitCode
}
@@ -115,6 +126,61 @@ function write_mounted_file() {
refute_line '+GITEA__SERVER__LFS_JWT_SECRET=mocked-lfs-jwt-secret'
}
@test "protects existing secrets from file and encoded environment variables" {
expect_gitea_config_edit_ini_call
touch "$GITEA_APP_INI"
export GITEA__SECURITY__SECRET_KEY__FILE="/tmp/secret"
export GITEA__SEC_0X55_RITY__INTERNAL_TOKEN="override"
export GITEA__OAUTH2__JWT_0X5F_SECRET__FILE="/tmp/jwt"
export GITEA__SERVER__LFS_JWT_SECRET="override"
export GITEA__SECURITY__OTHER__FILE="/tmp/other"
export GITEA___0x7365637572697479____0x5345435245545f4b4559_="encoded"
export GITEA__SECURITY__secret_key="other-case"
for GITEA_REBUILD_APP_INI in false true; do
export GITEA_REBUILD_APP_INI
run execute_test_script
assert_success
assert_line '-GITEA__SECURITY__SECRET_KEY__FILE=/tmp/secret'
assert_line '-GITEA__SEC_0X55_RITY__INTERNAL_TOKEN=override'
assert_line '-GITEA__OAUTH2__JWT_0X5F_SECRET__FILE=/tmp/jwt'
assert_line '-GITEA__SERVER__LFS_JWT_SECRET=override'
assert_line '-GITEA___0x7365637572697479____0x5345435245545f4b4559_=encoded'
refute_line '+GITEA___0X7365637572697479____0x5345435245545f4b4559_=encoded'
refute_line '-GITEA__SECURITY__OTHER__FILE=/tmp/other'
refute_line '-GITEA__SECURITY__secret_key=other-case'
done
}
@test "rebuilds an existing app.ini while preserving secret keys" {
expect_gitea_config_edit_ini_call
export GITEA_REBUILD_APP_INI=true
touch "$GITEA_APP_INI"
run "$PROJECT_ROOT/scripts/init-containers/config/config_environment.sh"
assert_success
assert_line '[security]'
assert_line 'SECRET_KEY='
assert_line 'INTERNAL_TOKEN='
assert_line '[oauth2]'
assert_line 'JWT_SECRET='
assert_line '[server]'
assert_line 'LFS_JWT_SECRET='
assert_line 'Stubbed gitea config edit-ini rebuild was called!'
}
@test "uses normal initialization when rebuild is enabled for a new app.ini" {
expect_gitea_config_edit_ini_call
export GITEA_REBUILD_APP_INI=true
run "$PROJECT_ROOT/scripts/init-containers/config/config_environment.sh"
assert_success
assert_line 'Stubbed gitea config edit-ini was called!'
}
@test "ensures that preset environment variables take precedence over auto-generated ones" {
expect_gitea_config_edit_ini_call
export GITEA__OAUTH2__JWT_SECRET="pre-defined-jwt-secret"
@@ -125,6 +191,43 @@ function write_mounted_file() {
refute_line '+GITEA__OAUTH2__JWT_SECRET=mocked-jwt-secret'
}
@test "ensures that preset secrets with lowercase sections override generated secrets" {
expect_gitea_config_edit_ini_call
export GITEA__oauth2__JWT_SECRET="pre-defined-jwt-secret"
run execute_test_script
assert_success
assert_line '+GITEA__OAUTH2__JWT_SECRET=pre-defined-jwt-secret'
refute_line '+GITEA__OAUTH2__JWT_SECRET=mocked-jwt-secret'
}
@test "preset encoded file variables override generated and mounted settings" {
expect_gitea_config_edit_ini_call
export GITEA___0x6f6175746832___JWT_0x5f_SECRET__FILE="/tmp/jwt"
write_mounted_file "inlines" "oauth2" "JWT_SECRET=inline"
write_mounted_file "additionals" "oauth2" "JWT_SECRET=additional"
run execute_test_script
assert_success
refute_line '+GITEA__OAUTH2__JWT_SECRET=mocked-jwt-secret'
refute_line '+GITEA__OAUTH2__JWT_SECRET=inline'
refute_line '+GITEA__OAUTH2__JWT_SECRET=additional'
assert_line '+GITEA___0X6F6175746832___JWT_0x5f_SECRET__FILE=/tmp/jwt'
}
@test "rejects conflicting preset variables for the same setting" {
expect_gitea_config_edit_ini_call
export GITEA__OAUTH2__JWT_SECRET="first"
export GITEA__oauth2__JWT_0X5F_SECRET__FILE="/tmp/jwt"
run "$PROJECT_ROOT/scripts/init-containers/config/config_environment.sh"
assert_failure
assert_output --partial 'conflicting preset environment variables'
}
@test "ensures that preset environment variables take precedence over mounted ones" {
expect_gitea_config_edit_ini_call
export GITEA__OAUTH2__JWT_SECRET="pre-defined-jwt-secret"
@@ -172,22 +275,35 @@ EOF
assert_line '+GITEA__REPOSITORY_0X2E_PULL_0X2D_REQUEST__WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]'
}
###############################################################
##### THIS IS A BUG, BUT I WANT IT TO BE COVERED BY TESTS #####
###############################################################
@test "ensures uppercase section and setting names (🐞)" {
@test "preserves the case of setting names and masks dots and dashes" {
expect_gitea_config_edit_ini_call
export GITEA__oauth2__JwT_Secret="pre-defined-jwt-secret"
write_mounted_file "inlines" "repository.pull-request" "$(cat << EOF
WORK_IN_progress_PREFIXES=WIP:,[WIP]
write_mounted_file "inlines" "log" "$(cat << EOF
logger.router.MODE=console-warn
Mixed-Case=value
EOF
)"
run execute_test_script
assert_success
assert_line '+GITEA__REPOSITORY_0X2E_PULL_0X2D_REQUEST__WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]'
assert_line '+GITEA__OAUTH2__JWT_SECRET=pre-defined-jwt-secret'
assert_line '+GITEA__LOG__logger_0X2E_router_0X2E_MODE=console-warn'
assert_line '+GITEA__LOG__Mixed_0X2D_Case=value'
}
@test "preserves preset setting case and its precedence over mounted values" {
expect_gitea_config_edit_ini_call
export GITEA__log__MixedKey="preset"
write_mounted_file "inlines" "log" "$(cat << EOF
MixedKey=inline
EOF
)"
run execute_test_script
assert_success
assert_line '-GITEA__log__MixedKey=preset'
assert_line '+GITEA__LOG__MixedKey=preset'
refute_line '+GITEA__LOG__MixedKey=inline'
}
@test "treats top-level configuration as section-less" {
@@ -31,7 +31,7 @@ tests:
path: spec.template.spec.initContainers[1].env
- lengthEqual:
path: spec.template.spec.initContainers[1].env
count: 6
count: 7
- isSubset:
path: spec.template.spec.initContainers[1]
content:
@@ -48,6 +48,8 @@ tests:
value: /tmp/existing-envs
- name: ENV_TO_INI_MOUNT_POINT
value: /env-to-ini-mounts
- name: GITEA_REBUILD_APP_INI
value: "false"
- it: "Render the Deployment with standard additionalConfigFromEnvs"
template: templates/deployment.yaml
set:
@@ -59,7 +61,7 @@ tests:
path: spec.template.spec.initContainers[1].env
- lengthEqual:
path: spec.template.spec.initContainers[1].env
count: 8
count: 9
- isSubset:
path: spec.template.spec.initContainers[1]
content:
@@ -76,6 +78,8 @@ tests:
value: /tmp/existing-envs
- name: ENV_TO_INI_MOUNT_POINT
value: /env-to-ini-mounts
- name: GITEA_REBUILD_APP_INI
value: "false"
- name: GITEA_database_HOST
value: my-db:123
- name: GITEA_database_USER
@@ -93,7 +97,7 @@ tests:
path: spec.template.spec.initContainers[1].env
- lengthEqual:
path: spec.template.spec.initContainers[1].env
count: 8
count: 9
- isSubset:
path: spec.template.spec.initContainers[1]
content:
@@ -110,6 +114,8 @@ tests:
value: /tmp/existing-envs
- name: ENV_TO_INI_MOUNT_POINT
value: /env-to-ini-mounts
- name: GITEA_REBUILD_APP_INI
value: "false"
- name: GITEA_database_HOST
value: my-db-host:321
- name: GITEA_database_USER
@@ -131,7 +137,7 @@ tests:
path: spec.template.spec.initContainers[1].env
- lengthEqual:
path: spec.template.spec.initContainers[1].env
count: 7
count: 8
- isSubset:
path: spec.template.spec.initContainers[1]
content:
@@ -148,6 +154,8 @@ tests:
value: /tmp/existing-envs
- name: ENV_TO_INI_MOUNT_POINT
value: /env-to-ini-mounts
- name: GITEA_REBUILD_APP_INI
value: "false"
- name: GITEA_database_HOST
valueFrom:
secretKeyRef:
@@ -0,0 +1,24 @@
suite: Test deployment app.ini rebuild
release:
name: gitea-unittests
namespace: testing
templates:
- templates/deployment.yaml
tests:
- it: Disable app.ini rebuild by default
asserts:
- contains:
path: spec.template.spec.initContainers[1].env
content:
name: GITEA_REBUILD_APP_INI
value: "false"
- it: Enable app.ini rebuild when configured
set:
deployment.initAppIni.config.rebuild: true
asserts:
- contains:
path: spec.template.spec.initContainers[1].env
content:
name: GITEA_REBUILD_APP_INI
value: "true"
+100
View File
@@ -0,0 +1,100 @@
chart:
appVersion: 1.27.3
release:
name: gitea-unittests
namespace: testing
suite: Test ingress
templates:
- templates/ingress.yaml
tests:
- it: Render ingress ingressClassName with paramater injection
set:
ingress.enabled: true
service.http.enabled: true
global.ingress.class: "my-ingress-class"
ingress.ingressClassName: "{{ .Values.global.ingress.class }}"
asserts:
- hasDocuments:
count: 1
- containsDocument:
kind: Ingress
apiVersion: networking.k8s.io/v1
name: gitea-unittests
namespace: testing
- notExists:
path: metadata.annotations
- isSubset:
path: metadata.labels
content:
app: gitea
app.kubernetes.io/instance: gitea-unittests
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: gitea
app.kubernetes.io/version: 1.27.3
helm.sh/chart: gitea-0.0.0
version: 1.27.3
- equal:
path: spec.ingressClassName
value: my-ingress-class
- contains:
path: spec.rules
content:
host: git.example.com
http:
paths:
- backend:
service:
name: gitea-unittests-http
port:
number: 3000
path: /
pathType: Prefix
- it: Render ingress annotations with paramater injection
set:
global.ingress.class: "my-ingress-class"
global.certificate.issuer: "my-issuer"
ingress.enabled: true
service.http.enabled: true
ingress.ingressClassName: "{{ .Values.global.ingress.class }}"
ingress.annotations:
cert-manager.io/issuer: "{{ .Values.global.certificate.issuer }}"
asserts:
- hasDocuments:
count: 1
- containsDocument:
kind: Ingress
apiVersion: networking.k8s.io/v1
name: gitea-unittests
namespace: testing
- exists:
path: metadata.annotations
- equal:
path: "metadata.annotations['cert-manager.io/issuer']"
value: "my-issuer"
- isSubset:
path: metadata.labels
content:
app: gitea
app.kubernetes.io/instance: gitea-unittests
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: gitea
app.kubernetes.io/version: 1.27.3
helm.sh/chart: gitea-0.0.0
version: 1.27.3
- equal:
path: spec.ingressClassName
value: my-ingress-class
- contains:
path: spec.rules
content:
host: git.example.com
http:
paths:
- backend:
service:
name: gitea-unittests-http
port:
number: 3000
path: /
pathType: Prefix
+5 -1
View File
@@ -220,6 +220,10 @@ deployment:
# readOnly: true
initAppIni:
## @param deployment.initAppIni.config.rebuild Rebuild app.ini on startup, preserving Gitea secret keys but removing unmanaged settings.
config:
rebuild: false
## @param deployment.initAppIni.env Additional environment variables to pass to the init container.
env: []
# - name: VARIABLE
@@ -1130,7 +1134,7 @@ cloudnativePG:
image:
registry: ghcr.io
repository: cloudnative-pg/postgresql
tag: "18.0"
tag: "18.6"
## @param cloudnativePG.instances Number of PostgreSQL instances. Values greater than `1` provision a HA-ready cluster with streaming replication.
instances: 3