Commit Graph

17 Commits

Author SHA1 Message Date
Chris Church
cba55a061a Numerous model-related updates and supporing changes, including:
- Add variables field on Host/Group models and remove separate VariableData model.
- Add data migrations for existing variable data.
- Update views, serializers and tests to keep roughly the same API interface for variable data.
- Add has_active_failures properties on Group/Host models to provide indication of last job status.
- Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook.
- Add host_config_key field to JobTemplate model for use by empheral hosts.
- Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job.
- Add failed flag on JobHostSummary model.
- Add play/task fields on JobEvent model to capture new context variables from callback.
- Add parent field on JobEvent model to capture hierarchy of job events.
- Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy).
- Removed existing Tag model, replace with django-taggit instead.
- Removed existing AuditLog model, replacement TBD.
2013-06-10 17:34:37 -04:00
Michael DeHaan
9e519400bc Don't install PyYAML as ansible already will have. 2013-05-26 12:47:37 -04:00
Chris Church
9478d8d532 Updates to setup/requirements, add Makefile target for running tests with coverage. 2013-05-21 19:08:46 -04:00
Chris Church
7809e94fde Settings updates to support production installation. 2013-05-21 09:10:54 -04:00
Michael DeHaan
1fdf99fc31 Do not install paramiko from pip, as ansible already requires the OS paramiko and this will
result in it not being found.
2013-04-27 11:25:17 -04:00
Chris Church
d6d468633f Task refactoring, updates to support ssh-agent and responding to password prompts. Needs test for using credentials. 2013-04-24 11:35:30 -04:00
Chris Church
cc25d55121 Work in progress on credential/job updates. 2013-04-24 00:43:36 -04:00
Chris Church
bc1f3e320e Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests. 2013-04-19 15:40:13 -04:00
Chris Church
0155f0acea Update settings template to use SQLite test database when running acom_inventory script in tests, initial stub for callback event logger. 2013-04-02 14:53:52 -04:00
Chris Church
cb381849f3 Updated requirements/settings to use new version of devserver. 2013-03-22 01:47:24 -04:00
Michael DeHaan
d6aea8edcb Switch over to django-rest-framework from tastypie. Less black magic, seems to just work :) 2013-03-19 22:26:35 -04:00
Michael DeHaan
cf995c302e This library is now vendored since we had to hack it some. 2013-03-19 00:04:26 -04:00
Michael DeHaan
3f4842d9e7 Get nested resources in tastypie largely operational. 2013-03-19 00:02:52 -04:00
Michael DeHaan
366fefe419 add very early start to cli, add hammock to requirements.txt 2013-03-15 14:59:46 -04:00
Michael DeHaan
2cea592c6c get organizations API working, hello REST world! 2013-03-13 17:58:51 -04:00
Chris Church
e47c2fe08f Updated pip requirements. 2013-03-13 16:04:17 -04:00
Chris Church
13feba1b41 Added pip requirements. 2013-03-13 16:03:24 -04:00