Commit Graph

65 Commits

Author SHA1 Message Date
Matthew Jones
b59e4d8111 Fix up some flake8 import issues 2015-12-17 11:34:01 -05:00
Matthew Jones
0e98491dac Remove PROJECTS_ROOT and JOBOUTPUT_ROOT from stngs 2015-12-17 11:22:45 -05:00
Matthew Jones
910f9bd4a3 Fixing up some flake8 issues 2015-12-17 10:48:15 -05:00
Matthew Jones
e97e60bd30 Update settings location for certain values
* PROJECTS_ROOT
* JOBOUTPUT_ROOT
* SCHEDULE_MAX_JOBS
* STDOUT_MAX_BYTES_DISPLAY
2015-12-15 15:14:16 -05:00
Matthew Jones
09f4c9fbbe Fixed job redaction for projects and unit tests 2015-08-31 16:24:38 -04:00
Matthew Jones
549809dfa4 Fix chunked stdout display issue
* We removed stdout redaction from jobs and job templates but only for
  the full stdout dump, this extends it to the limited display also
2015-08-25 16:05:03 -04:00
Chris Meyers
c038bdb1d5 flake8 fixes 2015-08-24 08:48:53 -04:00
Matthew Jones
d4dccff20c Change default sensitive redaction behavior
* Only project updates will contain sensitive data redaction logic when
  displaying stdout
2015-08-13 15:48:56 -04:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
Chris Meyers
acc0f420ce removed print statements 2015-05-22 09:40:56 -04:00
Chris Meyers
79d6ecc2ef inherit child job finish status 2015-05-21 17:07:05 -04:00
Chris Church
e017270201 Update serializers to remove empty choices, provide default values for fields, and better indicate the field type when possible for OPTIONS requests and browsable API docs. 2015-05-11 18:25:30 -04:00
Matthew Jones
6a18a50d99 Fixing flake8 errors, this should be almost all of them! 2015-02-11 16:42:55 -05:00
Chris Meyers
ece59c31e9 always save parent 2015-01-29 09:34:43 -05:00
Chris Meyers
7b4e2953a6 did not previously translate project update parent instance correctly 2015-01-28 10:11:10 -05:00
Chris Meyers
fc552a76b7 forgot to put quotes around a key name 2015-01-28 07:45:47 -05:00
Chris Meyers
d051b6348b Fix child job->parent job status update.
* refactored so that project shares parents _update_parent_instance() code
* allow parent job status field to be anything a child status job field can be
* fixed child job status to parent job status propagation
2015-01-26 16:55:26 -05:00
Matthew Jones
1f723e9404 More work on unicode for project dirs 2014-12-17 12:52:29 -05:00
Matthew Jones
edb646fdf9 Use smart_str more widely with project paths... hopefully this takes
care of the remaining issues
2014-12-17 11:06:56 -05:00
Matthew Jones
c014399d6e Try smart_str for this particular encoding 2014-12-16 13:59:06 -05:00
Matthew Jones
cf5cd3fcdc Make sure we are decoding the project path 2014-12-16 13:16:07 -05:00
Matthew Jones
9e962d4d5b Fix up unicode project directory issue, with unit tests 2014-12-15 14:17:21 -05:00
Luke Sneeringer
a8390070c1 Explicitly typecast self.pk. 2014-12-09 13:29:55 -06:00
Matthew Jones
3d3cf2bb9e Make sure we include schedules as things that can be included when
creatinga  concrete job(any) from a job template, project update, or
inventory update
2014-12-08 14:03:16 -05:00
Chris Church
12f07e454f Reenable test for key=value extra vars, remove some unused imports. 2014-12-04 15:42:18 -05:00
Chris Church
526e4f2a2c Use unicode project path when searching for playbooks. Fixes https://trello.com/c/yJGDluu1 2014-12-03 19:10:49 -05:00
Matthew Jones
ca5689c8ad Fix a bug where checking cache timeout blackout could fail on projects 2014-11-20 11:28:09 -05:00
Matthew Jones
300396c7ce Extend cache timeout to schedule runner also, block running a schedule
of an inventory update or a project update if its schedule places
it within that time also
2014-11-13 13:47:23 -05:00
Luke Sneeringer
c3cc163702 Presence of Redis on all platforms. 2014-10-23 08:50:45 -05:00
Luke Sneeringer
627c6f029e Adding sensible ordering to common models.
https://trello.com/c/tTwRM2VV/102-tower-api-teams-endpoint-does-not-sort-consistently
2014-07-24 15:01:16 -05:00
Matthew Jones
4810b9532d Generalize socketio sender from task and emit more data specific to the type of unified job sending the update 2014-04-22 15:52:45 -04:00
Chris Church
59dc2a2cb8 AC-1158 Fix project to set delete on next update. 2014-04-08 15:41:40 -04:00
Matthew Jones
49f6bd3e1c Fix imports for using Job in some models 2014-04-01 13:02:33 -04:00
Matthew Jones
4a535e5404 Updating dependency check for jobs, project updates, and inventory updates 2014-03-31 17:16:49 -04:00
Chris Church
e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church
35e4bd477c AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes. 2014-03-28 22:07:24 -04:00
Matthew Jones
b665345070 Support passing the schedule when signaling start so we record which
schedule this came from
2014-03-27 22:45:51 -04:00
Chris Church
d8383a4d69 AC-1076 Exposed scm_update_cache_timeout for projects, added needs_update_on_launch property to project and inventory source models. 2014-03-26 16:40:55 -04:00
Chris Church
0b050466c5 AC-1077 Sort playbooks alphabetically (case-insensitive). 2014-03-25 23:06:27 -04:00
Chris Church
ac0927f430 AC-1060 Add API support for vault password. 2014-03-25 22:54:14 -04:00
Chris Church
8ad72426b4 AC-1040 Work on unified job serializers. 2014-03-25 22:04:37 -04:00
Matthew Jones
03249e59f3 Fix up job run types so that we aren't auto-starting new jobs. Fix up
job dependency generator to call the right new methods for generating
inventory and project updates
2014-03-25 15:21:30 -04:00
Chris Church
296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church
02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -04:00
Chris Church
1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church
e6f3032b94 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-24 17:11:09 -04:00
Chris Church
691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church
0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Matthew Jones
3e88894f85 Temporarily relax task notification and rely on polling 2014-03-23 18:37:51 -04:00