Releases: patternhelloworld/docker-blue-green-runner
[v5.5.1] - Remove APP_ENV and simplify configuration
- Remove APP_ENV=local to avoid overengineering
- Modify app build parameters to allow additional ENV variables
- Review and adjust rollback scripts
- Refactor samples to prevent confusion
[v5.4.0] - Track Git SHA for your image and container
- Specify the location of the .git folder for your project here to enable tracking through container labels.
- To track, simply run
bash check-current_states.sh
. - In .env, see the property
DOCKER_BUILD_SHA_INSERT_GIT_ROOT=
- Additionally, includes minor refactors
[v5.3.0] - Embedded yq & Enhanced Volume Checks
Overview
This release enhances the usability of the docker-blue-green-runner by embedding yq directly within the tool and adding an advanced volume existence check option. Users no longer need to manually install a specific version of yq, and the new DOCKER_COMPOSE_HOST_VOLUME_CHECK option allows more control over host volume directory validation.
Key Enhancements
Embedded yq Version 4.35.1
yq is now bundled within the tool (version 4.35.1), eliminating the need for users to install it separately. This ensures compatibility and reduces setup time.
yq is stored in the ./bin folder and automatically downloaded if not present, based on the system architecture and OS.
New DOCKER_COMPOSE_HOST_VOLUME_CHECK Option
Introduced the DOCKER_COMPOSE_HOST_VOLUME_CHECK configuration, allowing users to enforce or skip host volume directory checks.
This configuration enhances flexibility, especially when managing development and production environments with varying volume requirements.
Platform-Specific Improvements for apply-security.sh
chown command is now conditionally skipped on macOS (Darwin), ensuring compatibility across different operating systems.
Improved Logging
- Updated informational, warning, and error messages with refined language and improved formatting for readability.
- Added color coding (e.g., bold purple for warnings, bold red for errors) to help users quickly identify critical messages.
- Improved message content for better clarity on deployment status, configuration checks, and necessary action points.
Refactor : all
- Improve safety
- Improve architecture
- Consider Traefik
Full Changelog: v5.1.0...v5.1.0
[Emergency] Different behavior of yq (yml parsing library) & gliderlabs/registrator:v7 NOT supported anymore
- The latest version (v4.4.x) introduces parsing errors compared to previous versions like v4.35.1.
- Fixed the yq version to v4.35.1 to resolve these issues.
- The docker image gliderlabs/registrator:v7 has been removed from the cloud repository, so fixed the version to gliderlabs/registrator:master.
Safe even when NGINX Container is recreated (NGINX_RESTART is set to 'true')
- Add Fully Customizing NGINX Configuration, Ecosystem of NGINX Configuration, NGINX Contingency in https://github.com/Andrew-Kang-G/docker-blue-green-runner?tab=readme-ov-file#quick-guide-on-usage
Improve Security and Normalize Logrotate
- Enhance security by applying stricter Linux file modes to scripts and shared folders
- Normalize Logrotate settings for Nginx access and error logs.
- Set a selective parameter in rollback.sh
Enhance the reliability of state assessment logic
- Enhance the reliability of state assessment logic in accordance with the contingency plan
- Update README.md
GitLab Container Registry & CRLF issues & REDIRECT_HTTPS_TO_HTTP on .env
- Indicate CRLF issues for Windows 10 WSL2 in README.md.
- Changing 'REQUEST: -https-> Nginx (SSL set up) -> https -> Spring Boot (JKS set up)' to 'REQUEST: -https-> Nginx (SSL set up) -> http -> simple Spring Boot' is possible, as the REDIRECT_HTTPS_TO_HTTP setting has been added to .env.
- Apply the Nginx Contingency Plan where necessary as well.
- Find the GitLab Container Registry module (push-to-git.sh) in README.md.