Fixing duplicated annotation; added tests; prepped for bugfix release

This commit is contained in:
Laszlo Fogas
2021-07-26 11:30:01 +02:00
parent c68e979ba0
commit 73fd1235c2
3 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.25.0
version: 0.24.1
+1 -1
View File
@@ -22,7 +22,7 @@ metadata:
gimlet.io/git-sha: {{ .root.Values.gitSha }}
{{- end }}
{{- if .root.Values.gitRepository }}
gimlet.io/git-sha: {{ .root.Values.gitRepository }}
gimlet.io/git-repository: {{ .root.Values.gitRepository }}
{{- end }}
{{- end }}
spec:
@@ -0,0 +1,18 @@
suite: test service
templates:
- ingress.yaml
tests:
- it: Should set Gimlet taxonomy on Ingress
set:
gitRepository: github.com/laszlocph/demo-app
gitSha: xyz
ingress:
host: chart-example.local
tlsEnabled: true
asserts:
- equal:
path: metadata.annotations
value:
gimlet.io/git-repository: github.com/laszlocph/demo-app
gimlet.io/git-sha: xyz