New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load service config only once #318
load service config only once #318
Conversation
Fixes packit#153 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Build failed.
|
`make check_in_container` can remove the current working directory w/o this patch Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
locally service tests now |
Build failed.
|
I don't have the patience to deal with requre tests right now. |
|
||
logger = logging.getLogger("packit_service") | ||
# no need to thank me, just buy me a beer | ||
logger.debug(f"URL map = {application.url_map}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some strange reason there's [wsgi:error]
in the output:
[Wed Jan 15 08:09:54.088320 2020] [wsgi:error] [pid 19:tid 140426144958208] 08:09:54.088 app.py DEBUG URL map = Map([<Rule '/api/testing-farm/results' (OPTIONS, POST) -> api.testing-farm_testing_farm_results>,
[Wed Jan 15 08:09:54.088354 2020] [wsgi:error] [pid 19:tid 140426144958208] <Rule '/api/webhooks/github' (OPTIONS, POST) -> api.webhooks_github_webhook>,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say that everything printed by the wsgi app is printed as errors, which is really weird; maybe it can be confiigured in the httpd config
Fixes #153