4155 Commits

Author SHA1 Message Date
Matthew Jones
8b46bc3829 Fix up OPTIONS requests relative to system jobs on some endpoints 2014-11-18 12:02:48 -05:00
Matthew Jones
fb8d7e5d9c Fix up direct launching of system jobs 2014-11-18 11:38:24 -05:00
James Laska
a40120d1cf Create latest setup symlink 2014-11-18 09:32:05 -05:00
Jared Tabor
fd5483bbab Job Submission code mirror
added code mirror to the job submission modal window. still need to investigate the issue when launching a job on the job template form, when two code mirror editor instances are visible.
2014-11-18 09:03:15 -05:00
James Laska
a63ec61fef Bind setup playbook with specific tower version
Trello: https://trello.com/c/cdcMpglV
2014-11-17 19:28:30 -05:00
Matthew Jones
c85f4fbac0 Import rax module from ansible core 2014-11-17 15:20:46 -05:00
Matthew Jones
8ba4d4c091 More on system uuid 2014-11-17 15:15:42 -05:00
Matthew Jones
c48dde9753 More unit test fixups for system uuid 2014-11-17 14:50:57 -05:00
Matthew Jones
eae8c48faa Fix up unit tests for tracking system_uuid in the settings and database 2014-11-17 14:14:07 -05:00
Matthew Jones
e99466efc2 Fix a bug in the callback receiver where we weren't properly
initializing the parent signal handler
2014-11-17 13:28:09 -05:00
James Laska
c7079cf338 Wait when stopping supervisor
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).

Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -05:00
James Laska
83c64dbd38 Fix mock build error
Mock doesn't seem to like a symlink.
2014-11-14 16:12:32 -05:00
Jared Tabor
609938b916 Job Submission: prompt for credential
Added the prompt for credential during job submission if credentials_needed_to_start === true
2014-11-14 13:41:44 -05:00
Luke Sneeringer
3d51b25762 Unit tests now start their own Redis. 2014-11-14 11:57:34 -06:00
Jared Tabor
825d996316 Configure Tower schedule deletion
Moved the delete icon from the cleanup job list to a button on the schedule form for when the mode is 'edit'
2014-11-14 11:45:51 -05:00
Jared Tabor
f0d7e3be23 Configure Tower schedule names
Added the cleanup job name to the corresponding schedule for that job
2014-11-14 11:44:54 -05:00
Luke Sneeringer
a8002d165a Merge branch 'configure' 2014-11-13 14:50:28 -06:00
Luke Sneeringer
3279f59986 Newline 2014-11-13 14:50:10 -06:00
Matthew Jones
2d4efc1aa9 Don't strictly require a max or min when the other is included and
parsing surveys
2014-11-13 14:05:05 -05:00
Jared Tabor
f3244c496f Configure Tower jobs 2014-11-13 13:57:41 -05:00
Jared Tabor
fca875a092 Configure Tower
added better error handling for deleting schedules associated with these jobs
2014-11-13 13:56:16 -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
Matthew Jones
04ec19023f Only consider active schedules for excluding multiple system job schedules 2014-11-13 13:03:47 -05:00
Jared Tabor
3b6d70f2ae Configure Tower helper and list
adding /helpers/ConfigureTower.js and /lists/ConfigureTowerList.js
2014-11-13 11:31:09 -05:00
Jared Tabor
dfeaea0148 Configure Tower
adding changes to app and index for configure tower files. also included are updates to the scheduler widget for system jobs
2014-11-13 11:29:42 -05:00
Jared Tabor
6a08738071 JobSubmission cleanup
added some cleanup to old code in JobSubmission
2014-11-13 11:20:39 -05:00
Luke Sneeringer
cb77e319d2 Newline 2014-11-12 12:58:45 -06:00
Luke Sneeringer
8d2a011ca8 Don't commit things with NameError! 2014-11-12 12:17:38 -06:00
Luke Sneeringer
9cec5d0144 Set SYSTEM_UUID in tests. 2014-11-12 12:13:29 -06:00
James Laska
16437462ac Replace zmq test dependency with redis 2014-11-12 12:56:49 -05:00
Luke Sneeringer
9085bf5b0f Fix task_system bug. 2014-11-12 10:43:08 -06:00
James Laska
b8f96d3037 Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.

Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
James Laska
bb2235fcb2 DOM id changes for portal mode page
Improves automated navigation through the jobs and job_templates regions
on the portal page.
2014-11-12 08:42:44 -05:00
Luke Sneeringer
2f87ad8643 rabbit_alive -> redis_alive 2014-11-12 07:37:04 -06:00
Chris Church
4a030c3725 Hide all of /var/log/ from jobs running using proot. 2014-11-11 18:52:54 -05:00
Chris Church
a9c6dadc1a Remove extra print statements, minor contributing updates. 2014-11-11 18:09:01 -05:00
Matthew Jones
fa702a7a59 Remove registration of instance from develop makefile target... on new
installations the database isn't available at this point
2014-11-11 15:51:13 -05:00
Matthew Jones
8bf66f01c4 Add System Job to OPTIONS get for job types under unified jobs 2014-11-11 15:51:13 -05:00
Luke Sneeringer
d1c7ded068 Update munin to Redis 2014-11-11 14:21:13 -06:00
Luke Sneeringer
1edd8f9c0a Updates to Makefile and CONTRIBUTING
...for the RabbitMQ to Redis changeout.
2014-11-11 14:18:39 -06:00
Luke Sneeringer
3a8c32444b Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	awx/main/management/commands/run_callback_receiver.py
	awx/main/management/commands/run_task_system.py
2014-11-11 12:00:25 -06:00
Luke Sneeringer
29eaa495bc Do not allow superuser promotion by non-superusers. 2014-11-11 11:55:03 -06:00
Matthew Jones
ba1b9b9136 Add timestamp to logs for prints in management commands so we pick them
up the supervisor logs
2014-11-11 11:47:12 -05:00
Luke Sneeringer
122bf9fcd3 Merge branch 'master' into expunge-zeromq-unstable 2014-11-11 07:52:11 -06:00
Matthew Jones
c4e2463db1 Sanity check for tower version metadata file in wsgi bootstrap 2014-11-10 15:12:14 -05:00
Matthew Jones
0de53886da Disallow multiple schedules for System Job Templates 2014-11-10 14:44:34 -05:00
Chris Church
73636ef1a0 Update ec2 inventory to include instance_filters support (https://github.com/ansible/ansible/pull/8822). 2014-11-10 14:27:14 -05:00
Matthew Jones
309dba9693 Wording changes for the system job descriptions as proposed by @mpdehaan 2014-11-10 13:58:29 -05:00
Matthew Jones
4e494469c9 Use the normal version checker from tower manage 2014-11-10 12:22:20 -05:00
Matthew Jones
ce9434314f Add a metadata file to the tower home directory that lists the version
of Tower
2014-11-10 12:17:11 -05:00