1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
Commit Graph

315 Commits

Author SHA1 Message Date
Matthew Jones
0cd4b52582 Remove azure dependency from tower venv 2016-04-21 14:03:27 -04:00
Matthew Jones
296f70ce17 Implement Azure RM creds and inventory
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
  long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
Matthew Jones
b4ef0304e3 Add funcsigs as a direct dependency for the venvs 2016-04-12 10:48:49 -04:00
Matthew Jones
f437d39d06 Add psutil to ansible venv dependencies 2016-04-11 12:57:56 -04:00
Chris Meyers
01d323fd06 fix dev container pip init process 2016-04-06 14:28:34 -04:00
Matthew Jones
0a6df40066 Improvements to docker compose workflow with new packaging changes 2016-04-06 12:24:19 -04:00
Graham Mainwaring
ba916ed25f Preliminary EL6 SCL Python 2.7 support 2016-03-23 15:46:00 -04:00
Matthew Jones
46bbc83d0d Changes for Tower virtualenv support
* Break requirements down into ansible and tower reqs
* Generate separate Ansible and Tower virtual environments
* Install appropriate requirements files into each one
* Modify development tools to use these venvs instead of our old
  site-packages
* Modify settings to indicate venv enablement and location of venvs
* Modify tasks to use the proper virtual environment for its purpose
2016-03-21 12:11:19 -04:00
Chris Meyers
48d3aa2bc1 bump boto 2016-03-03 17:17:55 -05:00
Chris Meyers
88bf44bfcb Update requirements_jenkins.txt 2016-03-03 11:10:43 -05:00
Chris Meyers
9d24236632 pin pyflakes to allow flake8 to succeed
* flake8 monkeypatches pyflakes to add codes to linting results. It
would seem that pyflakes 1.1.0 adds more checks but flake8 doesn't
monkeypatch to expose them. I've submitted a PR to add error code 405 to
be able to express that we ignore it in our setup.cfg
 https://gitlab.com/pycqa/flake8/merge_requests/56
2016-03-02 09:30:52 -05:00
Chris Meyers
356b9c99b3 Merge branch 'mongoectomy_implementation' into devel 2016-03-01 08:22:40 -05:00
Matthew Jones
533c629040 Add irc requirements dependency 2016-02-29 23:50:16 -05:00
Matthew Jones
99ec07b8a5 Merge branch 'notifications_work' into devel
* notifications_work: (23 commits)
  Updates to notification unit tests after @wwitzel3's feedback
  Fix some notifications issues and write some tests
  Add notification system documentation
  Clean up flake8 related issues
  Fixing up some unicode issues
  Implement tower ui view url on models
  Sanity check and force proper types in admin check
  Proper type for in check
  Adding migration and base notification type
  Add a periodic administrative notification
  Refactor message generator
  Support notification password field encryption
  Notification configuration type checking
  Refactor NotificationTemplate to Notifier
  Implement irc notification backend
  Add webhook notification backend
  Pagerduty and Hipchat backends plus some cleanup
  Notification serializers, views, and tasks
  Implement notification serializer and validations
  Notification endpoints and url expositions
  ...
2016-02-29 16:50:33 -05:00
Chris Meyers
7ffe46fc74 add postgres Fact model, update views, tests
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Chris Meyers
61fd645d25 Revert "add error to requirements.txt for jenkins testing"
This reverts commit b1543763a4c195c857ec82bda058e06a0becf816.
2016-02-23 12:49:28 -05:00
Chris Meyers
3535cf3b08 add error to requirements.txt for jenkins testing 2016-02-23 12:35:54 -05:00
Chris Meyers
3013bcbebb remove duplicate shade 2016-02-23 12:27:51 -05:00
Chris Meyers
244d1ac73d keystone dep fix 2016-02-23 11:47:26 -05:00
Chris Meyers
1915347aff fix req 2016-02-23 10:32:39 -05:00
Matthew Jones
718a9c2a97 Fix up some merge requirements conflicts 2016-02-22 10:21:34 -05:00
Matthew Jones
c3121211c3 Merge branch 'release_2.4.4' into devel
* release_2.4.4: (35 commits)
  Update changelog for 2.4.4 release
  Make pycompile non-fatal during deb build
  Revert "Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools"
  Roll back mock version due to packaging issues
  Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools
  change to warning behavior
  Resolve bug when building with /bin/sh on Ubuntu
  Attempt to workaround pip install issue
  point at packages with source on pypi
  Mock requires a newer setuptools when building requirements
  requests needs openssl
  Properly set the shell during directory migration
  pyrax bumpb new python license
  Typo's are bad and should be vanquished
  Conditionally install 2.6 python requirements
  separate pip requirements file for python2.6
  Added missing 'skipped' field for no_log
  Obey no_log even more when using ansible 2.0
  bump shade from 0.5.0 to 1.4
  RHEL5 compatibility and handling of error scenarios
  ...
