lp:~hazmat/pyjuju/unit-agent-formula-upgrade
Created by
Kapil Thangavelu
and last modified
- Get this branch:
- bzr branch lp:~hazmat/pyjuju/unit-agent-formula-upgrade
Only
Kapil Thangavelu
can upload to this branch. If you are
Kapil Thangavelu
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Gustavo Niemeyer: Approve
-
Diff: 1659 lines (+923/-179)17 files modifieddocs/source/drafts/formula-upgrades.rst (+27/-31)
docs/source/drafts/upgrades.rst (+4/-4)
ensemble/agents/machine.py (+7/-21)
ensemble/agents/tests/test_machine.py (+0/-1)
ensemble/agents/tests/test_unit.py (+253/-40)
ensemble/agents/unit.py (+119/-7)
ensemble/control/tests/test_upgrade_formula.py (+85/-14)
ensemble/control/upgrade_formula.py (+22/-16)
ensemble/hooks/executor.py (+56/-25)
ensemble/hooks/tests/test_executor.py (+54/-4)
ensemble/state/environment.py (+1/-1)
ensemble/unit/formula.py (+43/-0)
ensemble/unit/lifecycle.py (+22/-6)
ensemble/unit/tests/test_formula.py (+98/-0)
ensemble/unit/tests/test_lifecycle.py (+22/-5)
ensemble/unit/tests/test_workflow.py (+79/-4)
ensemble/unit/workflow.py (+31/-0)
Branch information
Recent revisions
- 240. By Kapil Thangavelu
-
make sure the upgrade flag presence check is done before we clear the flag.
- 238. By Kapil Thangavelu
-
clear upgrade before flag before retrieving service formula id, remove executor run lock acquisition when starting
- 233. By Kapil Thangavelu
-
upgrade unit agent tests, remove duplicate test, add some state assertions, clean up doc strings.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:pyjuju