You've already forked helm-gitea
1baf2d0656
Need more time to know how to handle `expect_environment_to_ini_call` Fix #1068 Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1070 Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
15 lines
488 B
YAML
15 lines
488 B
YAML
suite: config template | config_environment.sh
|
|
release:
|
|
name: gitea-unittests
|
|
namespace: testing
|
|
templates:
|
|
- templates/gitea/config.yaml
|
|
tests:
|
|
- it: uses `gitea config edit-ini` to write app.ini from environment variables
|
|
template: templates/gitea/config.yaml
|
|
asserts:
|
|
- documentIndex: 1
|
|
matchRegex:
|
|
path: stringData["config_environment.sh"]
|
|
pattern: 'gitea config edit-ini --apply-env --config .+GITEA_APP_INI.+ --out .+GITEA_APP_INI'
|