Skip to content
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

ci: collect postgresql logs in CI #52

Open
tmc opened this issue Oct 3, 2017 · 4 comments
Open

ci: collect postgresql logs in CI #52

tmc opened this issue Oct 3, 2017 · 4 comments

Comments

@tmc
Copy link
Owner

tmc commented Oct 3, 2017

If we do have an odd failure having postgres logs would be useful.

@mileswilson
Copy link

CircleCI already collects the logs from the support containers, please see the screenshot:
https://screenshots.firefox.com/IBdqbEGhCZu381v1/circleci.com

Are you after having the logs archived with the test results?

@tmc
Copy link
Owner Author

tmc commented Oct 3, 2017

Well here we had a flake and we didn't get very useful output in the pg container: https://circleci.com/gh/tmc/pqstream/298

@empijei
Copy link

empijei commented Oct 4, 2017

If you want the logs to be collected together with the test output can't you just edit the bash invocation to the test to "cat" the log files if the command does not exit with 0?

@tmc
Copy link
Owner Author

tmc commented Oct 4, 2017

It's running in a separate container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants