1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
Commit Graph

1845 Commits

Author SHA1 Message Date
Chris Houseknecht
bcab5e719e Added support for schedule.enabled to Jobs page. 2014-03-25 11:07:24 -04:00
Chris Houseknecht
70be5d9a77 Latest Jobs and scheduling changes. 2014-03-25 11:07:24 -04:00
Chris Houseknecht
166cf61dc1 Added schedule.enabled support to job_template.schedules and projects.schedules. 2014-03-25 10:53:23 -04:00
Chris Houseknecht
54f3062445 Set next_run to be the key field, sorted in desc order. Moved name to appear before type. 2014-03-25 10:09:00 -04:00
Chris Houseknecht
f153105f79 Added support for schedule.enabled to Jobs page. 2014-03-25 10:02:10 -04:00
Chris Church
296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Houseknecht
71904c3b5b Latest Jobs and scheduling changes. 2014-03-24 20:30:07 -04:00
Chris Church
871b89ab28 Merge branch 'unified-jobs' of github.com:ansible/ansible-commander into unified-jobs
Conflicts:
	awx/main/models/__init__.py
	awx/main/models/base.py
	awx/main/models/inventory.py
	awx/main/models/jobs.py
	awx/main/models/projects.py
	awx/main/models/unified_jobs.py
	awx/main/tests/base.py
