Commit Graph

174 Commits

Author SHA1 Message Date
Matthew Jones e8a837ea11 Add a default maximum of 10 jobs waiting from a job template if launched
by a schedule
2014-12-08 10:51:43 -05:00
Chris Church 3668b3c761 Fix callback consumer port to always be a URL, instead of sometimes an int. 2014-12-03 20:49:08 -05:00
Chris Church ba652b5dd3 Updated blacklist/rules for environment variables that can be set by source_vars for a custom inventory script. Fixes https://trello.com/c/CWbeHJ0L 2014-12-03 00:45:46 -05:00
Matthew Jones 8c4aee35d1 Merge remote-tracking branch 'origin/master' into reintroduce-zeromq-unstable
* origin/master:
  Add tests for inventory_filters and group_by, fix to convert None to empty string.
  Job submission
  Fix up unified job creation parameter passing
  Roll this back, it doesn't do what I expect
  Make sure we propogate source_script into the related fields it needs to be in
  Update job template launch docs with credential_needed_to_start documentation
  Custom Inventory Scripts
  forms/Sources.js
  Add instance filters and group by options for EC2 inventory sources.  Implements https://trello.com/c/QOVhP0mH
  Make sure when we call create_unified_job we can pass important fields as _id or without
  Make sure we pass extra parameters down to the unified job create method so we can pick up credential if given
  Add system job template launch documentation
  Track source_script in summary and related fields for relevant inventory sources
  Host events
  Simplify include_vars based on mpd feedback
  Update the apt-cache when installing python-pip
  Only the primary should syncdb and migrate
  Update package changelogs
  Update release history and process docs
  Update ansible-tower service config in playbook
2014-11-26 13:40:37 -05:00
Chris Church 35c392ab17 Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH 2014-11-26 03:20:45 -05:00
Luke Sneeringer 1efff8267d ZeroMQ changes. 2014-11-21 16:21:15 -06:00
Luke Sneeringer 1edd8f9c0a Updates to Makefile and CONTRIBUTING
...for the RabbitMQ to Redis changeout.
2014-11-11 14:18:39 -06:00
Matthew Jones 27fd173e72 Custom inventory script environment variable blacklist 2014-11-06 11:17:44 -05:00
Chris Church f5a174f991 Fixes https://trello.com/c/8KGzMa75 - Updates to VMware inventory script to include additional host variables, groups and ansible_ssh_host. 2014-10-30 13:47:49 -04:00
Matthew Jones 66f8f88898 Remove the form and multipart parser from the the list of DRF parser classes 2014-10-23 14:52:29 -04:00
Chris Church 7834bfab70 Implemented https://trello.com/c/LLwK80P5 - Added eu-central-1 region and updated boto to 2.34.0. 2014-10-23 13:36:15 -04:00
Chris Church 253a6cffd4 Add default SYSTEM_UUID for development. 2014-10-23 13:36:14 -04:00
Luke Sneeringer 46477a0c05 Add SYSTEM_UUID to local_settings.example 2014-10-20 12:21:29 -05:00
Luke Sneeringer 0e623f2337 Start of HA middleware. 2014-10-20 08:04:16 -05:00
Luke Sneeringer 66dc2df8c3 Make development settings honor conf.d 2014-10-20 08:04:16 -05:00
Matthew Jones d6adb1d398 Add a settings that disallows org admins from seeing users outside of
their organization.   See: https://trello.com/c/M74W11hQ
2014-10-06 15:59:05 -04:00
James Laska 888352270b More updates to support latest django_jenkins 2014-10-02 13:26:32 -04:00
James Laska a174c7b168 The latest version of django_jenkins no longer requires django_tests 2014-10-02 12:15:16 -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
Luke Sneeringer 3267a988f8 Shift Django to 1.6.x (>= 1.6.7). 2014-09-10 12:17:35 -05:00
Luke Sneeringer deaf54f2d7 Migrating logs to /var/log/tower/. 2014-08-25 12:31:18 -04:00
Luke Sneeringer 6d65423a8c Make the /etc/awx/ migration more permissive for one run. 2014-08-22 12:33:00 -04:00
Luke Sneeringer 3b45252039 Theoretical move from /etc/awx/ to /etc/tower/. 2014-08-22 10:12:12 -04:00
Matthew Jones 945bedf5e6 Don't let a missing key stop this scm test local settings setup 2014-08-18 15:34:36 -04:00
Chris Church 9d7e240c9d Better detection of permission denied when reading /etc/awx/settings.py to display appropriate error message. 2014-08-13 09:53:40 -04:00
Chris Church 1b7d94732b Replaced Windows Azure with Microsoft Azure in strings/comments. 2014-08-13 08:20:32 -04:00
Chris Church 3408ac8f88 Display error message if awx-manage/tower-manage are run as a user other than root or awx. 2014-08-13 01:04:04 -04:00
Chris Church 90e2e8775c Update ec2 inventory script from core, no more tower-specific changes. 2014-07-31 15:21:05 -04:00
Luke Sneeringer cf96240556 Azure inventory sync! 2014-07-29 13:06:27 -05:00
Luke Sneeringer 95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer a1059dabae Working GCE inventory sync. 2014-07-25 11:12:12 -05:00
Luke Sneeringer dd79ba8de7 Beginning PEM file support for GCE. 2014-07-25 11:12:11 -05:00
Luke Sneeringer ca19ddb3d5 Beginning work on GCE. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 7548ffc6dd Added vmware support to tasks. 2014-07-25 11:12:11 -05:00
Matthew Jones 3cd5c40dd5 Move default task management system port to 6559 from 6556 to keep from
conflicting with Nagios plugins
2014-07-11 15:24:14 -04:00
Matthew Jones 0e7fcb239e Fix an issue where we wouldn't attempt to color job output in production environments 2014-07-08 14:36:01 -04:00
Luke Sneeringer dd5fcbbfbd Vagrant Local Development
This commit adds playbooks and files necessary to do local development
from within Vagrant.

