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

Add GitLab specific HTTP checks and improve logging #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olivierpons
Copy link

This PR adds the following improvements:

  • Add specific HTTP status code checks for GitLab (200, 301, 302, 303)
  • Add timestamps to log messages for better debugging
  • Use curl when available, fallback to TCP check
  • Adjust sleep interval to 5 seconds to reduce server load
  • Improve error handling with HTTP status codes

This is particularly useful when waiting for GitLab to be fully operational, as it checks not just the port availability but also the HTTP response.

@atkrad
Copy link

atkrad commented Dec 13, 2024

Hello @olivierpons, As a suggestion, you can use Wait4X, which covers all those features.

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