Anders Ingemann
4d86ae5bea
Implement MountVolume task, catch less exceptions
2013-07-08 23:14:01 +02:00
Anders Ingemann
5418ac87ca
Move bootstrapdir requirement to main json schema
2013-07-08 23:14:01 +02:00
Anders Ingemann
29394270c6
Remove tasks not in tasklist from dependency graph
...
Use filter() for filtering instead of list comprehensions
2013-07-08 23:14:01 +02:00
Anders Ingemann
237dde9285
Remove task.run() it is hiding missing run functions
2013-07-08 23:14:01 +02:00
Anders Ingemann
1214210738
Filesystem tasks
2013-07-08 23:14:01 +02:00
Anders Ingemann
ba461a815c
Rename TaskException to TaskError, use it when checking installed packages
2013-07-08 23:14:01 +02:00
Anders Ingemann
442397fb2e
Way better rollback architecture through improvements in flexibility
2013-07-08 23:14:00 +02:00
Anders Ingemann
2135cdbc1a
PEP8 fixes
2013-07-08 23:14:00 +02:00
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
4d10f94926
Check for EBS backing the proper way
2013-07-08 23:14:00 +02:00
Anders Ingemann
c7625f85d8
Move EC2 VolumeError out of common
2013-07-08 23:14:00 +02:00
Anders Ingemann
29b52a6a70
Create volume
2013-07-08 23:14:00 +02:00
Anders Ingemann
1240294784
Validate volume size is an integer
2013-07-08 23:14:00 +02:00
Anders Ingemann
79a699a360
Better schema validation and errors
2013-07-08 23:13:59 +02:00
Anders Ingemann
b701bd028b
refactor logging setup
2013-07-08 23:13:59 +02:00
Anders Ingemann
88ebeadd25
fix phases and their ordering
2013-07-08 23:13:59 +02:00
Anders Ingemann
2f9fa4e6f7
Allow comments in manifest files
2013-07-08 23:13:59 +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
ae4a2b649d
Ignore vagrant files
2013-07-08 23:13:58 +02:00
Anders Ingemann
5689b77011
Manifest validation, simplified main run fn
2013-07-08 23:13:58 +02:00
Anders Ingemann
a8364fe04d
logging
2013-07-08 23:13:58 +02:00
Anders Ingemann
d18fa6dd6b
Use prettier format syntax
2013-07-08 23:13:58 +02:00
Anders Ingemann
867fc9b276
Move taskname printout
2013-07-08 23:13:58 +02:00
Anders Ingemann
9f7b414627
Change placeholder name
2013-07-08 23:13:58 +02:00
Anders Ingemann
aa86b75974
Rename common module to base
2013-07-08 23:13:57 +02:00
Anders Ingemann
f0dec6d6af
Keep TaskList inside common module
2013-07-08 23:13:57 +02:00
Anders Ingemann
a68511c1d5
reduce visibility of some submodules
2013-07-08 23:13:57 +02:00
Anders Ingemann
2a3b450e3f
prettier module defs
2013-07-08 23:13:57 +02:00
Anders Ingemann
6230684c62
Refactor ec2 provider a bit
2013-07-08 23:13:57 +02:00
Anders Ingemann
ef343016f0
Remove commandline arguments, run solely on manifest file
2013-07-08 23:13:57 +02:00
Anders Ingemann
e63e2cca0c
Plugin architecture working
2013-07-08 23:13:56 +02:00
Anders Ingemann
4dbdb387cd
Basic structure up and running
2013-07-08 23:13:56 +02:00