mirror of
https://github.com/bitnami/containers.git
synced 2026-10-20 12:00:15 +02:00
[bitnami/jaeger] Add VIB tests
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
@@ -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: {}
|
||||
@@ -0,0 +1,6 @@
|
||||
command:
|
||||
check-jaeger:
|
||||
exec: timeout --preserve-status 5 jaeger-all-in-one
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- Server created
|
||||
@@ -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
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user