James Cammarata
1cf911d524
Back-porting Makefile changes for version/release
10 years ago
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
10 years ago
Brian Coca
24766bdfa0
added cleaning pyc files
10 years ago
Ofir Petrushka
37cc4cf9cb
Reference tests/README.ME in the Makefile notes
...
https://github.com/ansible/ansible/issues/6776
10 years ago
Toshio Kuratomi
6c94d85690
Tell nose to include branches in its coverage reporting
10 years ago
Toshio Kuratomi
938b2108d0
Move the v2 tests under the v2 tree
10 years ago
Toshio Kuratomi
617352a38e
Python3 test target and use coverage for all v2 tests.
10 years ago
Michael DeHaan
f066e361f1
WIP on data structure processing patterns.
10 years ago
Michael DeHaan
335221d79e
This is an exceedingly rough sketch of what attributes might look like - metaclass implementations NOT complete.
10 years ago
Michael DeHaan
da01eef4db
Move v2 out of the package tree so it does not yet appear.
10 years ago
Michael DeHaan
367f70fb17
Fix target in makefile
10 years ago
Michael DeHaan
1aa338a353
Make target for nosetests, no need to set library path for previous tests
10 years ago
Michael DeHaan
bceb0026a5
Updating the module formatter to deal with the new repo structure.
10 years ago
James Laska
4046d1fd0d
Correct Makefile variable usage
11 years ago
James Laska
411311495f
Updated DEB build workflow
...
Updates to Makefile include:
* add targets: deb-src, deb-src-upload, deb-upload
* add variables to control DEB building: DEBUILD_OPTS, DPUT_OPTS, DEB_PPA, DEB_DIST, DEB_RELEASE
* create deb files for all release values in DEB_DIST
Several updates to packaging/debian/*
* Updated control file
* Whitespace/formatting of changelog
Add deb-build to .gitignore
11 years ago
James Laska
4ee0898fc9
Assert the MOCK_CFG exists for the mock-rpm build target
11 years ago
James Laska
346d02e3b4
Improve OFFICIAL build conditional test
...
An unofficial build is any build where OFFICIAL != yes. This patch adjusts the
conditional accordingly.
11 years ago
James Laska
eede23ab0d
Add support for rpm builds through mock
11 years ago
James Cammarata
d287179f7b
Updating Makefile for setuptools change
...
Fixes #7224
11 years ago
James Cammarata
12c812f030
Adding a man page for ansible-vault
...
Fixes #6471
11 years ago
James Cammarata
ba4fbd2b66
Adding man page for ansible-galaxy
...
Partially resolves #6471
11 years ago
James Cammarata
168e3cf685
Revert "Adding a Makefile target for integration tests - "make integration""
...
This reverts commit 6f1a58abd3
.
11 years ago
James Cammarata
6f1a58abd3
Adding a Makefile target for integration tests - "make integration"
11 years ago
James Laska
a77ea0f942
Allow custom nosetests parameters
...
The NOSETESTS variable can be used to support customizing the nosetests
parameters. This allows providing custom nose parameters such as
--with-coverage.
11 years ago
Michael DeHaan
f0dd040377
reconnect unit tests to 'make tests'
11 years ago
Michael DeHaan
1270e2350c
Remove man3 stuff since this is available via ansible-doc, rpm target should
...
build manpages.
11 years ago
Michael DeHaan
fe2d00d9d3
WIP on refactoring the module formatter code that we use to build the doc site with.
11 years ago
Michael Scherer
7a220e3b94
fix make tests to use the set of module from git checkout
...
If someone try to run the test suit with ansible already installed,
the mix between content in /usr/share and in the git checkout
can result in strange failure ( as I found out the hard way ). For example,
the test_copy module will call the action plugin for copy from git,
who will call the 'file' module from system, passing unsupported arguments
11 years ago
Michael Scherer
906f7fd8a0
check more files using make pyflakes ( ie subdirectory of lib/ansible/ )
11 years ago
Michael DeHaan
0cd09dd54f
Remove extra "latest/" subdirectory in docs build structure.
11 years ago
r-p-e
338ecdd578
Simplify the selection of date command
...
- use egrep patterns to detect BSDs in one ifeq
- use seconds-since-epoch as input for BSD date (-r option)
- get seconds-since-epoch from git log with "%at" format string
11 years ago
Patrick Callahan
a37b6a2ad3
Do not set RPMDIST to '%dist' when dist is not set by the distribution.
12 years ago
Michael DeHaan
8050110ba2
Not sure why RPM was trying to avoid certain files starting with f. Change that.
12 years ago
Michael DeHaan
f9a14f0d70
Fixup fetch doc formatting.
12 years ago
Elan Ruusamäe
a0678771cd
make path to nosetests executable configurable
...
this is to make use python2 when nosetests points to python3:
make NOSETEST=nosetests-2.7 tests
12 years ago
Michael DeHaan
3f3b2a9448
Smush Jinja2 braces in playbooks so unresolved variables get parsed nicely
12 years ago
Michael DeHaan
26819d707d
Reorganize docs structure to support snapshots.
12 years ago
Michael DeHaan
148d8859ba
Docs on parameterized roles, make document generation output less noisy
12 years ago
Serge van Ginderachter
ec6236a107
add clean up authors file to make clean
12 years ago
Jimmy Tang
40ca1d4b3e
Teach 'make rpm' to build on RHEL5/SL5 etc...
12 years ago
Jimmy Tang
8c6caa2762
Fix up other places in makefile to use PYTHON variable
...
Only the nosetests aren't using the PYTHON variable now.
12 years ago
Michael DeHaan
e5f5d354cf
Merge pull request #2278 from jcftang/devel
...
Teach makefile to accept different versions of python
12 years ago
Tim Bielawa
badb41390e
Update the Makefile and build-site.py to notify of missing dependencies for doc compiling
12 years ago
Daniel Hokka Zakrisson
e2c1b34dbb
Remove webdocs from docs
...
No reason to build the website for RPMs/DEBs, adding dependency on
Sphinx.
12 years ago
Jimmy Tang
785068df63
Teach makefile to accept different versions of python
...
This commit makes the Makefile nicer for packagers so they can select versions
of python. E.g. on a RHEL5 system with Python2.6 (installed from EPEL)
make PYTHON=python2.6 install
12 years ago
Michael DeHaan
38bd17af22
Restore authors file
12 years ago
Michael DeHaan
fa550f3d7e
Adding a script to auto-generate an authors file, runnable from 'make authors', which is called from 'make docs/webdocs'.
12 years ago
Michael DeHaan
e9d5cf3bc2
Fix documentation YAML for pkgin module
12 years ago
Jan-Piet Mens
17f31a2a79
CLI: ansible-doc shows lists of modules & module docs on command-line
...
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago
Dag Wieers
a162fa70da
moduleformatter.py should include our own ansible clone
...
Without this, module_formatter.py relies on the installed ansible which is wrong in more than one way.
12 years ago