Commit graph

7 commits

Author SHA1 Message Date
Anders Ingemann
96028f96e1 Various improvements and additions.
I couldn't be bothered to untangle this, so here it goes:
* Log colors depending on loglevel
* Simplified Filelogger
* Remove description=None from basetask
* create_list creates task list from argument now
* Task rollback feature: If a task fails, the tasklist calls rollback() on the completed tasks in reverse order
* Added TaskException to common.exceptions as a base to extend from
* Added TriggerRollback task to common.tasks for development purposes
* An EBS volume for bootstrapping is now created and attached to the instance (including rollback actions)
* EC2 Connect task now depends on host.GetInfo
2013-07-08 23:14:00 +02:00
Anders Ingemann
a401f9edc0 Order by phases as well 2013-07-08 23:13:59 +02:00
Anders Ingemann
0f29b3d0e2 Cycle detection and topological sorting 2013-07-08 23:13:59 +02:00
Anders Ingemann
1e4af40b3c Task dependencies, bogus implementation 2013-07-08 23:13:59 +02:00
Anders Ingemann
a8364fe04d logging 2013-07-08 23:13:58 +02:00
Anders Ingemann
867fc9b276 Move taskname printout 2013-07-08 23:13:58 +02:00
Anders Ingemann
aa86b75974 Rename common module to base 2013-07-08 23:13:57 +02:00
Renamed from common/task.py (Browse further)