Skip to content
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

port health check to a hook #52

Merged
merged 1 commit into from
Nov 12, 2015
Merged

port health check to a hook #52

merged 1 commit into from
Nov 12, 2015

Conversation

reset
Copy link
Collaborator

@reset reset commented Nov 12, 2015

This will allow a developer to create a special file in their package; hooks/health_check which will be run instead of checking the status of the supervisor for the package's health.

The health_check script can exit with one of the special exit codes 0, 1, 2, or 3 to indicate wether the service is in one of the following states:

  • 0 - ok
  • 1 - warning
  • 2 - critical
  • 3 - unknown

gif-keyboard-12868492231634419951

@chef-delivery
Copy link
Contributor

This PR has passed 'Verify' and is ready for review and approval!
Use: '@delivery approve' when code review is complete.

@adamhjk
Copy link
Contributor

adamhjk commented Nov 12, 2015

gif-keyboard-4964030367071593348

@adamhjk
Copy link
Contributor

adamhjk commented Nov 12, 2015

@delivery approve

chef-delivery added a commit that referenced this pull request Nov 12, 2015
Merged change bff23248-eb8b-4eaa-87f1-f999d70aa7aa

From review branch health-hook into master

Signed-off-by: adam <[email protected]>
@chef-delivery chef-delivery merged commit 3f51e88 into master Nov 12, 2015
@chef-delivery chef-delivery deleted the health-hook branch November 12, 2015 14:59
@chef-delivery
Copy link
Contributor

Change: bff23248-eb8b-4eaa-87f1-f999d70aa7aa approved by: @adamhjk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants