2 Commits

Auteur SHA1 Bericht Datum
3wc
6fb9c651e8 Revert accidental change to test DB settings
Alle checks waren succesvol
continuous-integration/drone/push Build is passing
2021-08-16 03:08:52 +02:00
3wc
a7bc0c6c01 Fixes to compose file 2021-08-16 02:30:46 +02:00
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen

Bestand weergeven

@ -26,7 +26,7 @@ from capsulflask.shared import *
class BaseTestCase(TestCase): class BaseTestCase(TestCase):
def create_app(self): def create_app(self):
# Use default connection paramaters # Use default connection paramaters
os.environ['POSTGRES_CONNECTION_PARAMETERS'] = "host=db port=5432 user=capsul password=capsul dbname=capsulflask_test" os.environ['POSTGRES_CONNECTION_PARAMETERS'] = "host=localhost port=5432 user=postgres password=dev dbname=capsulflask_test"
os.environ['TESTING'] = 'True' os.environ['TESTING'] = 'True'
os.environ['LOG_LEVEL'] = 'DEBUG' os.environ['LOG_LEVEL'] = 'DEBUG'
os.environ['SPOKE_MODEL'] = 'mock' os.environ['SPOKE_MODEL'] = 'mock'

Bestand weergeven

@ -15,8 +15,8 @@ services:
- "5000:5000" - "5000:5000"
environment: environment:
- "POSTGRES_CONNECTION_PARAMETERS=host=db port=5432 user=capsul password=capsul dbname=capsul" - "POSTGRES_CONNECTION_PARAMETERS=host=db port=5432 user=capsul password=capsul dbname=capsul"
- SPOKE_MODEL=shell-scripts - SPOKE_MODEL
#- FLASK_DEBUG=1 - FLASK_DEBUG
- BASE_URL=http://localhost:5000 - BASE_URL=http://localhost:5000
- ADMIN_PANEL_ALLOW_EMAIL_ADDRESSES=3wc.capsul@doesthisthing.work - ADMIN_PANEL_ALLOW_EMAIL_ADDRESSES=3wc.capsul@doesthisthing.work
- VIRSH_DEFAULT_CONNECT_URI=qemu:///system - VIRSH_DEFAULT_CONNECT_URI=qemu:///system