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

1630 Commits

Author SHA1 Message Date
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
Matthew Jones
0548126e33 Make sure we are calling signal_start in unit tests 2014-03-19 11:56:30 -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
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
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
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
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
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
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
Matthew Jones
116cf902b5 Fix a bug processing dependent tasks. Fix an issue where we weren't
calculating the task impact of a job properly
2014-03-11 16:12:22 -04:00
Matthew Jones
f5ea85e0fc Fix some task runner bugs and round out the implementation 2014-03-11 15:26:48 -04:00
Matthew Jones
d269dc1ecc Include proper invocation for non-job tasks with error callback 2014-03-10 17:00:35 -04:00
Matthew Jones
85b6aa2262 Rebasing for initial task system work. Current work towards actual task
running flow
2014-03-10 16:07:20 -04:00
James Laska
8960f17f28 Merge pull request #9 from jlaska/trusty_support
Add Ubuntu-14.04 Trusty support
2014-03-10 15:59:18 -04:00
James Laska
7a50d0cce9 Remove mod_ssl already loaded message
The mod_ssl requirement will be satisfied by package dependencies.
2014-03-10 15:54:28 -04:00
James Laska
6a98afc649 Support httpd 2.2 and 2.4 config formats
Create new-style debian apache-2.4 conf-enabled/ symlinks
2014-03-10 15:47:10 -04:00
Chris Houseknecht
15a08232e0 Clean up. Removed grey background from forms appearing inside accordions. Fixed border on tables innside accordions. Made action labels disappear on small and xtra small viewports. Updated javascript packages. Created a bower.json file. Installed anuglar-scheduler. Added schedule icon to job templates page. Shrunk pagination font. 2014-03-07 18:31:15 -05:00
Chris Houseknecht
129fed0c64 Accordions are now collapsable. Fixed jshint warning. 2014-03-06 15:22:25 -05:00
James Laska
414e43c469 Fix conditional for older bash 2014-03-06 15:01:33 -05:00
Chris Houseknecht
bb67020c30 Fixed buttons on inventory help dialog. The Prev button never enabled and Next button never disabled. 2014-03-06 11:22:35 -05:00
Chris Houseknecht
a63b9e661b Fixed pagination column sizing. As screen shrinks the page number now remains right justified. 2014-03-06 10:51:22 -05:00
James Laska
02a4ff1c36 Disable grunt color output when called from a non-interactive shell
The grunt command is still configurable via the GRUNT environment variable.  By
default, we disable colored output when we detect the shell is non-interactive.
This improves reviewing output when run from automation.
2014-03-06 09:39:20 -05:00
James Laska
4dcc6938dd Allow customizing grunt cli options
Automation can now set GRUNT to provide a path to a specific grunt binary, or
to add grunt parameters.  For example, to disable color output during a Jenkins
build:

    GRUNT="grunt --no-color" make lintjs
2014-03-06 08:56:02 -05:00
Chris Houseknecht
93bd1d859a AC-1065 in anticipation of potentially having to sort the keys of any incoming json variable objects, consolidated the variable handling code into a single helper. Anytime variable data is fetched from the API it gets passed to the helper and turned into a YAML doc. The helper checks the incoming data type for string or object. If string it first attempts to parse as YAML. If it fails, then tries JSON. If no joy, fails gracefully, logging the error and notifying the user. Anytime variables need to be sent to the API, a method in the helper is called to parse the variable text into a JSON object. 2014-03-05 18:13:49 -05:00
Chris Houseknecht
1ba917afaf AC-1035 UI now supports stringified YAML coming from the API on Job Template. 2014-03-05 15:49:16 -05:00
Chris Houseknecht
10e85b50b1 Found an issue when deleting multipkle credentials. First delete worked fine. Second delete left the overlay hiding the page. Seems the .off() option on bootstrap modal no longer works as expected. 2014-03-05 14:13:17 -05:00
Chris Houseknecht
cda1a8bd10 After fixes to app footer, the footer background color was off. Fixed. 2014-03-05 13:32:53 -05:00