Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
6b2d3da5
Commit
6b2d3da5
authored
Nov 23, 2018
by
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
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6b2d3da5
...
...
@@ -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
...
...
integration/build_coe_container.sh
0 → 100755
View file @
6b2d3da5
#!/bin/sh
cd
.dependencies/nomad-lab-base
sbt docker repoTool
sbt docker repoWebservice
\ No newline at end of file
integration/test_integration.sh
0 → 100644
View file @
6b2d3da5
# 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
linting.sh
deleted
100755 → 0
View file @
708f5d3a
#!/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
nomad/config.py
View file @
6b2d3da5
...
...
@@ -84,11 +84,11 @@ elastic = ElasticConfig(
calc_index
=
'calcs'
)
repository_db
=
RepositoryDBConfig
(
host
=
os
.
environ
.
get
(
'NOMAD_REPO
SITORY
_DB_HOST'
,
'localhost'
),
port
=
int
(
os
.
environ
.
get
(
'NOMAD_REPO
SITORY
_DB_PORT'
,
5432
)),
dbname
=
os
.
environ
.
get
(
'NOMAD_REPO
SITORY
_DB_NAME'
,
'nomad'
),
user
=
os
.
environ
.
get
(
'NOMAD_REPO
SITORY
_DB_USER'
,
'postgres'
),
password
=
os
.
environ
.
get
(
'NOMAD_REPO
SITORY_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'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment