70 Commits

Author SHA1 Message Date
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
Wayne Witzel III
5d6ea242c0 reorganzing tests folder
make tests a module

refacotring to local imports for tests

fixing test import of tasks

fixing test import of tasks

more testing fixups
2016-02-01 18:37:56 -05:00
Matthew Jones
b59e4d8111 Fix up some flake8 import issues 2015-12-17 11:34:01 -05:00
Matthew Jones
0e98491dac Remove PROJECTS_ROOT and JOBOUTPUT_ROOT from stngs 2015-12-17 11:22:45 -05:00
Matthew Jones
910f9bd4a3 Fixing up some flake8 issues 2015-12-17 10:48:15 -05:00
Matthew Jones
e97e60bd30 Update settings location for certain values
* PROJECTS_ROOT
* JOBOUTPUT_ROOT
* SCHEDULE_MAX_JOBS
* STDOUT_MAX_BYTES_DISPLAY
2015-12-15 15:14:16 -05:00
Chris Meyers
b350eef3f0 session limit invalidation events via socket.io 2015-09-29 14:10:26 -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
Matthew Jones
1471a3bb3e Allow proot's base tmp path to be configurable 2015-08-21 15:28:39 -04:00
Matthew Jones
ee8a76f32b Use smart_str instead of .encode on passwords
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one.   This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 17:00:46 -04:00
Matthew Jones
e221097a37 Use smart_str instead of .encode on passwords
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one.   This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 16:55:39 -04:00
Chris Meyers
f64a48a98f python 2.6 safe total_seconds 2015-07-30 13:40:31 -04:00
Matthew Jones
10f5308bd8 Fix version parsing of ansible to exclude newlines 2015-07-06 12:16:17 -04:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
bcc18aa689 Make using named pipe for adding passwords conditional on the version
of ssh used.
2015-06-11 14:48:10 -04:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
Chris Meyers
0dc7072e68 flake8 2015-05-11 09:08:46 -04:00
Chris Meyers
5ff696f708 added fact view tests
* Add related link from host to fact_versions
* Add related link from fact_versions to fact_view
2015-05-08 21:34:24 -04:00
Matthew Jones
36512d74c2 Unused variable to make pyflakes happy 2015-04-21 16:13:37 -04:00
Matthew Jones
0fc753046d This fixes an issue where various parts of the system could get stuck
waiting to emit a socketio event if there was a problem with the
websocket service.  Instead of crashing and hanging the system it will
now emit an error and continue.
2015-04-21 15:29:37 -04:00
Chris Church
88e7f6624c Update relaunch endpoints to use custom serializer, check passwords needed before creating/copying job or ad hoc command. 2015-03-31 17:40:00 -04:00
Chris Church
c1d90e1897 Keep git URLs in SCP format for project updates. Fixes https://trello.com/c/xUL2FZyu 2015-02-26 15:46:55 -05:00
Matthew Jones
bb3732b2c1 Cleaning up some flake8 errors, pyflakes in this case 2015-02-10 17:00:23 -05:00
Matthew Jones
ffec2a19ae Some slight improvements in ansible version detection in tower where
that's used
2015-02-04 10:55:45 -05:00
Matthew Jones
6e6a709165 Fixing up some pep8 issues 2015-02-03 13:46:58 -05:00
Matthew Jones
ffe0d4a5d0 Handle some more boolean types in our custom boolean converter 2015-01-28 10:21:14 -05:00
Matthew Jones
19c6e474cd Missing boolen utility function export 2015-01-26 14:33:20 -05:00
Matthew Jones
b5db74a7d9 Generalize the python boolean converter so we can use it in RBAC methods 2015-01-26 11:57:21 -05:00
Chris Church
d826cf0a0a Add support for changing proot verbosity via settings. 2015-01-07 13:11:24 -05:00
Matthew Jones
1f723e9404 More work on unicode for project dirs 2014-12-17 12:52:29 -05:00
Chris Church
41ac7c4d96 Allow space in SCM password. Fixes https://trello.com/c/KaqasZPa 2014-12-16 14:38:58 -05:00
Matthew Jones
91527228db Demote settings imports in main utils 2014-12-05 15:47:25 -05:00
Matthew Jones
ec887f877f Support running custom inventory scripts (only) from within proot if enabled 2014-12-05 15:25:06 -05:00
Luke Sneeringer
52aca5a081 Theoretically working Socket implementation. 2014-11-21 09:24:49 -06:00
Luke Sneeringer
ec55603e3f Fixing various small issues to improve tests. 2014-11-05 16:07:57 -06:00
Luke Sneeringer
99381f11fa Beginning swap of ZeroMQ for Redis. 2014-10-27 16:18:04 -05:00
Luke Sneeringer
bc763eab57 Know how to spot an HA environment. 2014-10-20 08:04:17 -05:00
Matthew Jones
71e87f7a41 Throw away everything but the first line when fetching the ansible version 2014-10-08 13:30:36 -04:00
Matthew Jones
ac94c11fd7 Adjust inventory computed field calculations to happen in the celery context 2014-04-30 14:38:08 -04:00
Chris Church
29349d0a5a Disable socketio notifications for unit tests. 2014-04-19 02:12:33 -04:00
Matthew Jones
92739bc86c Emit just one message type for status change events: 2014-04-18 10:54:20 -04:00
Matthew Jones
6ede456715 Send signals when jobs/tasks change states 2014-04-18 09:58:36 -04:00
Chris Church
2c319cc986 Update title for browsabl API to Ansible Tower, return dated version for development/nightly builds. 2014-04-02 00:16:48 -04:00
Chris Church
fe5d154d76 AC-1040 Exposed list of choices for type field. 2014-03-29 14:34:22 -04:00
Chris Church
bfb0159083 AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Matthew Jones
f1ac2ff899 Bug fixes for CentOS 2014-03-20 11:22:19 -04:00
Matthew Jones
85b6aa2262 Rebasing for initial task system work. Current work towards actual task
running flow
2014-03-10 16:07:20 -04:00
Chris Church
9790715a25 Update make develop command, version check after package rename. 2014-01-29 13:49:33 -05:00
Chris Church
ff40234a9b AC-986 Replaced use of str() with unicode() in model dict/diff functions. 2014-01-27 14:23:32 -05:00