[bitnami/jaeger] Add VIB tests

Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
Jose Antonio Carmona
2023-05-04 17:11:08 +02:00
parent f9825d29a1
commit 031ba3f6e1
5 changed files with 61 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
gossfile:
# Goss tests exclusive to the current container
../../jaeger/goss/jaeger.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: {}
../../common/goss/templates/check-directories.yaml: {}
../../common/goss/templates/check-linked-libraries.yaml: {}
../../common/goss/templates/check-sed-in-place.yaml: {}
../../common/goss/templates/check-spdx.yaml: {}
+6
View File
@@ -0,0 +1,6 @@
command:
check-jaeger:
exec: timeout --preserve-status 5 jaeger-all-in-one
exit-status: 0
stdout:
- Server created
+13
View File
@@ -0,0 +1,13 @@
binaries:
- jaeger-agent
- jaeger-ingester
- jaeger-query
- jaeger-all-in-one
- jaeger-collector
directories:
- paths:
- /opt/bitnami/jaeger/cassandra-schema
root_dir: /opt/bitnami
version:
bin_name: jaeger-all-in-one
flag: version
+15
View File
@@ -33,6 +33,21 @@
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "jaeger/goss/goss.yaml",
"vars_file": "jaeger/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-jaeger"
}
}
}
},
{
"action_id": "trivy",
"params": {
+15
View File
@@ -29,6 +29,21 @@
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "jaeger/goss/goss.yaml",
"vars_file": "jaeger/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-jaeger"
}
}
}
},
{
"action_id": "trivy",
"params": {