mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-06-02 02:11:23 +05:30
Distinguish custom values in tests
This helps to ensure that the correct value is stored in the correct setting. Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
This commit is contained in:
parent
141cf08a03
commit
bf35498673
|
@ -34,12 +34,12 @@ tests:
|
|||
set:
|
||||
redis-cluster:
|
||||
enabled: false
|
||||
gitea.config.cache.ADAPTER: custom-value
|
||||
gitea.config.cache.HOST: custom-value
|
||||
gitea.config.cache.ADAPTER: custom-adapter
|
||||
gitea.config.cache.HOST: custom-host
|
||||
asserts:
|
||||
- documentIndex: 0
|
||||
equal:
|
||||
path: stringData.cache
|
||||
value: |-
|
||||
ADAPTER=custom-value
|
||||
HOST=custom-value
|
||||
ADAPTER=custom-adapter
|
||||
HOST=custom-host
|
||||
|
|
|
@ -34,12 +34,12 @@ tests:
|
|||
set:
|
||||
redis-cluster:
|
||||
enabled: false
|
||||
gitea.config.queue.TYPE: custom-value
|
||||
gitea.config.queue.CONN_STR: custom-value
|
||||
gitea.config.queue.TYPE: custom-type
|
||||
gitea.config.queue.CONN_STR: custom-connection-string
|
||||
asserts:
|
||||
- documentIndex: 0
|
||||
equal:
|
||||
path: stringData.queue
|
||||
value: |-
|
||||
CONN_STR=custom-value
|
||||
TYPE=custom-value
|
||||
CONN_STR=custom-connection-string
|
||||
TYPE=custom-type
|
||||
|
|
|
@ -34,12 +34,12 @@ tests:
|
|||
set:
|
||||
redis-cluster:
|
||||
enabled: false
|
||||
gitea.config.session.PROVIDER: custom-value
|
||||
gitea.config.session.PROVIDER_CONFIG: custom-value
|
||||
gitea.config.session.PROVIDER: custom-provider
|
||||
gitea.config.session.PROVIDER_CONFIG: custom-provider-config
|
||||
asserts:
|
||||
- documentIndex: 0
|
||||
equal:
|
||||
path: stringData.session
|
||||
value: |-
|
||||
PROVIDER=custom-value
|
||||
PROVIDER_CONFIG=custom-value
|
||||
PROVIDER=custom-provider
|
||||
PROVIDER_CONFIG=custom-provider-config
|
||||
|
|
Loading…
Reference in a new issue