mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 21:01:18 +02:00
[bitnami/*] Update app-version tests (#30100)
Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
binaries:
|
||||
- cosign
|
||||
root_dir: /opt/bitnami
|
||||
version:
|
||||
bin_name: cosign
|
||||
flag: version
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user