Commit Graph

132 Commits

Author SHA1 Message Date
James Laska
40fdbc01e3 Pyflakes and pep8 are replaced by flake8 2015-02-18 13:00:49 -05:00
Matthew Jones
207a319349 Update packaging and production configuration for new logging 2015-02-13 13:50:36 -05:00
Matthew Jones
0b8b39f951 Refactor logging to work primarily with rotating files instead of syslog 2015-02-13 10:30:01 -05:00
Matthew Jones
e9e4c6856d Implement job template job history statuses, configurable 2015-02-09 14:19:18 -05:00
Chris Meyers
981eeb3c88 towards tower-qa running against dev ansible-tower 2015-02-03 11:58:56 -05:00
Chris Meyers
f1674df788 towards an easier to setup development environment 2015-02-03 09:22:31 -05:00
James Laska
ea0b39859b Enable django_jenkins flake8 reporting
Also exclude awx/ui from pep8 runs.
2015-01-29 13:56:04 -05:00
Matthew Jones
97f59a0b04 Filter TERM from variables pushed into the launch shell environment 2015-01-21 11:42:38 -05:00
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