mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
fixed merge issues
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
f3a56db9e8
commit
ec9bc83f5a
@ -28,11 +28,11 @@ matrix:
|
||||
include:
|
||||
- python: 3.9
|
||||
env:
|
||||
- PLANETMINT_DATABASE_BACKEND=tarantool
|
||||
- PLANETMINT_DATABASE_BACKEND=tarantool_db
|
||||
- PLANETMINT_DATABASE_SSL=
|
||||
- python: 3.9
|
||||
env:
|
||||
- PLANETMINT_DATABASE_BACKEND=tarantool
|
||||
- PLANETMINT_DATABASE_BACKEND=tarantool_db
|
||||
- PLANETMINT_DATABASE_SSL=
|
||||
- PLANETMINT_CI_ABCI=enable
|
||||
- python: 3.9
|
||||
|
||||
@ -34,7 +34,7 @@ RUN mkdir -p /data/db /data/configdb \
|
||||
|
||||
# Planetmint enviroment variables
|
||||
ENV PLANETMINT_DATABASE_PORT 27017
|
||||
ENV PLANETMINT_DATABASE_BACKEND tarantool
|
||||
ENV PLANETMINT_DATABASE_BACKEND tarantool_db
|
||||
ENV PLANETMINT_SERVER_BIND 0.0.0.0:9984
|
||||
ENV PLANETMINT_WSSERVER_HOST 0.0.0.0
|
||||
ENV PLANETMINT_WSSERVER_SCHEME ws
|
||||
|
||||
@ -323,9 +323,9 @@ def create_parser():
|
||||
help='Prepare the config file.')
|
||||
|
||||
config_parser.add_argument('backend',
|
||||
choices=['tarantool', 'localmongodb'],
|
||||
default='tarantool',
|
||||
const='tarantool',
|
||||
choices=['tarantool_db', 'localmongodb'],
|
||||
default='tarantool_db',
|
||||
const='tarantool_db',
|
||||
nargs='?',
|
||||
help='The backend to use. It can only be '
|
||||
'"tarantool_db", currently.')
|
||||
|
||||
@ -99,7 +99,7 @@ def _configure_planetmint(request):
|
||||
test_db_name = '{}_{}'.format(TEST_DB_NAME, xdist_suffix)
|
||||
|
||||
# backend = request.config.getoption('--database-backend')
|
||||
backend = "tarantool"
|
||||
backend = "tarantool_db"
|
||||
|
||||
config = {
|
||||
'database': Config().get_db_map(backend),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user