Files
containers/.vib/supabase-postgres/goss/supabase-postgres.yaml
Carlos Rodríguez Hernández 3a07ef0579 Update Goss scripts making it compatible with Goss 4 (#51894)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2023-10-17 18:02:23 +02:00

19 lines
543 B
YAML

# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
command:
# PostgreSQL should match the major version
check-postgresql-version:
exec: {{ .Vars.version.bin_name }} {{ .Vars.version.flag }} | grep "$(echo $APP_VERSION | sed -E 's|^([0-9]+\.).+$| \1|g')"
exit-status: 0
file:
/opt/bitnami/postgresql/logs/postgresql.log:
exists: true
filetype: symlink
linked-to: /dev/stdout
/opt/bitnami/postgresql/conf/postgresql.conf:
exists: true
mode: "0664"
contents:
- /^include_dir = 'conf.d'/