These playbooks start with a fresh Ubuntu 12.04 machine and:
  - Install Ansible
  - Install the Tower nightly
  - Install all components to exactly mirror production, except Apache
  - Install uwsgi and nginx for local development (since Apache lacks a
working auto-reload)

This isn't entirely perfect -- in particular, developing on task code
is probably challenging until I figure out how to get celery not to
read from the install, but it is a very easy way to get 90% of the way
there very, very quickly.
2014-06-12 16:51:48 -05:00
James Laska 11b39febfb Include PYLINT_RCFILE 2014-06-05 15:29:36 -04:00
James Laska 9ee0eb9850 Rename awx/settings/jenkins to awx/settings/development_quiet 2014-06-05 15:00:51 -04:00
James Laska e8dc57ff36 Move django_jenkins into development.py 2014-06-05 15:00:21 -04:00
James Laska 38bfbb4b46 test_jenkins - Specify .less files, not directory 2014-06-05 14:41:00 -04:00
James Laska 296917af54 Move test_jenkins configuration into awx/settings/jenkins.py 2014-06-05 14:06:20 -04:00
James Laska 790a9b6432 Need to specify django_tests when overriding JENKINS_TASKS 2014-06-05 12:39:09 -04:00
James Laska f0fe6673f2 Add JENKINS_TASKS to django_jenkins
New tasks include run_pylint, run_pep8, run_pyflakes, run_jshint and
run_csslint.
2014-06-05 12:09:54 -04:00
Matthew Jones 6d53c231db Remove default cache setting from production 2014-05-20 10:07:08 -04:00
Matthew Jones 98ad089f7d Remove memcached reference from settings 2014-05-19 12:04:52 -04:00
Chris Church db3151a9dd Fix for KeyError when cache is empty, change cache key prefix for dev vs. prod.
Conflicts:
	awx/settings/production.py
2014-05-14 14:16:19 -04:00
Matthew Jones d614cc8472 Integrate memcached support for some host fields
Conflicts:
	setup/roles/packages_el/vars/default.yml
	setup/roles/packages_ubuntu/tasks/main.yml
2014-05-14 13:47:12 -04:00
James Laska f4e987fc0a Fix missing comment character '#' 2014-05-13 08:44:11 -04:00
Matthew Jones e2d33522d2 Fix issue #AC-1269
- Only enable graphviz task graph generation in debug mode
- Define an appropriate place for the tower cycle file

Conflicts:
	awx/settings/production.py
2014-05-12 14:50:58 -04:00