[bitnami/jaeger] Fix check-app-version test (#75731)

Signed-off-by: Alvaro Neira Ayuso <alvaro.neira@broadcom.com>
This commit is contained in:
Alvaro Neira Ayuso 2024-12-12 17:24:42 +01:00 committed by GitHub
parent 72f4c42f66
commit 7829027f71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,6 @@ 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: {}

View File

@ -6,4 +6,9 @@ command:
exec: timeout --preserve-status 5 jaeger-all-in-one
exit-status: 0
stderr:
- "Server created"
- "Server created"
check-app-version:
exec: jaeger-jaeger -v | sed "s/\-0*/./g"
exit-status: 0
stdout:
- "{{ .Env.APP_VERSION }}"