Releases: modcloth/ansible-role-modcloth-app
Add Optional Health-Check for Long-Running Service Deploys
This release adds an optional health check url for the deploy of long running services.
If provided, modcloth-app will wait until the url is available via GET
and returns an http status code < 400 and >= 200. If the health check url is provided and does not become available within the specified timeout and number of retries (or returns a status of > 400), the play will fail.
Allow docker env vars to be defined and empty
This release includes a minor change that allows env vars that are defined but empty to be passed into docker containers
Remove Hipchat tasks and allow disabling of rsyslog shipping
This release removes the Hipchat tasks in lieu of using the callbacks in https://github.com/ansible/ansible/blob/devel/plugins/callbacks/hipchat.py to notify Hipchat.
It also allows disabling of rsyslog shipping.
Includes bug fix for New Relic deployment notification.
Optionally notify New Relic of deployments
This release adds the ability to notify new relic of a deployment by setting modcloth_app_notify_new_relic: yes
. This release also bumps the minor version instead of the patch to indicate the large number of changes that have been made since 0.2.0
Some adjustments to HipChat notifications
This release includes some changes related to HipChat notifications:
- errors notifying HipChat are ignored (and no longer cause playbook to fail)
- notifications are sent out per env rather than per server
- instead of displaying all notifications in purple, deploy start notifications are yellow and deploy complete notifications are in green
Bug fix for HipChat messages
This fixes a bug where messages printed to HipChat all display the hostname of the first server being deployed to instead of the actual server being deployed to.
Bug fix for modcloth_app_docker_port
Now allows modcloth_app_docker_port
to be a string
Fix bug with hipchat integration
It looks like ansible-galaxy
does not pull down the symlink for modcloth_app_facts
so this release uses the unsuffixed version of the module.
Adding Hipchat integration and fixing port bug
This release integrates Hipchat notifications into the role (see defaults/main.yml
for variables to set).
Also fixes a bug where detection of whether the port was just a value depended on it being a number, but variables specified in group_vars and on the command line are strings. Now just assumes that it is a value if it is not iterable.
Updates to Docker Run Args
This update adds the following:
- more complete port mapping syntax for
docker run
--link
option fordocker run
- update deps for vagrant testing