hibernate-orm/ci/database-start.sh

35 lines
1.2 KiB
Bash
Raw Normal View History

#! /bin/bash
2020-11-26 10:19:08 -05:00
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
if [ "$RDBMS" == 'mysql' ]; then
bash $DIR/../docker_db.sh mysql
elif [ "$RDBMS" == 'mariadb' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mariadb
elif [ "$RDBMS" == 'postgresql' ]; then
bash $DIR/../docker_db.sh postgresql
elif [ "$RDBMS" == 'edb' ]; then
bash $DIR/../docker_db.sh edb
elif [ "$RDBMS" == 'db2' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh db2
elif [ "$RDBMS" == 'oracle' ]; then
bash $DIR/../docker_db.sh oracle
2024-02-14 05:29:21 -05:00
elif [ "$RDBMS" == 'oracle_atps_tls' ]; then
bash $DIR/../docker_db.sh oracle_atps_tls
2023-09-21 09:42:43 -04:00
elif [ "$RDBMS" == 'oracle_atps' ]; then
bash $DIR/../docker_db.sh oracle_atps
elif [ "$RDBMS" == 'oracle_db19c' ]; then
bash $DIR/../docker_db.sh oracle_db19c
elif [ "$RDBMS" == 'oracle_db21c' ]; then
bash $DIR/../docker_db.sh oracle_db21c
elif [ "$RDBMS" == 'oracle_db23c' ]; then
bash $DIR/../docker_db.sh oracle_db23c
elif [ "$RDBMS" == 'mssql' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mssql
elif [ "$RDBMS" == 'sybase' ]; then
bash $DIR/../docker_db.sh sybase
elif [ "$RDBMS" == 'cockroachdb' ]; then
bash $DIR/../docker_db.sh cockroachdb
elif [ "$RDBMS" == 'hana' ]; then
bash $DIR/../docker_db.sh hana
fi