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

Quietly fail init if no database is present #51

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

duncanjbrown
Copy link
Contributor

@duncanjbrown duncanjbrown commented Sep 26, 2022

Failing loudly under these circs context isn't helpful because it doesn't reflect a problem with the analytics setup; apps in CI often run the asset precompilation step without a database present.

Currently testing against Publish in CI, will make reviewable once that's working

Failing loudly under these circs context isn't helpful because it
doesn't reflect a problem with the analytics setup; apps in CI often run
the asset precompilation step without a database present.
@duncanjbrown duncanjbrown force-pushed the recover-init-when-no-database branch from 678a644 to 03e2d00 Compare September 26, 2022 10:55
@duncanjbrown
Copy link
Contributor Author

This has built successfully on Publish (https://github.com/DFE-Digital/publish-teacher-training/actions/runs/3134716188/jobs/5089961606) so opening for review

@duncanjbrown duncanjbrown marked this pull request as ready for review September 27, 2022 11:27
Copy link
Contributor

@misaka misaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@duncanjbrown duncanjbrown merged commit 7fbf9cf into main Sep 27, 2022
@duncanjbrown duncanjbrown deleted the recover-init-when-no-database branch September 27, 2022 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants