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

auth: comment healthcheck start_period & start_interval #1414

Merged

Conversation

iulianbarbu
Copy link
Contributor

@iulianbarbu iulianbarbu commented Nov 22, 2023

Description of change

CircleCI staging/prod deployment will fail because the start_period and start_interval configs for healthcheck are not handled gracefully when deploying the stack. The deployment will fail due to using a Docker Engine version that does not support the configs.

This PR comments on the configs explaining why, and when we'll upgrade, we can uncomment them.

How has this been tested? (if applicable)

Releasing on staging for #1402 .

@iulianbarbu iulianbarbu force-pushed the fix/auth-deployment-healthcheck branch from 392534a to 20baca5 Compare November 22, 2023 15:08
@@ -58,8 +58,10 @@ services:
interval: 1m
timeout: 10s
retries: 5
start_period: 10s
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like we should be able to use this, is it useful on its own: https://docs.docker.com/compose/compose-file/compose-versioning/#version-34?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, because the interval is set to 1 minute, so no health-check will be applied during that period.

@jonaro00 jonaro00 merged commit 4568805 into shuttle-hq:main Nov 23, 2023
32 of 33 checks passed
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.

None yet

3 participants