Files
ObjectStore/tests/ha/bootstrap.sh
T
admin d73fa2c435
ObjectStore CI / build (push) Successful in 10m22s
Add shared cluster credentials and readiness CI
2026-11-16 03:41:32 +01:00

7 lines
207 B
Bash

#!/bin/sh
set -eu
psql "$1" -v ON_ERROR_STOP=1 -c \
"CREATE ROLE objectstore LOGIN PASSWORD 'ha-test-database-password'"
psql "$1" -v ON_ERROR_STOP=1 -c \
'CREATE DATABASE objectstore OWNER objectstore'