2016-02-22 10:09:47 -05:00
Chris Meyers
56b0da30f1 adds fact model 2016-02-15 15:39:22 -05:00
Matthew Jones
9d6739045a Implement irc notification backend 2016-02-11 15:34:27 -05:00
Matthew Jones
24b33a52c8 Roll back mock version due to packaging issues 2016-02-10 17:01:18 -05:00
Matthew Jones
34ebe0a848 Pagerduty and Hipchat backends plus some cleanup 2016-02-10 15:17:11 -05:00
Matthew Jones
7385efef35 Adding some early Notifications stubs
* A basic NotificationTemplate model class with early notification type
  definitions
* Initial implementations of the Email, Slack, and Twilio Notification
  backends using the Django email backend system
* Some dependencies thereof
2016-02-04 15:52:23 -05:00
Chris Church
4f3dea92fe Remove dev dependency on django-devserver. 2016-02-02 22:55:58 -05:00
Chris Church
60224cdbe4 Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling. 2016-02-02 17:48:04 -05:00
Wayne Witzel III
71a1547c3a fixing ad_hoc imports
flake8 fixes

Fix and add awx/api/tests

added fact tests

added proper xml reports for jenkins

added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III
3d4580611e added pytest to requirements_dev
reworking test strucutre

reworked pytest.ini, removed functional imports, updated req_dev

remove unneeded __init__ files

add testing checker to local_settings examples

adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Chris Meyers
306d0d401a point at packages with source on pypi
* --target doesn't use wheels. Some packages only have wheel. Bump back
the package versions that have source in them, but not too far back such
that the interfaces change. It's a balancing act.
2016-02-01 12:16:26 -05:00
Chris Meyers
7d73cb1bcf requests needs openssl 2016-01-29 16:25:37 -05:00
Chris Meyers
264fca1f3d separate pip requirements file for python2.6
* platforms, like centos6, with python2.6 need old raggity packages.
Let them have the old raggity packages.
2016-01-28 17:35:21 -05:00
Chris Meyers
7afa14aabb bump shade from 0.5.0 to 1.4 2016-01-27 11:50:57 -05:00
Joshua "jag" Ginsberg
f25b76aee9 Integrate statsd metrics into ansible playbook execution.
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
Matthew Jones
7ca73a4df1 Rev PBR to 0.11.1 to fix up some dependencies
All openstack modules claim they'll work with this version
2016-01-15 16:22:54 -05:00
Matthew Jones
31d9438fdf Rev PBR to 0.11.1 to fix up some dependencies
All openstack modules claim they'll work with this version
2016-01-15 16:22:24 -05:00
Matthew Jones
53d025c6d4 Fixes rhel 7.2 websocket issue
Rev gevent and greenlet, on another side a fix has been applied to
gevent-socketio.
2016-01-15 13:42:01 -05:00
Matthew Jones
7801fab953 Fixes rhel 7.2 websocket issue
Rev gevent and greenlet, on another side a fix has been applied to
gevent-socketio.
2016-01-15 13:40:53 -05:00
Matthew Jones
d110943b33 Momentarily peg ansible version at 1.9.4
Having issues with unicode under ansible 2.0
2016-01-12 13:10:37 -05:00
nitzmahone
9b1ed7a19d update to more performant and 2.7.9 SSL-friendlier version of pywinrm 2015-11-17 19:37:15 -05:00
Chris Meyers
4a6bceaeb0 Merge pull request #504 from chrismeyersfsu/license-a_piece_of_my_soul
2.4.0 python lib licenses
2015-11-17 15:49:36 -05:00
Chris Meyers
b37af76599 update requirements.txt README 2015-11-16 11:20:57 -05:00
Chris Meyers
46428e7674 add pyrad to requirements.txt 2015-11-16 11:15:08 -05:00
Chris Meyers
a1f9476f6d added appdirs 2015-11-16 11:14:17 -05:00
Chris Meyers
693a4412c8 bump django-radius to include new license 2015-11-16 09:59:41 -05:00
Matthew Jones
7f276b03fb Switch to matburt's fork for python social auth
This picks up the change needed for python 2.6 to work
2015-11-11 16:06:37 -05:00
Matthew Jones
b2cfd38a1c Update dm.xmlsec.bindings requirement to point to a version with updated cflags 2015-11-04 16:43:06 -05:00
James Laska
5f3f830232 Fix broken coverage import with older django-jenkins 2015-11-04 10:47:26 -05:00
James Laska
0ae947660b Pin to older django-jenkins release
The latest django-jenkins release does not support py2.6 or django-1.6.  Lame!
2015-11-02 17:09:37 -05:00
Chris Meyers
dcd731071f pin django debug toolbar for django dep reason
* fix IPy dep
* new django debug toolbar released today, broke things. Pin to our old
version of django to ensure success.
2015-10-07 11:34:50 -04:00
Chris Meyers
815081eec1 correct egg names for pip dependency resolution 2015-10-07 11:32:22 -04:00
Chris Church
2ba5e06e2c Add support for single-sign on using python-social-auth (with Google/Github OAuth2 and SAML support). Add support for RADIUS as another authentication backend. 2015-10-02 14:57:27 -04:00
Matthew Jones
519b0e8eef Merge branch 'release_2.3' into devel
* release_2.3: (54 commits)
  Upgrade changelog for 2.3
  Purge superlance
  Purge an old supervisor config
  Require chris-lea libzmq3
  Use the htpasswd command, not the module
  Fix a playbook syntax error for postgres
  Ensure postgres is started earlier in setup role
  Allow customizing npm path
  Include RPM-GPG-KEY-ansible-release for all releases
  Simplify GPG keys
  Correct broken RPM-GPG-KEY
  Use gpg --passphrase for signing CHECKSUM
  Handle rpm --addsign pasphrase prompts
  Adding docker-compose development workflow
  Fix license in spec file.
  Updates to selinux policy for some munin plugins
  ansible 1.8.4 requires sudo:true when using sudo_user
  Fix expect script timeout
  Disable timeout and correct sign.exp error
  Fix expect script hang
  ...
2015-09-11 16:03:52 -04:00
Matthew Jones
0ac4359bec Purge superlance
We no longer get memmon with our package vendoring changes.  Don't think
we need it anyway as we've got the socket service fixed.
2015-09-11 14:43:28 -04:00
Matthew Jones
97f85d2344 Rev django auth ldap to version 1.2.6
This fixes (probably among other things) an issue where we wouldn't get
any logging messages out of django for misconfigured ldap.
2015-09-10 10:59:24 -04:00
Matthew Jones
5727d722b6 Merge remote-tracking branch 'upstream/release_2.3' into devel
* upstream/release_2.3: (91 commits)
  Include python-{paramiko,ecdsa} dependencies
  Remove extra epel testing stanzas
  Unit test for ec2 credentialless inventory
  Fix issue with ec2 iam sync with no credential.
  Use the htpasswd command instead the ansible module
  Pip is no longer needed
  check local user root or not in ./configure
  Remove unneeded when check for super user addition
  Improve distro detection in setup.sh
  Fix superuser check on upgrade
  Minor improvements to setup.sh
  Remove ansible prerequisite check from configure
  Attempt to install ansible within setup.sh
  Allow munin processes to access postgres
  Move up base package dependency install
  fixes jenkins failures
  Proper flake8 fix
  fixes executing processes with correct PYTHONPATH will pickup .pth files
  Show the repo for bundled package file dump
  Proper flake8 fix
  ...
