Use OIDC to auth the users, replace submit-build.sh by submit-build.py which does hackish way of OIDC just to test things.

This commit is contained in:
Jan Kaluza
2016-12-02 14:39:14 +01:00
parent d453352f84
commit 8cb4e0de5d
8 changed files with 172 additions and 46 deletions

View File

@@ -34,7 +34,6 @@ from module_build_service import models
from module_build_service.pdc import (
get_pdc_client_session, get_module, get_module_runtime_dependencies,
get_module_tag, get_module_build_dependencies)
import module_build_service.auth
import module_build_service.scheduler.main
from module_build_service.utils import (
submit_module_build,
@@ -290,7 +289,6 @@ def runssl(host=conf.host, port=conf.port, debug=False):
app.run(
host=host,
port=port,
request_handler=module_build_service.auth.ClientCertRequestHandler,
ssl_context=ssl_ctx,
debug=debug
)