Sergey
669630ea83
Fixes #23445
2017-04-12 11:44:04 -04:00
Brian Coca
7cd7f544e0
fixed man page generation so it works 'clean'
2017-03-30 13:13:27 -04:00
Brian Coca
18a7a1ec31
added docs to CLI docstringsadded
...
removed 'now intermediate build files' from repo
adjusted gitignore
2017-03-24 15:52:36 -04:00
Brian Coca
424e1946f4
moved docs generation and templates to docs/
2017-03-24 15:52:36 -04:00
Brian Coca
a1a62103fa
clean tests results
...
removed redundant pyc line
2017-03-12 12:30:24 -04:00
Harlan Lieberman-Berg
e24ddb4980
Add manpage for ansible-console. ( Closes : #16244 ) ( #16245 )
...
* Add manpage for ansible-console. (Closes : #16244 )
* Mark host as an optional field in ansible-console.1
2017-03-08 11:04:35 -05:00
Matt Clay
25cb281b9b
Update Makefile to use ansible-test for pep8.
2017-02-09 11:01:48 -08:00
Brian Coca
07f762c26b
remove coverage files on clean
2017-01-25 13:29:28 -05:00
Brian Coca
0803c638bb
set cpus only if not set already
2017-01-19 23:09:55 -05:00
Brian Coca
8283d08536
escape $
2017-01-19 23:01:41 -05:00
Adrian Likins
c0263b3020
Pass CPUS from top Makefile to docs Makefile
2017-01-13 14:41:14 -05:00
Matt Clay
cd3fdca540
Switch tests to pytest and ansible-test.
...
- Replace nose usage with pytest.
- Remove legacy Shippable integration.sh.
- Update Makefile to use pytest and ansible-test.
- Convert most yield unit tests to pytest parametrize.
2017-01-11 12:34:59 -08:00
Brian Coca
afbe3bd63f
corrected service condition
2017-01-09 15:44:53 -05:00
Brian Coca
aae9bbdebc
fixed cleaning docsite
2017-01-06 17:07:42 -05:00
Brian Coca
57f8b791d6
consolidated docs
...
point to new doc locations
removed non existing dirs
2017-01-06 09:16:59 -05:00
Antonio Huete Jimenez
b9e4a4dede
Check for DragonFly BSD as well for DATE
2017-01-02 11:51:00 -05:00
Matt Clay
0d46805979
Clean up shebangs for various files.
...
- Remove shebangs from:
- ini files
- unit tests
- module_utils
- plugins
- module_docs_fragments
- non-executable Makefiles
- Change non-modules from '/usr/bin/python' to '/usr/bin/env python'.
- Change '/bin/env' to '/usr/bin/env'.
Also removed main functions from unit tests (since they no longer
have a shebang) and fixed a python 3 compatibility issue with
update_bundled.py so it does not need to specify a python 2 shebang.
A script was added to check for unexpected shebangs in files.
This script is run during CI on Shippable.
2016-11-02 17:00:27 -07:00
Matt Clay
e24588902f
Move test_os_server and apply fixes.
...
- Add missing meta value for test_create_server
- Add .gitignore for pytest .cache directory
Exclude test_os_server from nose test runs since it was designed
for pytest. The test will work correctly when run using pytest.
This is a temporary issue, as we'll be moving to pytest soon.
2016-10-31 15:45:10 -07:00
Shane McDonald
4ae0d5b843
Build debs with pbuilder ( #18165 )
...
* Build debs with pbuilder
* Update README in packaging/debian
* Add Dockerfile for building debs
* Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
2016-10-26 14:24:15 -07:00
Adrian Likins
95dd8cc2c7
Add '--cover-erase' to 'make tests' cli ( #17708 )
...
Otherwise the coverage is cumulative over multiple runs and can be misleading.
2016-09-22 13:35:18 -07:00
Adrian Likins
be1139317a
Add a 'make integration' target ( #17710 )
...
Runs test/utils/shippable/integration.sh
2016-09-22 13:31:43 -07:00
Toshio Kuratomi
b8a8027b7d
We've decided that python-3.5 is the minimum python version ( #17270 )
2016-08-29 09:12:37 -07:00
Jim Ladd
329a134cb3
Increase local version for unofficial rpms ( #17026 )
2016-08-11 17:36:03 -07:00
Adrian Likins
20ef8d5aaf
Disable 'xmllint' checks in a2x ( #16317 )
...
It brings in a libxml2 dep to the docs build
require. The a2x default of xmllint invocation
attempts to make outgoing requests to download
XML DTD's, despite a2x using the '--nonet' flag.
2016-07-29 16:02:02 -04:00
Brian Coca
e6cd0dbaf3
slight rearrangement of doc targets
2016-07-23 18:16:09 -04:00
Brian Coca
a196c7d737
only send event if tqm exists
...
fixes #13843
2016-01-13 10:18:36 -05:00
Brian Coca
bd0f9a4afc
fix make complaint when git is not installed
2015-12-10 21:50:44 -05:00
James Laska
3c1fe28bed
Correct broken DEB builds by fixing LC_TIME assignment
...
Fixes a `make deb` build failure introduced by
c41adc32c2
2015-11-02 12:30:36 -05:00
=
c41adc32c2
[Makefile] Ensure english dates are generated in debian/changelog placeholder when building deb package.
...
It
2015-11-01 21:37:02 +01:00
Toshio Kuratomi
8dfefa2233
Remove GNU extension from xargs invocation
...
Fixes #12845
2015-10-26 07:16:21 -07:00
Toshio Kuratomi
15d7f53846
AnsibleModules.log() fix for python3
...
Also add unittests for AnsibleModules.log()
Fixes #12586
2015-10-12 13:30:27 -07:00
James Cammarata
af1f462ba0
Fix to exclude forward slashes from git info during 'make rpm'
...
Fixes #12558
2015-09-30 09:32:09 -04:00
Brian Coca
87926cbb33
added egg to cleanup
2015-08-16 09:33:20 -04:00
Brian Coca
7a019d930e
Merge pull request #8469 from srvg/packageversion_more_gitinfo
...
packaging: add short hash and branch name in package version for unoffici...
2015-07-28 19:17:30 -04:00
Brian Coca
24fd4faa28
avoid removing test all~ file
2015-06-05 18:42:14 -04:00
James Laska
bbc05a2cf5
Improve generation of debian changelog
2015-04-09 09:30:56 -04:00
James Cammarata
1cf911d524
Back-porting Makefile changes for version/release
2015-04-07 09:54:19 -05:00
James Laska
3d67e9e0c0
Add tox and travis-ci support
...
Add tox integration to run unittests in supported python releases.
Travis-CI is used for test execution.
Additionally, the unittest TestQuotePgIdentifier was updated to support
using assert_raises_regexp on python-2.6.
Sample travis-ci output available at
https://travis-ci.org/ansible/ansible/builds/54189977
2015-03-13 08:20:24 -04:00
Brian Coca
24766bdfa0
added cleaning pyc files
2015-02-17 16:41:34 -05:00
Ofir Petrushka
37cc4cf9cb
Reference tests/README.ME in the Makefile notes
...
https://github.com/ansible/ansible/issues/6776
2015-01-28 17:21:27 +02:00
Toshio Kuratomi
6c94d85690
Tell nose to include branches in its coverage reporting
2014-10-21 16:41:16 -04:00
Toshio Kuratomi
938b2108d0
Move the v2 tests under the v2 tree
2014-10-15 18:08:28 -04:00
Toshio Kuratomi
617352a38e
Python3 test target and use coverage for all v2 tests.
2014-10-12 18:54:01 -04:00
Michael DeHaan
f066e361f1
WIP on data structure processing patterns.
2014-10-06 16:29:18 -04:00
Michael DeHaan
335221d79e
This is an exceedingly rough sketch of what attributes might look like - metaclass implementations NOT complete.
2014-10-03 14:54:04 -04:00
Michael DeHaan
da01eef4db
Move v2 out of the package tree so it does not yet appear.
2014-10-02 13:47:25 -04:00
Michael DeHaan
367f70fb17
Fix target in makefile
2014-10-02 13:43:36 -04:00
Michael DeHaan
1aa338a353
Make target for nosetests, no need to set library path for previous tests
2014-10-02 13:41:52 -04:00
Michael DeHaan
bceb0026a5
Updating the module formatter to deal with the new repo structure.
2014-09-26 17:10:13 -04:00
Serge van Ginderachter
df8dfdce06
packaging: add short has and branch name in package version for unofficial builds
2014-08-06 15:08:55 +02:00