[Close #1117] feat: support rebuilding app.ini
Bash / bash-unittest (push) Successful in 18s
Bash / shellcheck (push) Successful in 21s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 14s
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 / bash-unittest (push) Successful in 18s
Bash / shellcheck (push) Successful in 21s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 19s
Markdown linter / markdown-lint (push) Successful in 14s
Markdown linter / markdown-link-checker (push) Successful in 51s
Allow stale settings to be removed on startup while preserving existing Gitea secret keys. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
7 files changed
+91
-5
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user