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
Matthew Jones
69583a1b07
Import socketio service work and updates to documentation and setup procedures
2014-04-16 15:27:04 -04:00
Chris Church
7eed13cca4
AC-448 Add support for mapping LDAP users to teams based on LDAP group membership.
2014-04-15 14:22:45 -04:00
Chris Church
1283a78e09
AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups.
2014-04-08 23:50:57 -04:00
Matthew Jones
221db9b296
Fix up tower warning log to work with unit tests, local testing, and production
2014-04-04 23:10:48 -04:00
Matthew Jones
c60f89f884
Update tower warning log for current production and production updates
2014-04-04 22:53:50 -04:00
Matthew Jones
e197bfeb01
Add a specific tower warnings file in the tower home directory.
...
Configure the api viewer to emit warnings for 4XX and 5XX status codes
into that file. Configure it for use on a production system. Closes AC-685
2014-04-04 16:48:56 -04:00
Matthew Jones
f56b716b8f
Switch to using the celery persistent beat scheduler to guard against
...
the database not being available yet or restarting and taking the celery
scheduler with it
2014-04-04 15:47:45 -04:00
Chris Church
118ddf97f6
Get created_by and modified_by updating automatically.
2014-04-01 21:27:32 -04:00
Chris Church
352197c5d2
Removed admin support (no longer used or maintained).
2014-03-28 22:04:26 -04:00
Chris Church
52ab418abb
AC-1040 Unified job template and unified job views.
2014-03-28 01:25:25 -04:00
Matthew Jones
107fc85110
Initial scheduler integration
2014-03-27 15:53:45 -04:00
Chris Church
ceba67fcf0
AC-982 Disable activity stream for inventory import by default.
2014-03-26 00:12:13 -04:00
Chris Church
296e87a632
AC-1040 Removed extra model definitions used for generating migrations.
2014-03-25 09:38:25 -04:00
Chris Church
691942cac3
AC-1040 Unified jobs updates to get unit tests to pass (hopefully).
2014-03-24 17:04:26 -04:00
Chris Church
0ee5c07738
AC-1040 Update jobs models and migrations (work in progress).
2014-03-24 17:02:43 -04:00
Matthew Jones
4b9059388e
Switch to using a network socket instead of an ipc socket, closes issue AC-1088
2014-03-21 14:44:22 -04:00
Matthew Jones
f5ea85e0fc
Fix some task runner bugs and round out the implementation
2014-03-11 15:26:48 -04:00
Chris Church
8e61d17cb4
Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback.
2014-02-26 14:11:59 -05:00
Matthew Jones
f6870634c4
Cleanup and refactor some parts of thew new zeromq based callback receiver
2014-02-18 13:54:28 -05:00
Chris Church
f02a93c333
AC-1012 Open a new RabbitMQ connection for each forked process to prevent intermittent hang, update debug logging for job event callback.
2014-02-07 17:12:52 -05:00
Chris Church
f579dbd72d
Remove test license file accidentally checked in.
2014-02-06 15:26:57 -05:00
Chris Church
ae4743724a
AC-982 Added configuration options to disable activity stream logging entirely, or disable only when running inventory import.
2014-02-06 15:25:58 -05:00
Chris Church
11d8387120
AC-990 Make job event filtering by host work even when not capturing hosts M2M. Also fix unit tests to skip checking hosts M2M.
2014-02-06 15:07:42 -05:00
Chris Church
e94e1978be
Disable capturing SQL queries in memory when running celeryd in development.
2014-02-04 23:04:58 -05:00
Matthew Jones
4a598d7c0a
Initial work towards the celery refactor... adjusting logic to allow building a worker chain... temporarily relax requirements on status checks
2014-01-27 12:20:40 -05:00
Matthew Jones
b9cde9cc42
Fix issue AC-935... make sure we exclude certain regions by default. cn-north-1 was added to our dependency 'boto' here: https://github.com/boto/boto/pull/1939/files but is inaccessible from outside of China
2014-01-17 16:11:50 -05:00
Chris Church
2b7af0a2ec
Happy new year!!!
2014-01-02 11:51:43 -05:00
Chris Church
fc6ec26ebe
AC-752 Update settings to support enabling celeryd using rabbitmq on upgrade, also support config files in /etc/awx/conf.d/.
2014-01-02 11:19:07 -05:00
Chris Church
783ecbe2ba
AC-752 Add RabbitMQ role to setup, update CONTRIBUTING doc.
2013-12-11 11:45:34 -05:00
Chris Church
c850379222
AC-752 Work on using celery with rabbitmq, posting job events via celery.
2013-12-11 00:18:39 -05:00
Chris Church
b59d9b766f
AC-620 Updates to tests to create temp job output root, update tasks to write to stdout file directly instead of storing any stdout in memory.
2013-11-21 17:42:37 -05:00
Matthew Jones
2f0615d8c1
JOBOUTPUT_ROOT is still needed in defaults
2013-11-21 17:36:23 -05:00
Matthew Jones
b77ec07581
Include a sane default location for the job root in the production config
2013-11-21 17:08:16 -05:00
Matthew Jones
bf07c55273
Initial task status to file implementation
2013-11-21 13:53:59 -05:00
Chris Church
8bf198f7ed
AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions.
2013-11-20 15:20:01 -05:00