Commit Graph

3053 Commits

Author SHA1 Message Date
Matthew Jones be7819e3d7 Make sure that if you have variables being required to start that we
return false when determining if the job can start without input
2014-10-03 14:16:50 -04:00
Matthew Jones d3416336ed Handle the case where the existing extra vars is None 2014-10-03 10:26:24 -04:00
Matthew Jones c609f7a81d Refactor callback receiver
* Move callback socket listener into its own method spawned as a
  seperate process
* launch and manage worker processes from a parent process and isolate
  them such that a fork doesn't inherit the zeromq socket
2014-10-03 00:37:08 -04:00
James Laska d12dddebde Handle jenkins requirements properly 2014-10-02 16:16:27 -04:00
James Laska f9c8e400b1 Update dev_local.txt with django-debug-toolbar-1.1
Correct jenkins requirements install order
2014-10-02 15:46:03 -04:00
James Laska 2846f8c530 Update dev_local.txt with django-debug-toolbar-1.1 2014-10-02 15:19:33 -04:00
James Laska adda5b90bd More fiddling with jenkins requirements 2014-10-02 14:19:18 -04:00
James Laska 888352270b More updates to support latest django_jenkins 2014-10-02 13:26:32 -04:00
Matthew Jones b37925149b Fix the custom script update to use the normal mechanism for trigger an
inventory update
2014-10-02 12:53:24 -04:00
Matthew Jones 52fc81244d Revert "Use the normal built-ins for testing inventory sources when testing for"
This reverts commit d989b3e438022f565fb17ae7e4ec02b10239d577.
2014-10-02 12:53:23 -04:00
James Laska a174c7b168 The latest version of django_jenkins no longer requires django_tests 2014-10-02 12:15:16 -04:00
James Laska 2b1b83a8ee Yes, please download jenkins dependencies 2014-10-02 12:05:45 -04:00
James Laska 6ed7e5f538 Include django-jenkins in requirements/jenkins.txt 2014-10-02 11:55:03 -04:00
Matthew Jones 27458667ab Use the normal built-ins for testing inventory sources when testing for
custom scripts
2014-10-02 11:33:27 -04:00
Matthew Jones 449c5026b7 Remove socket and context closure and cleanup from zeromq in the
callback receiver
2014-10-02 09:46:16 -04:00
Matthew Jones bd0d4463ef Make sure we setup a license file when running the custom script
inventory update test
2014-10-01 16:26:09 -04:00
Matthew Jones 90bf8966b9 Refetch the group in an attempt to re-materialize the host additions 2014-10-01 15:17:17 -04:00
Matthew Jones 25f8034b79 catch -> except 2014-10-01 13:07:40 -04:00
Matthew Jones 786cc3fa85 Silently return if there isn't valid json passed in as extra data fields 2014-10-01 13:00:06 -04:00
Matthew Jones 8848cbfa1e Add schema migration of custom inventory scripts and related fields 2014-10-01 09:54:12 -04:00
Matthew Jones 56f5c0f402 Use assertEqual in the inventory test 2014-09-30 16:21:39 -04:00
Matthew Jones bf0bbe7580 Remove the Amazon AMI license handler from tower proper 2014-09-30 14:53:19 -04:00
Matthew Jones 7b6c5f68a9 Don't remove script at this point 2014-09-30 11:54:28 -04:00
Matthew Jones 06c75aeecf Implement API side for custom inventory script support with endpoints
and unit tests
2014-09-30 11:50:50 -04:00
Matthew Jones c402d13a73 Merge pull request #14 from tgerla/rabbitpw
add a note about the rabbitmq password requirements to group_vars/all
2014-09-29 16:20:06 -04:00
Matthew Jones ab70539aba Add an indicator to the job template launch GET endpoint to denote when
a survey is enabled
2014-09-29 15:31:34 -04:00
Matthew Jones c35f892e9e Check extra data to make sure it's not just an empty string 2014-09-29 15:17:08 -04:00
Matthew Jones cc6d673e4f Attempt to fix a mysterious zmq crash related to sockets lingering after
a fork
2014-09-29 14:31:14 -04:00
Matthew Jones eabfbd572f Support populating extra vars with post data when launching and
relaunching jobs
2014-09-26 15:47:02 -04:00
Jared Tabor d8fe8cc7ff added required asterick for required questions 2014-09-26 14:40:21 -04:00
Jared Tabor 9114cb2d89 for a textarea answer, default answer field should be a text area 2014-09-26 14:34:01 -04:00
Jared Tabor 006da3219a made SM fields readonly/disabled and adjusted opacity 2014-09-26 13:34:46 -04:00
Jared Tabor ef0c399178 added functionality for moving question up or down in order on SM 2014-09-26 13:06:23 -04:00
Jared Tabor f9f9c8c4a3 adding 'delete question' functionality 2014-09-26 11:42:13 -04:00
Jared Tabor 832dcc7701 completed 'edit question' for survey maker 2014-09-26 09:15:09 -04:00
Chris Church 1d9a0e0a1c Skip proot test if proot is not installed. 2014-09-25 15:02:49 -04:00
Chris Church 2d1580bccb Implements https://trello.com/c/1NJKBOex - Add support for using proot to run jobs in isolated environment. 2014-09-25 14:54:43 -04:00
Jared Tabor 40192b5172 survey maker additions for question types 2014-09-24 17:36:30 -04:00
Matthew Jones 9064bb3107 Fix a bug where we could potentially not see a hostname that we need to
update instead of create when syncing inventory because its instance id
had changed
2014-09-24 13:35:04 -04:00
Matthew Jones 6f2a33d2b7 title to name for survey metadata 2014-09-22 11:54:28 -04:00
Jared Tabor 193accaa84 refactored saveSurvey method 2014-09-22 11:29:02 -04:00
Matthew Jones 259e48df3e Add survey bits to summary fields on job templates.... change "title" to
"name" on survey metadata.
2014-09-22 11:11:18 -04:00
Jared Tabor 36ab9d98e0 fixed 'Delete Survey' 2014-09-21 22:09:37 -04:00
Jared Tabor d3e793e9ca changed survey maker to a modal window 2014-09-21 13:16:06 -04:00
Jared Tabor 9520970817 survey maker for going from add/edit job template to add/edit survey maker 2014-09-17 15:47:33 -04:00
Jared Tabor b505e7ae41 changed the values for some forms thats have select drop down input fields 2014-09-16 12:34:13 -04:00
Chris Church 6fd86b881f Only show login method for machine credentials. 2014-09-16 11:40:52 -04:00
Jared Tabor 0b43ec7ec5 changed job launch logic on UI side for job launch and job relaunch 2014-09-15 10:11:40 -04:00
Chris Church 0b3077a3a9 Fix JS indentation. 2014-09-12 12:38:58 -04:00
Chris Church a0fdf62e70 Fix for running unit tests on Python 2.6. 2014-09-12 12:38:34 -04:00