Commit Graph

9178 Commits

Author SHA1 Message Date
Aaron Tan 33e3263310 Flake8 fixes. 2016-09-23 09:27:18 -04:00
Aaron Tan 535f979fd7 Unit test added. 2016-09-22 22:34:40 -04:00
Aaron Tan 51cd9e99e6 Refactor and patch extra vars verification. 2016-09-21 20:44:52 -04:00
James Laska a4cd5a0909 Use make when installing test requirements 2016-09-21 16:34:44 -04:00
Leigh Johnson 8128bda8cc Turn off npm3 progress reporter, remove a stray ui test that ended up in the repo root ¯\_(ツ)_/¯ 2016-09-21 16:28:43 -04:00
Leigh Johnson e9570c9d52 Update package.json deps to include PhantomJS / karma launcher, update output location, freeze deps 2016-09-21 16:19:12 -04:00
James Laska 5b6f610970 Move requirements build to unittest Dockerfile
Previously, the requirements were built during compose runtime.
2016-09-21 15:27:44 -04:00
James Laska dcf127ac6d Don't install csslint during requirements_jenkins 2016-09-21 15:27:44 -04:00
Wayne Witzel III 6f69163fad Merge pull request #3524 from wwitzel3/devel
update network cred ssh agent unit test with post_run_hook mock
2016-09-21 14:13:10 -04:00
Shane McDonald e958a12dab Remove --unsafe-perm
This breaks RPM builds… Will specify in DEB jobs only.
2016-09-21 11:45:54 -04:00
Aaron Tan 2209a0e9e6 Merge pull request #3546 from jangsutsr/3385_add_can_start_to_nt_temp
Add can_start to notification template access
2016-09-21 09:03:38 -04:00
Aaron Tan f68baadc39 Add can_start to notification template access 2016-09-20 23:38:05 -04:00
Shane McDonald 9fe408c6f7 Add instructions to rebuild unit test container 2016-09-20 09:56:19 -04:00
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