2015-09-03 15:46:10 -04:00
Chris Meyers
9f33127919 fixes jenkins failures
* include requirements.txt in requirements_jenkins.txt
* include requirements.txt in requirements_dev.txt
* alter Makefile to NOT call the requirements rule in the requirements_*
rules. Again, this is now handled by the -r requirements.txt in the
respective _*.txt file.
* install jenkins requirements "globally" (in the virtualenv)
2015-09-02 08:23:11 -04:00
Chris Meyers
1f06a95c40 fixes executing processes with correct PYTHONPATH will pickup .pth files 2015-09-01 18:30:39 -04:00
Chris Meyers
e80dcd9645 reference requirements in requirements_dev 2015-08-18 16:21:24 -04:00
Chris Meyers
171d5abf33 allow unicode in stdout. 2015-08-17 14:30:00 -04:00
Chris Meyers
a07bc30be7 successfully install requirements on python 2.6
jsonschema conditionally pulls in functools32 if python2.7 else it uses
2.6 packages.
2015-08-17 14:29:46 -04:00
Chris Meyers
99fb641b1b all vendor dependencies expressed in requirements.txt 2015-08-17 11:17:53 -04:00
Chris Church
6c409404ba Incorporate OpenStack inventory changes from https://github.com/ansible/ansible/pull/11447 back into Tower. 2015-08-10 15:49:25 -04:00
Chris Meyers
7c315ebd33 allow unicode in stdout. 2015-08-07 13:46:39 -04:00
Chris Meyers
b907a49dc1 jenkins needs unittest2 also 2015-08-07 09:39:40 -04:00
Chris Meyers
d6098b15cb unittest2 needed to run unit tests 2015-08-07 09:39:08 -04:00
Chris Meyers
0fb5e09ed4 successfully install requirements on python 2.6
jsonschema conditionally pulls in functools32 if python2.7 else it uses
2.6 packages.
2015-08-06 13:55:22 -04:00
Chris Meyers
fa1643e330 all vendor dependencies expressed in requirements.txt 2015-08-05 08:10:16 -04:00
Matthew Jones
e87f90b39b add netifaces to the jenkins requirements to make automated unit test
runs happy
2015-04-14 11:33:47 -04:00
Chris Meyers
c03cef022d Implemented fact scan storage logic.
* added mongo connection logic
* added mongo dbtransform logic to allow keys with . and $
* altered tower fact scanner CacheModule to emit a message for each fact module facts (including ansible facts). Previously, seperate facts module facts were getting concatenated to each subsequent emi
* tower fact scanner CacheModule timeout set as to not hang for forever
* broke apart commands.py test
* added unit test for run_fact_cache_receiver, facts, and dbtransform
2015-04-07 09:50:35 -04:00
Chris Meyers
9012455b6d added dependencies mongoengine and pymongo 2015-04-03 08:40:16 -04:00
James Laska
c841f08e5f Update requirements/jenkins.txt
Also, install (not upgrade), jenkins requirements in the Makefile
target.
2015-02-06 09:47:41 -05:00
Matthew Jones
bd542bc336 Update some of the dev requirements stuff 2015-01-30 10:52:35 -05:00
James Laska
16437462ac Replace zmq test dependency with redis 2014-11-12 12:56:49 -05:00
Luke Sneeringer
f69969f1e0 Add vendored Redis. 2014-11-03 14:50:01 -06: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
James Laska
d12dddebde Handle jenkins requirements properly 2014-10-02 16:16:27 -04:00
James Laska
2846f8c530 Update dev_local.txt with django-debug-toolbar-1.1 2014-10-02 15:19:33 -04:00
James Laska
adda5b90bd More fiddling with jenkins requirements 2014-10-02 14:19:18 -04:00
James Laska
6ed7e5f538 Include django-jenkins in requirements/jenkins.txt 2014-10-02 11:55:03 -04:00
Chris Church
a479294f02 Update django-devserver to support Django 1.6. 2014-09-11 03:54:26 -04:00
James Laska
8a247ae2c4 Add requirements/jenkins.txt
Moves custom test requirements out of jenkins and into the repository.
2014-09-10 15:25:58 -04:00
Luke Sneeringer
59f3321b13 Updating Django to 1.6.7 in revision txts. 2014-09-10 13:36:03 -05:00
Luke Sneeringer
356532424e Vendor pywinrm (and dependencies).
https://trello.com/c/FQ9AkmRV/46-install-vendored-pywinrm-for-ansible-us
e
2014-08-20 09:35:40 -04:00
Luke Sneeringer
4723ad0a71 VMware support within Tower. 2014-08-07 11:09:33 -05:00
Luke Sneeringer
0f5263c027 Adding deps. 2014-07-28 14:40:51 -05:00
Matthew Jones
2e0ad0edbf Documentation for memcached
Conflicts:
	CONTRIBUTING.md
