Skip to content

Commit

Permalink
Check version.txt
Browse files Browse the repository at this point in the history
Signed-off-by: mdhont <michield@vmware.com>
  • Loading branch information
mdhont committed Jul 28, 2023
1 parent 9f81c7e commit 40bb8d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .vib/keycloak/goss/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ file:
- "<module xmlns=\"urn:jboss:module:1.0\" name=\"org.postgresql.jdbc\">"
command:
check-app-version:
timeout: 12000
# We need to start the dev server once to make --version work
exec: timeout --preserve-status 10s {{ .Vars.version.bin_name }} start-dev > /dev/null ; {{.Vars.version.bin_name }} {{ .Vars.version.flag }} 2>&1
# kc.sh --version only works after starting the server. Checking the version.txt instead.
exec: cat /opt/bitnami/keycloak/version.txt
exit-status: 0
stdout:
- {{ .Env.APP_VERSION }}

0 comments on commit 40bb8d4

Please sign in to comment.