1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Commit Graph

9165 Commits

Author SHA1 Message Date
Wayne Witzel III
23d7e70204 update network cred ssh agent unit test with post_run_hook mock 2016-09-19 14:24:01 -04:00
James Laska
83e23b7ac4 Only run the unit tests from the docker container 2016-09-19 11:09:22 -04:00
James Laska
94b440e7f5 Allow unittests from containers to work
Don't `sudo` for me, I'll `sudo` when I need it, yo.  This appears to
only affect the non-container based development workflow.  For folks
that still need to `make develop` outside of a container, please use
`sudo make develop`
2016-09-19 11:09:22 -04:00
Chris Church
b7a6aa01a3 Fixes to get flake8 and unit/functional tests passing. 2016-09-18 19:11:29 -04:00
Matthew Jones
f3a8eb9daf Merge pull request #3509 from ansible/ha_installer
Improvements to the setup/installer to support new HA workflows
2016-09-16 15:53:38 -04:00
Matthew Jones
a4ec0739ea Temporarily disable instance id gathering
During requests
2016-09-16 15:21:42 -04:00
Matthew Jones
d8ea0920c5 Update configuration and playbook for rabbitmq
* Purge remaining zeromq settings
* Make sure we have CALLBACK_QUEUE defined where needed
* Update setup playbook to not be tied to old ha primary/secondary concept
2016-09-16 11:35:46 -04:00
Shane McDonald
ba8290a94a Fix pip install in unit test container
The SWIG_FEATURES environment variable is to get pip install working with M2Crypto==0.22.3. It works without SWIG_FEATURES if we update to M2Crypto >= 0.23.0.

Also did some organization, add README.
2016-09-16 11:15:30 -04:00
James Laska
c23d5f84d6 Add a Dockerfile for unittest environment
Still failing to build m2crypto due to a downlevel `swig` on el7.
2016-09-16 10:04:25 -04:00
Chris Meyers
64c91e1c1d remove stupid scripts 2016-09-16 08:52:54 -04:00
Chris Meyers
c6e1135022 Merge pull request #3503 from chrismeyersfsu/fix-workflow_inheritance
functional workflow test for issue #3498
2016-09-15 15:29:30 -04:00
Chris Meyers
7f614a53db flake8 fix 2016-09-15 15:28:55 -04:00
Chris Meyers
77cc7f9d00 functional workflow test for issue #3498 2016-09-15 15:03:08 -04:00
Chris Meyers
a473426fd4 Merge pull request #3501 from chrismeyersfsu/fix-workflow_inheritance
fix class method
2016-09-15 13:52:48 -04:00
Chris Meyers
c35c2d9331 fix class method 2016-09-15 13:51:23 -04:00
Matthew Jones
3de4aae548 Fixing up HA induced flake8 issues 2016-09-15 13:51:17 -04:00
Chris Meyers
bf3c68d8b4 Merge pull request #3497 from chrismeyersfsu/fix-flake8_deps
Fix flake8 deps
2016-09-15 13:33:41 -04:00
Matthew Jones
2872409271 Integrate rabbitmqctl interface to cluster and standalone containers 2016-09-15 12:07:16 -04:00
Graham Mainwaring
8a0f7b1354 Merge pull request #3495 from ghjm/rabbitmq_deb
Add RabbitMQ and memcached to Ubuntu builds/installs
2016-09-15 11:28:28 -04:00
Matthew Jones
c6f87607f2 Shifting migrations after integration with devel for ha 2016-09-15 10:55:00 -04:00
Matthew Jones
3255a17856 Exposing rabbitmq management console interface on compose 2016-09-15 10:46:45 -04:00
Chris Meyers
f06b212266 flake8 fixes 2016-09-15 10:25:36 -04:00
Chris Meyers
cb8b6ea29f fix flake8 2016-09-15 10:24:45 -04:00
Matthew Jones
f5d2c5c18a Merge branch 'ramparts_and_ha' into devel
* ramparts_and_ha: (21 commits)
  Rename database migrations for devel integration
  Integrate callback receiver refactoring
  Fix an issue running jobs in the cluster
  Implement a more dynamic celery queue system
  Purge old munin monitors and tools
  Refactor Tower HA Instance logic and models
  Docker compose improvements
  Initial Docker Compose workflow for Tower cluster
  Add memcached role for setup playbook
  Removing qpid from deb packaging
  Refactor rabbitmq role
  Integrate memcached into setup playbook
  Remove mongodb shutdown task
  Remove dependency on erlang_sd_notify
  Add initial rabbitmq role
  Initial rabbitmq setup playbook integration
  Update development environment for rabbit
  Replace qpid with rabbitmq
  Remove redis role from setup playbook
  Update qpid packaging, remove migrations
  ...
