Releases: patternhelloworld/docker-blue-green-runner
[v7.0.2] Add production samples
Full Changelog: v7.0.1...v7.0.2
v7.0.1
What's Changed
- fix : Relation on SKIP_BUILDING_APP_IMAGE and ONLY_BUILDING_APP_IMAGE… by @patternhelloworld in #3
Full Changelog: v7.0.0...v7.0.1
[v7.0.0] Isomorphic and sudo-safe Runner
- Isomorphic Runner: Run the same pipeline across local and remote (SSH) environments using a single run.sh and .env. Includes a file-based image delivery and remote execution flow via GIT_IMAGE_LOAD_FROM=file.
- Sudo-safe mode: Recommended to operate with WITH_SUDO=false, supported by apply-security.sh. Safely applies host permissions and ACLs via SHARED_VOLUME_GROUP_*.
[v6.1.0] - Graceful Shutdown Module
- Check the Java Spring Boot sample
Full Changelog: v6.0.0...v6.1.0
[v6.0.0] - Streamlined for a Lighter Module
- Consul and Registrator have been removed to streamline the module, as they are no longer deemed necessary for maintaining stability.
- Change the network name from 'consul' to 'dbgr-net'
- Following this change, the following properties will no longer be available:
USE_MY_OWN_NGINX_ORIGIN=false
CONSUL_RESTART=false
CONSUL_KEY_VALUE_STORE=http://consul:8500/v1/kv/deploy/xxx
[v5.5.2] - Security Enhancements
Full Changelog: v5.5.2...v5.5.2
[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.