format with prettier-fix
This commit is contained in:
parent
57f784d12a
commit
c93fb8f986
6 changed files with 17 additions and 17 deletions
|
@ -96,7 +96,7 @@ These dependencies are enabled by default:
|
||||||
|
|
||||||
Alternatively, the following non-HA replacements are available:
|
Alternatively, the following non-HA replacements are available:
|
||||||
|
|
||||||
- PostgreSQL ([Bitnami PostgreSQL](postgresql](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml)))
|
- PostgreSQL ([Bitnami PostgreSQL](<postgresql](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml)>))
|
||||||
|
|
||||||
### Dependency Versioning
|
### Dependency Versioning
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ release:
|
||||||
name: gitea-unittests
|
name: gitea-unittests
|
||||||
namespace: testing
|
namespace: testing
|
||||||
tests:
|
tests:
|
||||||
- it: "cache is configured correctly for redis-cluster"
|
- it: 'cache is configured correctly for redis-cluster'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
@ -29,7 +29,7 @@ tests:
|
||||||
ADAPTER=memory
|
ADAPTER=memory
|
||||||
HOST=
|
HOST=
|
||||||
|
|
||||||
- it: "cache can be customized when redis-cluster is disabled"
|
- it: 'cache can be customized when redis-cluster is disabled'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
|
|
@ -3,7 +3,7 @@ release:
|
||||||
name: gitea-unittests
|
name: gitea-unittests
|
||||||
namespace: testing
|
namespace: testing
|
||||||
tests:
|
tests:
|
||||||
- it: "queue is configured correctly for redis-cluster"
|
- it: 'queue is configured correctly for redis-cluster'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
@ -29,7 +29,7 @@ tests:
|
||||||
CONN_STR=
|
CONN_STR=
|
||||||
TYPE=level
|
TYPE=level
|
||||||
|
|
||||||
- it: "queue can be customized when redis-cluster is disabled"
|
- it: 'queue can be customized when redis-cluster is disabled'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
|
|
@ -3,7 +3,7 @@ release:
|
||||||
name: gitea-unittests
|
name: gitea-unittests
|
||||||
namespace: testing
|
namespace: testing
|
||||||
tests:
|
tests:
|
||||||
- it: "session is configured correctly for redis-cluster"
|
- it: 'session is configured correctly for redis-cluster'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
@ -29,7 +29,7 @@ tests:
|
||||||
PROVIDER=memory
|
PROVIDER=memory
|
||||||
PROVIDER_CONFIG=
|
PROVIDER_CONFIG=
|
||||||
|
|
||||||
- it: "session can be customized when redis-cluster is disabled"
|
- it: 'session can be customized when redis-cluster is disabled'
|
||||||
template: templates/gitea/config.yaml
|
template: templates/gitea/config.yaml
|
||||||
set:
|
set:
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
|
|
|
@ -13,27 +13,27 @@ tests:
|
||||||
- it: should set storageClassName when persistence.storageClass is defined
|
- it: should set storageClassName when persistence.storageClass is defined
|
||||||
template: templates/gitea/pvc.yaml
|
template: templates/gitea/pvc.yaml
|
||||||
set:
|
set:
|
||||||
persistence.storageClass: "my-storage-class"
|
persistence.storageClass: 'my-storage-class'
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: "spec.storageClassName"
|
path: 'spec.storageClassName'
|
||||||
value: "my-storage-class"
|
value: 'my-storage-class'
|
||||||
|
|
||||||
- it: should set global.storageClass when persistence.storageClass is not defined
|
- it: should set global.storageClass when persistence.storageClass is not defined
|
||||||
template: templates/gitea/pvc.yaml
|
template: templates/gitea/pvc.yaml
|
||||||
set:
|
set:
|
||||||
global.storageClass: "default-storage-class"
|
global.storageClass: 'default-storage-class'
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: spec.storageClassName
|
path: spec.storageClassName
|
||||||
value: "default-storage-class"
|
value: 'default-storage-class'
|
||||||
|
|
||||||
- it: should set storageClassName when persistence.storageClass is defined and global.storageClass is defined
|
- it: should set storageClassName when persistence.storageClass is defined and global.storageClass is defined
|
||||||
template: templates/gitea/pvc.yaml
|
template: templates/gitea/pvc.yaml
|
||||||
set:
|
set:
|
||||||
global.storageClass: "default-storage-class"
|
global.storageClass: 'default-storage-class'
|
||||||
persistence.storageClass: "my-storage-class"
|
persistence.storageClass: 'my-storage-class'
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: spec.storageClassName
|
path: spec.storageClassName
|
||||||
value: "my-storage-class"
|
value: 'my-storage-class'
|
||||||
|
|
|
@ -16,7 +16,7 @@ tests:
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: metadata.labels["gitea/testkey"]
|
path: metadata.labels["gitea/testkey"]
|
||||||
value: "testvalue"
|
value: 'testvalue'
|
||||||
|
|
||||||
- it: keeps existing labels (ssh)
|
- it: keeps existing labels (ssh)
|
||||||
template: templates/gitea/ssh-svc.yaml
|
template: templates/gitea/ssh-svc.yaml
|
||||||
|
@ -38,7 +38,7 @@ tests:
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: metadata.labels["gitea/testkey"]
|
path: metadata.labels["gitea/testkey"]
|
||||||
value: "testvalue"
|
value: 'testvalue'
|
||||||
|
|
||||||
- it: keeps existing labels (http)
|
- it: keeps existing labels (http)
|
||||||
template: templates/gitea/http-svc.yaml
|
template: templates/gitea/http-svc.yaml
|
||||||
|
|
Loading…
Reference in a new issue