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>
25 lines
637 B
YAML
25 lines
637 B
YAML
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"
|