-
Notifications
You must be signed in to change notification settings - Fork 91
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 a readiness check to the Docker container #1656
Conversation
cd033e9
to
6338404
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for improving our clients! I have two quick question and one remark.
# - name: DockerHub Registry Login | ||
# uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d | ||
# with: | ||
# username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
# password: ${{ secrets.DOCKER_HUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we entirely remove this? We shouldn't commit commented code unless not absolutely necessary. If so, please add a top comment explaining why this is commented out and when it should be used.
Doing some research I found a better way to do healthchecks without needing to compromise the Docker image for the parachain: Closing this and opening a new PR with some of the enhancements of this PR without the readiness check |
# Description This PR: - Sets some additional RFC standard LABELS to our Docker container - Upload the container to both GitHub and DockerHub registries (PRs do not upload to DH) - Minor Dockerfile efficiencies. It's a follow up from #1656
* Add a readiness check to the Docker container * missing path change for centrifuge binary * push docker to GH registry on PRs to test image * more standard paths for the binaries * log into ghcr * Add standardized OCI labels * push to both registries * fix registry permissions * comply with RFC3339 standard date format * Minor Docker enhancements # Description This PR: - Sets some additional RFC standard LABELS to our Docker container - Upload the container to both GitHub and DockerHub registries (PRs do not upload to DH) - Minor Dockerfile efficiencies. It's a follow up from #1656 * cleanup from old PR * Update build-docker.yml with kf info
* Add a readiness check to the Docker container * missing path change for centrifuge binary * push docker to GH registry on PRs to test image * more standard paths for the binaries * log into ghcr * Add standardized OCI labels * push to both registries * fix registry permissions * comply with RFC3339 standard date format * Minor Docker enhancements # Description This PR: - Sets some additional RFC standard LABELS to our Docker container - Upload the container to both GitHub and DockerHub registries (PRs do not upload to DH) - Minor Dockerfile efficiencies. It's a follow up from #1656 * cleanup from old PR * Update build-docker.yml with kf info
Description
This is a pre-requisite to be able to run our fullnode/archive infrastructure as an auto-scalable cluster. In order for a proxy or a load balancer to know if a fullnode is ready to accept traffic it needs to check a bit more than "is port 9933 open?".
This PR:
Reviewers: if you think about something more sophisticated or consider "isSyncheched and has peers" insuficient please add to the script. The important question it needs to answer is "Am I ready to recieve RPC and WS traffic?"
Extras on this PR: