You've already forked helm-gitea
The following pull request removes the `gitea` directory. With regard to maintaining act_runners in a separate git repository or helm chart, this additional directory becomes redundant.
34 lines
955 B
YAML
34 lines
955 B
YAML
suite: config template
|
|
release:
|
|
name: gitea-unittests
|
|
namespace: testing
|
|
templates:
|
|
- templates/config.yaml
|
|
tests:
|
|
- it: inline config stringData.server using TPL
|
|
set:
|
|
global.giteaHostName: "gitea.example.com"
|
|
ingress.enabled: true
|
|
ingress.hosts[0].host: "{{ .Values.global.giteaHostName }}"
|
|
ingress.tls:
|
|
- secretName: gitea-tls
|
|
hosts:
|
|
- "{{ .Values.global.giteaHostName }}"
|
|
asserts:
|
|
- documentIndex: 0
|
|
matchRegex:
|
|
path: metadata.name
|
|
pattern: .*-inline-config$
|
|
- documentIndex: 0
|
|
matchRegex:
|
|
path: stringData.server
|
|
pattern: DOMAIN=gitea\.example\.com
|
|
- documentIndex: 0
|
|
matchRegex:
|
|
path: stringData.server
|
|
pattern: ROOT_URL=https://gitea\.example\.com
|
|
- documentIndex: 0
|
|
matchRegex:
|
|
path: stringData.server
|
|
pattern: SSH_DOMAIN=gitea\.example\.com
|