2016-09-15 10:19:57 -04:00
Chris Meyers
0a24a4f9b7 ignore import splat 2016-09-15 10:18:10 -04:00
Matthew Jones
574a0fde05 Rename database migrations for devel integration 2016-09-15 10:15:14 -04:00
Chris Meyers
c3bb7521de Merge pull request #3474 from chrismeyersfsu/feature-workflows
workflows
2016-09-15 10:12:58 -04:00
Chris Meyers
46da83b87f fix flake8 2016-09-15 08:52:12 -04:00
Chris Meyers
3969cfa2a0 Revert "use flake8 inside tower env"
This reverts commit 90cdc5c83cb495e0d448f8e9eb7381d5fd84e9d4.
2016-09-15 08:45:13 -04:00
Matthew Jones
ab395b0009 Integrate callback receiver refactoring
* Drop ZMQ as the communication mechanism between job_event_callback and
  callback_receiver
* Setup queue and exchange for callback broker communication
* Refactor event plugin and callback receiver to efficiently handle
  message submission and processing
* Integrate django caching for parent processing
2016-09-14 11:42:13 -04:00
Shane McDonald
05add1a751 Add --unsafe-perm to ui-deps-built
Node thinks we’re stupid. https://github.com/nodejs/node-gyp/issues/454
2016-09-13 15:35:35 -04:00
Chris Meyers
32461574ae add unit tests 2016-09-13 15:24:20 -04:00
James Laska
183660a133 Fix '..' typo when installing jenkins requirements 2016-09-13 11:01:00 -04:00
James Laska
7d95b15812 Ensure make docker-clean exits cleanly 2016-09-13 11:01:00 -04:00
Alan Rominger
43e399df81 Merge pull request #3370 from ansible/AlanCoding-patch-3
test_credential bug fixes
2016-09-13 09:56:43 -04:00
Alan Rominger
2e3982e295 Merge pull request #3393 from AlanCoding/role_description_optimization
Avoid redundant lookups of content_type
2016-09-13 09:56:03 -04:00
Alan Rominger
475c764162 Merge pull request #3319 from AlanCoding/proj_self_optimization
Add another special case in summary_fields optimizations
2016-09-13 09:53:22 -04:00
Matthew Jones
ce2aaef086 Merge pull request #3200 from wenottingham/devel
Add a check for recent enough Ansible.
2016-09-13 09:50:00 -04:00
Matthew Jones
b1b9967be0 Merge pull request #3220 from nitzmahone/req_update
update requirements versions for requests,azure
2016-09-13 09:48:31 -04:00
Chris Meyers
c91b10e62d use flake8 inside tower env 2016-09-12 14:06:20 -04:00
Chris Meyers
0dfe3b197a bump pyflakes version 2016-09-12 12:45:01 -04:00
Chris Meyers
9c12b234b1 remove workflow_job_template from workflow job node serializer 2016-09-12 12:26:07 -04:00
Chris Meyers
4dc5c33442 refactor to be more testable 2016-09-12 12:19:36 -04:00
Chris Meyers
cea5ebadb7 split Node in job and job template node 2016-09-12 11:04:20 -04:00
Matthew Jones
799f321760 Fix an issue running jobs in the cluster
The old VENV_PATH settings were still in place
2016-09-12 10:43:40 -04:00
Shane McDonald
1bf0cf20be Merge branch 'containerized-debs' into devel 2016-09-12 10:40:43 -04:00
Matthew Jones
988bbc4f4f Purge more qpid configuration 2016-09-12 09:50:42 -04:00
Matthew Jones
807cced571 Implement a more dynamic celery queue system
* Meant to be a starting point to more efficiently manage work routing
  and to balance work across all tower nodes
* Integrate flower as a dev tool that starts alongside other nodes.
  Helpful for observing and monitoring the queues/exchanges
* For the moment, force the task manager to only run on one node (not
  sure if this is needed)
* Define queues and routes for all task work
* Bump celery version to 3.1.23
* Expose flower through haproxy
2016-09-09 15:18:18 -04:00
Matthew Jones
13a0fd749f Purge old munin monitors and tools 2016-09-09 15:17:16 -04:00
Leigh Johnson
7e7bd76644 Fix schedules sitewide (#3469)
* Remove custom rrule module loaders, update angular-scheduler dept

* snip comment

* remove nlp module loaders
2016-09-09 10:49:28 -04:00