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

1648 Commits

Author SHA1 Message Date
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
Matthew Jones
0548126e33 Make sure we are calling signal_start in unit tests 2014-03-19 11:56:30 -04:00
James Laska
20aa89e33c Adjust interactive shell test
To improve grunt readability from test automation, disable colorized output
when running a non-interactive shell.
2014-03-19 11:29:02 -04:00
Matthew Jones
77e4d33770 Make sure we are calling signal_start in unit tests 2014-03-19 11:26:22 -04:00
Matthew Jones
14e138a7bd 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 2014-03-19 11:09:14 -04:00
Chris Houseknecht
6cd5552b6a More work on new Jobs page. 2014-03-19 01:39:58 -04:00
Chris Houseknecht
6d6e9e45a8 Framework for new jobs tab. 2014-03-18 18:30:39 -04:00
Chris Houseknecht
9614103964 Starting rewrite of Jobs tab. 2014-03-18 15:25:22 -04:00
Matthew Jones
1093b00e2a Fixing up unit tests 2014-03-18 14:58:45 -04:00
Matthew Jones
7ac58dead3 Missing line-end comma 2014-03-18 12:04:27 -04:00
Matthew Jones
7fe474aec5 Prevent deadlocks on unit tests in a very specific scenario 2014-03-18 12:02:14 -04:00
Chris Houseknecht
0c4bd4bfa8 Fixed scope conflict between schedules_list and parent scope. 2014-03-18 11:32:38 -04:00
Chris Houseknecht
0f3bd58745 Only show 'Schedules' tab on inventory groups dialog when a source value is selected. 2014-03-18 10:35:00 -04:00
Chris Houseknecht
2585855e1c helpers/Groups.GroupsEdit now supports an 'add' mode for creating new groups. 2014-03-17 23:49:14 -04:00
Chris Houseknecht
633c63aadb Fixed inner dialog sizing issues so that resizing inventory edit dialog now resizes the schedule widget, keeping the inner widget slightly smaller than than dialog and scrolling the content vertically when needed. 2014-03-17 18:25:06 -04:00
Matthew Jones
fe625785c7 Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT 2014-03-17 14:53:38 -04:00
Chris Houseknecht
7521de5904 Details view now working on inventory group edit dialog. 2014-03-17 13:03:57 -04:00
Matthew Jones
57fff65577 Missing semicolon 2014-03-17 12:55:59 -04:00
Matthew Jones
1243e044a0 Remove update on launch, we'll test this another way 2014-03-17 12:52:23 -04:00
Matthew Jones
e0b72ff452 Make sure we ignore the wait update for tasks under dependency
situations in the unit tests
2014-03-17 11:24:44 -04:00
Matthew Jones
f6ac7fb6d0 Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu 2014-03-17 11:05:53 -04:00
Chris Houseknecht
022f95783f Upgrading to latest angular-scheduler. 2014-03-17 09:46:51 -04:00
Chris Houseknecht
85b8b12e51 Incorporated latest angular-scheduler changes. Starting to add 'detail' schedule view to the inventory group edit dialog, allowing user to see occurrences and natural language description of a given schedule object. 2014-03-17 09:46:51 -04:00
Matthew Jones
28c9d77f29 Fix some bugs found from unit tests 2014-03-14 15:54:27 -04:00
Matthew Jones
382e1e96c7 More unit test rework 2014-03-14 15:25:06 -04:00
Matthew Jones
f3ea7d68cc Some job tests can't run in their current state 2014-03-14 13:00:33 -04:00
Chris Church
0587583f19 Allow inventory import to work with demo license. 2014-03-14 12:32:51 -04:00
Chris Houseknecht
df696b0199 Latest inventory group dialog changes. Finished styling schedule widget slide-in. 2014-03-13 16:49:23 -04:00
Matthew Jones
e6209d4d4f Make sure we check arguments passed to signal start before allowing it
to proceed.
2014-03-13 14:43:47 -04:00
Chris Houseknecht
7ba7d3c940 Latest inventory group dialog changes for schedules integration. 2014-03-13 13:35:27 -04:00
Matthew Jones
20285e18e5 No need to replace original build_args 2014-03-13 13:27:21 -04:00
Matthew Jones
c2950fdbdf 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
2014-03-13 13:25:45 -04:00
Matthew Jones
fe4b4043db Changes to tasks unit tests 2014-03-13 10:56:15 -04:00
Matthew Jones
16f0373766 Properly hand arguments on the base task 2014-03-13 10:53:38 -04:00
Matthew Jones
3fe31828a8 Cleanup for unit tests, working command unit test 2014-03-13 10:48:01 -04:00
Matthew Jones
c8534055ef Do not return from the graph building routine if we are in celery debug mode. 2014-03-12 17:54:34 -04:00
Matthew Jones
fc4f256723 Signal finished tasks to the task management system 2014-03-12 17:52:55 -04:00
Matthew Jones
99d42dc3fa Cleaning up unit tests to call signal_start 2014-03-12 17:01:23 -04:00
Matthew Jones
c0382f78bb Include a newline on the debug generated graph visualization
fix some import bugs and clear some whitespace from the command test
2014-03-12 16:32:21 -04:00
Matthew Jones
fbafa22a5a Make sure we are passing arguments down for inventory and project update
actions. Fix up some unit tests.
2014-03-12 16:24:13 -04:00
Matthew Jones
3c82085b93 Handle the situation where we could not communiate with celery 2014-03-12 16:11:56 -04:00
Matthew Jones
93e68009a7 Modifications to launch the task manager during unit tests 2014-03-12 15:06:28 -04:00
Matthew Jones
5ae324960e Add migration for including encrypted start args in the task tables 2014-03-12 14:29:27 -04:00
Matthew Jones
2224382caa More docs and fix a bug where we could crash attempting to mark a job as
failed when it wasn't running in celery
2014-03-12 14:26:15 -04:00
Matthew Jones
06cc5ffb4a Docs and setup details for the task manager 2014-03-12 14:09:00 -04:00
Chris Houseknecht
199f091a1c Inventory group edit dialog is now draggable and resizable. Added tab for schedules fixed issue with Variables.js helper- when json variables object empty, return --- rather than {} 2014-03-12 12:14:19 -04:00