2014-03-24 18:37:44 -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
fba3b1e09d AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-24 17:04:27 -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
Chris Church
b631f24e5b AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-24 16:49:30 -04:00
Chris Church
e957de2016 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-24 16:49:30 -04:00
Chris Church
99c62f1261 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 16:09:49 -04:00
Matthew Jones
61ab197b3a If we fail the prestart check on a job, record the conditions by which we fail 2014-03-24 14:57:53 -04:00
Matthew Jones
ec2dfa3c74 Rename link for unified jobs list 2014-03-24 12:01:01 -04:00
Matthew Jones
2d443bad26 Change the api v1 resource for unified jobs 2014-03-24 11:58:05 -04:00
Matthew Jones
b35cee7b72 Eliminate the 'pending' status and remove dependency checks that
necessitated it during pre-run... tighten the transaction wrapper
to just be used when actually updating model details
2014-03-24 11:48:28 -04:00
Matthew Jones
0f1fc77be3 Switch up the api end point for unified jobs 2014-03-24 11:48:04 -04:00
Matthew Jones
af231cc8b7 Resolve can_start from the client side and the signaler side 2014-03-24 09:47:36 -04:00
Matthew Jones
6941d89502 Tasks are only 'can_start' if they are in the 'new' state 2014-03-23 19:56:28 -04:00
Matthew Jones
3e88894f85 Temporarily relax task notification and rely on polling 2014-03-23 18:37:51 -04:00
Chris Houseknecht
10e6baaca0 Jobs page changes. Modified JobsEdit controller to incorporate new fields. Shows/hides job template based on the type of job. Re-ordered fields. Made the stdout textarea resizable. Fixed a bug in the accordions. 2014-03-23 04:14:29 -04:00
Chris Houseknecht
65aae82827 Fixed inventory host status to work with pop-over changes. 2014-03-22 21:17:24 -04:00
Chris Houseknecht
f4efad714f More tweaks to pop-over formating. 2014-03-22 18:36:39 -04:00
Chris Houseknecht
eea41e3401 Continuing work on new Jobs page. Increased pop-over width. Added a footer explaning how to close. Added close-on-click behavior in addition to esc key. 2014-03-22 17:49:30 -04:00
Matthew Jones
bec301c2a8 Shift task start signal into an asynchronous task so we don't deadlock trying to update the same record from the task runner while waiting for the signal to be received from the signaler 2014-03-22 11:18:25 -04:00
Matthew Jones
4b9059388e Switch to using a network socket instead of an ipc socket, closes issue AC-1088 2014-03-21 14:44:22 -04:00
Chris Houseknecht
523caf846c Tweaked start of inventory sync so that spinner appears continuously while the initial tree refresh and host reload runs. 2014-03-21 04:15:36 +00:00
Chris Church
2cb3f31b01 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-21 00:05:36 -04:00
Matthew Jones
e66fa7cead Fix up some bugs for the UI's dummy endpoints 2014-03-20 22:09:21 -04:00
Chris Church
52b8792058 AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-20 21:46:16 -04:00
Chris Church
54c533d410 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-20 19:16:58 -04:00
Chris Houseknecht
ed63ea433a Fixed refresh of inventory tree after a group refresh initiates. Fixed group add js error caused by source_vars == null when ec2 source selected. 2014-03-20 19:10:13 -04:00
Matthew Jones
f3e9be636c Add some dummy api end points for House 2014-03-20 17:59:58 -04:00
Chris Houseknecht
d38c8ee93e Inventory host edit method now supports and 'edit' and an 'add' mode. Adding a host now uses the shared modal module, giving it a resizable and draggable dialog along with auto-resizing textarea. 2014-03-20 13:20:03 -04:00
Chris Houseknecht
1bc9ab68eb Moved jqueryui dialog creation to a shared module along with textarea auto-sizing. Inventory host edit dialog is now constructed using this new module. Fixed host enabled flag on the host edit dialog so that it is disabled for externally managed hosts. 2014-03-20 12:25:26 -04:00
Matthew Jones
6f11502528 Emit log messages by default on the task runner 2014-03-20 11:46:58 -04:00
Matthew Jones
f1ac2ff899 Bug fixes for CentOS 2014-03-20 11:22:19 -04:00
Chris Church
b970bf54fa AC-1040 Update jobs models and migrations (work in progress). 2014-03-19 16:37:01 -04:00
Chris Houseknecht
18a5a6556e AC-1068 all variables (inventory, template, group, host) are now sorted alphabetically 2014-03-19 20:02:31 +00:00
Matthew Jones
c9340cf5f1 Add a new mechanism for automagically creating a tmux session, splitting it into panes, and starting each Tower needed tower service... This is so you don't have to start each one manually 2014-03-19 13:51:55 -04:00
Chris Houseknecht
7147a9ccf9 Clicking anywhere on Group name column now selects the row on Inventory detail page. 2014-03-19 13:42:45 -04:00
Matthew Jones
bf19b76d5a Merge remote-tracking branch 'origin/task-system-rework'
* origin/task-system-rework: (36 commits)
  Need to grab just the first item for the scm test project update
  Revert a project unit test
  Make sure we are calling signal_start in unit tests
  Make sure we are calling signal_start in unit tests
  Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away
  Fixing up unit tests
  Missing line-end comma
  Prevent deadlocks on unit tests in a very specific scenario
  Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT
  Missing semicolon
  Remove update on launch, we'll test this another way
  Make sure we ignore the wait update for tasks under dependency situations in the unit tests
  Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu
  Fix some bugs found from unit tests
  More unit test rework
  Some job tests can't run in their current state
  Make sure we check arguments passed to signal start before allowing it to proceed.
  No need to replace original build_args
  Unit test updates for task system... remove old monkeypatch procedure for getting job args in favor of using the job info from the database. Can't do this anymore anyway since the job is running in another process
  Changes to tasks unit tests
  ...
2014-03-19 13:14:21 -04:00
Matthew Jones
d3d84706a4 Need to grab just the first item for the scm test project update 2014-03-19 12:53:11 -04:00
Matthew Jones
e24538865f Revert a project unit test 2014-03-19 12:49:13 -04:00
Chris Houseknecht
9886b73d2c Fixed bug in Inventory Group Add. Save was failing. Also when group vars failed to parse, the error was not bubbled up to the GroupEdit code. 2014-03-19 12:05:46 -04:00