Commit 4288edfe authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix config bugs.

parent 5768e3db
Pipeline #45737 passed with stages
in 24 minutes and 32 seconds
......@@ -240,7 +240,9 @@ deploy:
--set dbname=${DBNAME}
--set worker.replicas=1
--set worker.memrequest=32
--set volumes.files=${FILES_PATH};
--set volumes.public=${FILES_PATH}/public
--set volumes.staging=${FILES_PATH}/staging
--set volumes.tmp=${FILES_PATH}/tmp;
else
helm upgrade ${RELEASE_NAME} . --namespace=${STAGING_NAMESPACE}
--set images.nomad.tag=${CI_COMMIT_REF_NAME}
......
......@@ -45,7 +45,7 @@ app.config.SWAGGER_UI_REQUEST_DURATION = True # type: ignore
def api_base_path_response(env, resp):
resp(b'200 OK', [(b'Content-Type', b'text/plain')])
resp('200 OK', [('Content-Type', 'text/plain')])
return [
('Development nomad api server. Api is served under %s/.' %
config.services.api_base_path).encode('utf-8')]
......
......@@ -211,7 +211,7 @@ def apply(config, key, value) -> None:
if child_key is None or current_value is None:
raise KeyError()
except KeyError:
logger.error('config key %s does not exist' % key)
return
if not isinstance(value, type(current_value)):
try:
......
......@@ -118,7 +118,7 @@ mail:
## Everything concerning the data that is used by the service
volumes:
prefixSize: 3
prefixSize: 2
public: /nomad/fairdi/fs/public
staging: /nomad/fairdi/fs/staging
tmp: /nomad/fairdi/fs/tmp
......
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