Skip to content

Commit

Permalink
fix(discovery): observed containers should be checked with persisted …
Browse files Browse the repository at this point in the history
…nodes (#423)
  • Loading branch information
tthvo authored May 3, 2024
1 parent 718deba commit 626604e
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 114 deletions.
2 changes: 1 addition & 1 deletion compose/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"
services:
cryostat:
environment:
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: drop-and-create
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: ${DATABASE_GENERATION:-drop-and-create}
QUARKUS_DATASOURCE_USERNAME: cryostat3
QUARKUS_DATASOURCE_PASSWORD: cryostat3
QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://db:5432/cryostat3
Expand Down
2 changes: 2 additions & 0 deletions smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ while getopts "hs:prGtOVXcbn" opt; do
;;
V)
KEEP_VOLUMES=true
DATABASE_GENERATION=update
;;
X)
FILES+=("${DIR}/compose/db-viewer.yml")
Expand Down Expand Up @@ -111,6 +112,7 @@ fi
export CRYOSTAT_HTTP_HOST
export CRYOSTAT_HTTP_PORT
export GRAFANA_DASHBOARD_EXT_URL
export DATABASE_GENERATION

s3Manifest="${DIR}/compose/s3-${s3}.yml"
STORAGE_PORT="$(yq '.services.*.expose[0]' "${s3Manifest}" | grep -v null)"
Expand Down
Loading

0 comments on commit 626604e

Please sign in to comment.