2014-05-14 13:48:15 -04:00
Chris Church
118ddf97f6 Get created_by and modified_by updating automatically. 2014-04-01 21:27:32 -04:00
Chris Church
86599cf1e3 Add API resource for unified job stdout with HTML output of ANSI color codes. 2014-04-01 20:15:43 -04:00
Chris Church
1c649a0752 AC-1108 Downgrade django-jenkins to get unit tests passing. Fix activity stream tests to not assume PK is always 1. 2014-04-01 14:56:37 -04:00
Chris Church
8901cd31e7 Install setuptools/Django development packages separately before installing the others. 2014-03-31 14:08:14 -04:00
Chris Church
56f8d6748b Updated inventory plugins from ansible, updated all third party packages in awx/lib/site-packages to latest versions, minor serializer fixes after package upgrades. 2014-03-31 13:26:00 -04:00
Chris Church
e957de2016 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-24 16:49:30 -04:00
Matthew Jones
155837ebbb Update dev requirements to mention zeromq dependency 2014-02-18 15:22:49 -05:00
Chris Church
36f094a8f8 Fix for failing unit tests. 2014-01-02 17:24:32 -05:00
Chris Church
d8423a3342 Update third party packages. 2014-01-02 15:09:48 -05:00
Chris Church
7cd2707713 Updated all vendored third-party packages. 2013-11-14 22:55:03 -05:00
Chris Church
7399f7c943 One more attempt at making Jenkins and awx-bot happy. 2013-09-29 22:06:26 -04:00
Chris Church
ee9d24002a Update astroid package to get Jenkins to pass unit tests. 2013-09-29 21:58:31 -04:00
Chris Church
e0a94cbf32 AC-505 Add vendored copies of ec2 and rax inventory scripts from Ansible (for now). Add vendored versions of boto and pyrax and all their dependencies, updated all vendored packages to latest versions. 2013-09-29 20:36:46 -04:00
Chris Church
7a2f5811e3 Update requirements to support CentOS/Python2.6. 2013-09-24 23:13:27 -04:00
Chris Church
981819fdc3 Remove readline from dev requirements for Jenkins unit tests to pass (hopefully). 2013-09-24 22:51:56 -04:00
Chris Church
9fc46e6292 AC-474. Updates to contributing doc, along with related Makefile, testing and settings changes. 2013-09-24 21:41:00 -04:00
Chris Church
1763d373eb AC-156. Add dependencies for LDAP support. 2013-09-06 17:11:38 -04:00
Chris Church
8d16485f7f Updated third-party requirements to latest versions. 2013-08-27 23:20:47 -04:00
Chris Church
ffa48f2c9e Fixed comment line in requirements. 2013-06-28 05:37:00 -04:00
Chris Church
cbd64ee65d Include local versions of third-party dependencies, particularly those unavailable or outdated as OS packages. 2013-06-23 21:08:54 -04:00
Chris Church
07657926b9 Rename ansibleworks to awx. 2013-06-23 13:21:02 -04:00
Chris Church
d822287609 Updated to be compatible with Django 1.4.5, added tox settings for automated testing with Python 2.6/2.7 and Django 1.4/1.5. 2013-06-22 16:27:17 -04:00
Chris Church
f0a0a69ec7 Makefile updates, updated requirement packages, added requirements files for both local and PyPI installations. 2013-06-20 15:53:20 -04:00
Chris Church
59d1ae7322 Work in progress on inventory script using API. 2013-06-20 04:20:59 -04:00
Chris Church
c526f58098 Updates to work with REST framework 2.3.x, update browseable API style to mimic UI. 2013-06-14 04:13:34 -04:00
Chris Church
65c8176507 Added tarballs for third-party Python dependencies, updated requirements, added optional django-debug-toolbar support. 2013-06-10 21:54:42 -04:00