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

bug/minor: MySql: fix healthcheck crash #39

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

MoustaphaCamara
Copy link
Collaborator

@MoustaphaCamara MoustaphaCamara commented Dec 9, 2024

Fix #38
update-db-schema fails to parse docker when mysql container has no healthcheck values.

  • check if healthcheck is available before continuing. If not detectable, wait 20 seconds and retry.

  • no healthcheck :
    no-healthcheck

  • waiting for mysql container :
    waiting

  • healthy
    Capture d’écran du 2024-12-12 11-31-56

Copy link
Contributor

@NicolasCARPi NicolasCARPi left a comment

Choose a reason for hiding this comment

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

please run through shellcheck and add double quotes where needed

@MoustaphaCamara
Copy link
Collaborator Author

please run through shellcheck and add double quotes where needed

I fixed for this issue, I'll make another PR to address other shellcheck warnings for this file, so i can test it thoroughly before comitting :)

Copy link
Contributor

@NicolasCARPi NicolasCARPi left a comment

Choose a reason for hiding this comment

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

Thanks!

@NicolasCARPi NicolasCARPi merged commit 696b883 into master Dec 12, 2024
@NicolasCARPi NicolasCARPi deleted the mouss-MySQL-healthcheck branch December 12, 2024 14:45
@alexander-haller
Copy link

Do you no longer increment versions when committing to master?

@NicolasCARPi
Copy link
Contributor

image

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

Successfully merging this pull request may close these issues.

Issue with running update when MySQL has no healthcheck
3 participants