[bitnami/*] Update app-version tests (#30100)

Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
Francisco de Paz Galan
2023-04-13 17:29:00 +02:00
committed by GitHub
parent 1e0a262a1e
commit 6f00ef9bcc
7 changed files with 6 additions and 15 deletions
-5
View File
@@ -1,9 +1,4 @@
command:
check-app-version:
exec: cosign version 2>&1
exit-status: 0
stdout:
- {{ .Env.APP_VERSION }}
initialize-sigstore:
exec: cosign initialize
exit-status: 0
+1
View File
@@ -2,6 +2,7 @@ gossfile:
# Goss tests exclusive to the current container
../../cosign/goss/cosign.yaml: {}
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version.yaml: {}
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
+3
View File
@@ -1,3 +1,6 @@
binaries:
- cosign
root_dir: /opt/bitnami
version:
bin_name: cosign
flag: version
+1
View File
@@ -2,6 +2,7 @@ gossfile:
# Goss tests exclusive to the current container
../../nginx/goss/nginx.yaml: {}
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version.yaml: {}
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
-5
View File
@@ -33,11 +33,6 @@ file:
contains:
- /Unset.*HTTP_PROXY/
command:
check-app-version:
exec: {{ .Vars.version.bin_name }} {{ .Vars.version.flag }} 2>&1
exit-status: 0
stdout:
- {{ .Env.APP_VERSION }}
test-config:
exec: nginx -t
exit-status: 0
+1
View File
@@ -2,6 +2,7 @@ gossfile:
# Goss tests exclusive to the current container
../../openldap/goss/openldap.yaml: {}
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version.yaml: {}
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
-5
View File
@@ -18,11 +18,6 @@ file:
exists: true
{{ end }}
command:
check-app-version:
exec: {{ .Vars.version.bin_name }} {{ .Vars.version.flag }} 2>&1
exit-status: 0
stdout:
- {{ .Env.APP_VERSION }}
check-enabled-backends:
exec: slapd -VVV 2>&1
exit-status: 0