Merge lp://qastaging/~doanac/uci-engine/worker-health into lp://qastaging/uci-engine
Proposed by
Andy Doan
Status: | Merged |
---|---|
Approved by: | Andy Doan |
Approved revision: | 632 |
Merged at revision: | 633 |
Proposed branch: | lp://qastaging/~doanac/uci-engine/worker-health |
Merge into: | lp://qastaging/uci-engine |
Diff against target: |
316 lines (+155/-1) 11 files modified
charms/precise/rabbitmq-worker/config.yaml (+5/-0) charms/precise/rabbitmq-worker/hooks/hooks.py (+7/-0) charms/precise/rabbitmq-worker/metadata.yaml (+4/-0) ci-utils/ci_utils/amqp_worker.py (+9/-0) ci-utils/ci_utils/data_store.py (+2/-0) ci-utils/ci_utils/image_store/__init__.py (+2/-0) ci-utils/ci_utils/json_status.py (+67/-0) ci-utils/ci_utils/tests/test_json_status.py (+44/-1) image-builder/imagebuilder/run_worker.py (+5/-0) juju-deployer/relations.yaml (+5/-0) test_runner/tstrun/run_worker.py (+5/-0) |
To merge this branch: | bzr merge lp://qastaging/~doanac/uci-engine/worker-health |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Celso Providelo (community) | Approve | ||
Review via email:
|
Commit message
amqpworker: add ability to provide json status
This adds a simple in-process webserver to report json status. It
then uses the hook to give all rabbit workers this support.
Each worker can override the "engine_health" method to provide
any custom checks they desire.
Description of the change
Allows our workers to report deployed revision so we can close out:
https:/
This also provides the ground work to support:
To post a comment you must log in.
PASSED: Continuous integration, rev:629 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/960/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/960/ rebuild
http://