v0.4.6 - Docker Healthcheck & CI/CD Improvements #55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.4.6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🎉 Overview
This PR includes Docker improvements and CI/CD pipeline optimization for v0.4.6.
✨ Changes
🐳 Docker Healthcheck (Resolves #47)
HEALTHCHECKinstruction to Dockerfilecurlto runtime dependencies for healthcheck support🔧 CI/CD Pipeline Improvements
v*)mainbranch pushes🧹 Repository Cleanup
migrate-dates,server) from git trackingnode_modules/directory from git tracking (464 files).gitignorewith additional entries📋 Related Issues
✅ Testing
.gitignorePull Request Overview
This release adds Docker healthcheck functionality and optimizes the CI/CD pipeline to reduce resource usage. The changes focus on improving container monitoring capabilities while streamlining the build and deployment process.
Key Changes:
HEALTHCHECKinstruction withcurldependency to monitor application availability every 30 secondslatesttags on Git tag pushesnode_modules/Reviewed Changes
Copilot reviewed 2 out of 465 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@ -52,10 +43,8 @@ jobs:with:The condition
startsWith(github.ref, 'refs/tags/v')will tag aslatestfor any tag starting with 'v', including pre-release tags likev0.4.6-betaorv0.4.6-rc1. Consider adding a condition to exclude pre-release versions from being tagged aslatest, such as using&& !contains(github.ref, '-').@ -50,5 +51,9 @@ EXPOSE 8080ENV GIN_MODE=releaseThe healthcheck uses a generic root endpoint check. Consider using a dedicated
/healthor/healthzendpoint that can verify database connectivity and other critical dependencies, rather than just checking if the HTTP server responds.Pull Request Overview
Copilot reviewed 3 out of 466 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@ -106,0 +104,4 @@router.GET("/healthz", func(c *gin.Context) {// Check database connectivitysqlDB, err := db.DB()if err != nil {The old
/healthendpoint has been replaced with/healthz. Consider keeping both endpoints for backward compatibility, or document this breaking change in the release notes to ensure existing monitoring systems can be updated.