chore: add prettier linting

This commit is contained in:
Michael Kriese 2023-12-06 14:32:09 +01:00
parent 9705ad745c
commit 41c51cdb74
No known key found for this signature in database
GPG key ID: B83F553A0724D44E
23 changed files with 801 additions and 78 deletions

View file

@ -15,35 +15,35 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: "INFO"
value: 'INFO'
- it: supports overriding SSH log level
template: templates/gitea/deployment.yaml
set:
image.rootless: false
gitea.ssh.logLevel: "DEBUG"
gitea.ssh.logLevel: 'DEBUG'
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: "DEBUG"
value: 'DEBUG'
- it: supports overriding SSH log level (even when image.fullOverride set)
template: templates/gitea/deployment.yaml
set:
image.fullOverride: gitea/gitea:1.19.3
image.rootless: false
gitea.ssh.logLevel: "DEBUG"
gitea.ssh.logLevel: 'DEBUG'
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: "DEBUG"
value: 'DEBUG'
- it: skips SSH_LOG_LEVEL for rootless image
template: templates/gitea/deployment.yaml
set:
image.rootless: true
gitea.ssh.logLevel: "DEBUG" # explicitly defining a non-standard level here
gitea.ssh.logLevel: 'DEBUG' # explicitly defining a non-standard level here
asserts:
- notContains:
path: spec.template.spec.containers[0].env
@ -55,7 +55,7 @@ tests:
set:
image.fullOverride: gitea/gitea:1.19.3
image.rootless: true
gitea.ssh.logLevel: "DEBUG" # explicitly defining a non-standard level here
gitea.ssh.logLevel: 'DEBUG' # explicitly defining a non-standard level here
asserts:
- notContains:
path: spec.template.spec.containers[0].env