Skip to content

check mirror config in Docker #3676

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

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

vladak
Copy link
Member

@vladak vladak commented Jul 21, 2021

This change adds --check_config option to the opengrok-mirror command and performs mirror configuration check during Docker startup. If the config check fails, sync is disabled. For the time being this is better than exiting the container. Given the problems with #3650 most run it with restart: always and that would leads to infinite cycle.

@vladak vladak added the docker label Jul 21, 2021
@ahornace ahornace merged commit 5036d90 into oracle:master Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants