Commit 6b2d3da5 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Started on integration. Fixes to postgres use in CI.

parent 708f5d3a
Pipeline #39886 passed with stages
in 12 minutes and 10 seconds
......@@ -77,6 +77,7 @@ tests:
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: rabbitmq
RABBITMQ_DEFAULT_VHOST: /
NOMAD_COE_REPO_DB_HOST: postgres
NOMAD_RABBITMQ_HOST: rabbitmq
NOMAD_ELASTIC_HOST: elastic
NOMAD_MONGO_HOST: mongo
......
#!/bin/sh
cd .dependencies/nomad-lab-base
sbt docker repoTool
sbt docker repoWebservice
\ No newline at end of file
# import example calculations
nomad upload --unstage tests/data/proc/examles_vasp.zip
# create a new index with coe repoTool
docker run nomad/coe-repotool:latest
# start coe repoServer
docker run nomad/coe-repowebservice:latest
# try to search for new calculations
curl localhost:8111/...
\ No newline at end of file
#!/bin/sh
python -m pycodestyle --ignore=E501,E701 nomad tests
python -m pylint --load-plugins=pylint_mongoengine nomad tests
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional nomad tests
\ No newline at end of file
......@@ -84,11 +84,11 @@ elastic = ElasticConfig(
calc_index='calcs'
)
repository_db = RepositoryDBConfig(
host=os.environ.get('NOMAD_REPOSITORY_DB_HOST', 'localhost'),
port=int(os.environ.get('NOMAD_REPOSITORY_DB_PORT', 5432)),
dbname=os.environ.get('NOMAD_REPOSITORY_DB_NAME', 'nomad'),
user=os.environ.get('NOMAD_REPOSITORY_DB_USER', 'postgres'),
password=os.environ.get('NOMAD_REPOSITORY_DB_PASSWORD', 'nomad')
host=os.environ.get('NOMAD_COE_REPO_DB_HOST', 'localhost'),
port=int(os.environ.get('NOMAD_COE_REPO_DB_PORT', 5432)),
dbname=os.environ.get('NOMAD_COE_REPO_DB_NAME', 'nomad'),
user=os.environ.get('NOMAD_COE_REPO_DB_USER', 'postgres'),
password=os.environ.get('NOMAD_COE_REPO_PASSWORD', 'nomad')
)
mongo = MongoConfig(
host=os.environ.get('NOMAD_MONGO_HOST', 'localhost'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment