Commit Graph

2927 Commits

Author SHA1 Message Date
Aaron Tan
344a522f3e Merge pull request #4028 from jangsutsr/3976_update_workflow_job_foreign_key_related_name
Update workflow job foreign key related_name.
2016-11-16 12:44:21 -05:00
Aaron Tan
2d1a5425d1 Fix flake8 E302 errors second round. 2016-11-16 09:56:07 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
Aaron Tan
8a55c90c2c Remove unnecessary migrations. 2016-11-15 17:19:09 -05:00
Aaron Tan
4ee7d1a136 Catch the missing piece. 2016-11-15 16:50:23 -05:00
Aaron Tan
473ed016de Fix flake8 E305 errors. 2016-11-15 16:32:27 -05:00
Aaron Tan
32fe6ea4fa Test fixture update. 2016-11-15 15:52:55 -05:00
Aaron Tan
3801b4a4e9 Update workflow job foreign key related_name. 2016-11-15 15:17:45 -05:00
Chris Church
fa29ce6382 Update AWX_ANSIBLE_CALLBACK_PLUGINS help text. 2016-11-15 12:36:29 -05:00
Aaron Tan
44cc57afba Merge pull request #4017 from jangsutsr/3976_rename_type_in_wfjt_delete_conflict_message
Rename type in workflow job template delete conflict message
2016-11-15 12:03:28 -05:00
Aaron Tan
c32185312b Rename type in wfjt delete conflict message. 2016-11-15 11:27:31 -05:00
Chris Church
dac208f384 Merge pull request #4010 from cchurch/job-timeout-defaults
Add default values for job timeouts.
2016-11-15 10:59:44 -05:00
Chris Church
21753ce49c Merge pull request #4008 from cchurch/conf-jsonfield-fixes
Fix configure Tower in Tower to work with updated django-jsonfield.
2016-11-15 10:57:42 -05:00
Chris Church
3eb6f55a80 Default JSONField to empty dict if field does not allow None. 2016-11-15 10:21:34 -05:00
Chris Meyers
e7b9410361 fix up python requirements test 2016-11-15 09:19:29 -05:00
Chris Meyers
1883485724 towards virtualenv being exactly requirements.txt
* Ignore already installed (usually global) packages when installing
requirements.txt into the virtualenv.
2016-11-15 09:19:29 -05:00
AlanCoding
262f82af43 flake8 fix 2016-11-15 08:42:22 -05:00
AlanCoding
5258c2a040 Remove in-place operations on model in test_label unit test 2016-11-15 08:33:29 -05:00
AlanCoding
1ca9426270 Remove in-place operation on User in unit test 2016-11-15 08:06:40 -05:00
Chris Church
443f100b5f Add default values for job timeouts. 2016-11-15 01:12:06 -05:00
Chris Church
8dc5e7725c Fix configure Tower in Tower to work with updated django-jsonfield. 2016-11-15 00:22:55 -05:00
Alan Rominger
731420a834 Merge pull request #3992 from AlanCoding/jsonfd_monkey
New method to monkeypatch JSONField
2016-11-14 17:12:47 -05:00
AlanCoding
339661a6a5 New method to monkeypatch JSONField 2016-11-14 16:35:56 -05:00
Chris Meyers
9f40e7ef70 fix notification unit test mock 2016-11-14 16:29:34 -05:00
Chris Meyers
c95ef4dc07 add requirements unit test 2016-11-11 17:19:52 -05:00
Chris Meyers
5b4892250d fix partial test
* We shouldn't care what order the inventory updates for the inventory
sources are returned in.
2016-11-11 15:13:28 -05:00
Chris Meyers
0efe8e9cfb fix license test
so that the license file on dev machines isn't accidentally picked up
2016-11-11 14:43:00 -05:00
Alan Rominger
e7d9fe0204 Merge pull request #3951 from AlanCoding/label_test_fix
Environment specific label test failure fix
2016-11-11 12:52:50 -05:00
AlanCoding
15558aac08 environment specific label test failure fix 2016-11-11 09:40:35 -05:00
Shane McDonald
8c4872836e Fix pyc errors when running tests 2016-11-10 16:20:12 -05:00
Matthew Jones
30984a3a79 Fix up flake8 errors 2016-11-10 13:07:48 -05:00
Alan Rominger
75c364930f Merge pull request #3932 from AlanCoding/rbac_related_fixes
Quick RBAC check_related fixes
2016-11-10 12:20:42 -05:00
Matthew Jones
5186e7d8b4 Remove some unneeded func tests for instances 2016-11-10 11:46:25 -05:00
Chris Meyers
9aaf694acf always allow running at least 1 job
* Regardless of capacity
* Add unit tests around this logic
2016-11-10 11:07:05 -05:00
Aaron Tan
ece29737ac Merge pull request #3915 from jangsutsr/3516_implement_workflow_notifications
Implement workflow notifications
2016-11-10 11:05:02 -05:00
Matthew Jones
78b8876ed9 Support expiring of capacity if a node is down
For a certain amount of time
2016-11-10 09:52:04 -05:00
Chris Meyers
5d205f1e1b remove deprecated mongo fact code and deps
* We have the requirements that users with Tower < 3.0.x must upgrade to
3.0.x before > 3.0.x. Thus, we are save to delete all mongo migration
code and deps.
2016-11-09 16:25:27 -05:00
AlanCoding
2c9cf0f6d6 fixes for RBAC bugs from check_related 2016-11-09 15:38:09 -05:00
Aaron Tan
c1419a799d Enhance notification text. 2016-11-09 14:15:29 -05:00
Aaron Tan
de6e25d4aa Custom notification body. 2016-11-08 20:02:43 -05:00
Aaron Tan
cdbc5127a6 Workflow notification backend. 2016-11-08 15:55:15 -05:00
Aaron Tan
5c5d1b7748 Enable notification endpoints. 2016-11-08 15:53:37 -05:00
Chris Meyers
930b3651a0 Merge pull request #3917 from chrismeyersfsu/task-manager_prov_callback_inv_sync_dedup
on host callback, upate dynamic inv only once
2016-11-08 15:45:38 -05:00
Chris Meyers
adcf0af2a0 on host callback, upate dynamic inv only once
* During a job template launch via the host callback launch feature,
when the host launching the job template is not found; we try to launch
associated dyn inv updates to pick up the host. Then the inv is searched
again for the host. If the host is found, then the jt is launched. This
fix carries forward the feature that prevents the dyn inv update with
cache timeout of 0 from being re-launched with the new task manager.
2016-11-08 15:06:47 -05:00
AlanCoding
105175b6b4 Fix errors in workflow surveys found through tests 2016-11-08 13:51:29 -05:00
AlanCoding
a1c17a7243 Fix issue where unified_job method overrode the SurveyMixin methods 2016-11-08 13:39:11 -05:00
AlanCoding
76eb0bb866 bump workflow survey migration number 2016-11-08 13:39:10 -05:00
AlanCoding
7f41f16509 passwords in WFJT surveys working correctly 2016-11-08 13:39:10 -05:00
AlanCoding
a87a56f518 workflow JT survey and launch serializer in functional state 2016-11-08 13:39:10 -05:00
AlanCoding
64b5e2ba5b bump migration 2016-11-08 13:39:10 -05:00