58 Commits

Author SHA1 Message Date
Matthew Jones
22437f80ed Merge branch 'release_3.0.0' into devel
* release_3.0.0: (270 commits)
  Inventory Manage > copy/move groups disable copy option where impossible, add to Root Group target, resolves #1749 (#2218)
  fixes access issue for InventoryScript.admin_role
  Make sure project team list is filtered for access
  Fix up the project teams list
  fix api test
  fix tests with refreshes
  adjusting Credential model and migrations
  adjusting API for new Credential.organization
  Fix Openstack inventory on Ubuntu 12 (#2318)
  Attach labels instead of erroring on creation if label already exists
  Fix system-tracking typo
  update test_rbac_api to new object_roles naming
  Fixing Credential access issue
  Fix an issue calling build_env for system jobs
  remove dead fields from Groups > Add manual source type, resovles #2288 (#2305)
  fixes regression on license expiresOn display, resolves #2277 (#2287)
  fix edit action in Jobs > Schedules tab view, resolves #2258 (#2292)
  Fixed several bugs with adding permissions where checkboxes weren't checked properly or were disappearing when paging was involved.
  specify playbook vars in a way that works with 1.9
  Change ldap and other sso defaults to remove from team/admin
  ...
2016-06-12 22:42:42 -04:00
Graham Mainwaring
ce5be7faa5 Moved awx packages inside venv, restructured spec file, restructured Makefile 2016-03-25 13:10:47 -04:00
Graham Mainwaring
ba916ed25f Preliminary EL6 SCL Python 2.7 support 2016-03-23 15:46:00 -04:00
Graham Mainwaring
9bd1520efb Builds an RPM for EL6 with SCL python27 and httpd24 2016-03-21 12:11:19 -04:00
Bill Nottingham
1bd6ffa3c9 Add PowerShell version of request_tower_configuration. From @nitzmahone. 2015-11-05 10:15:37 -05:00
James Laska
e1b6588602 Include license information in packaging 2015-09-18 16:42:03 -04:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
f945719794 Fix a few more copyright statements 2015-06-11 14:53:25 -04:00
Matthew Jones
c6c80447a6 Fix a spelling error in the setup script that's causing rpm build failures 2015-06-09 10:57:38 -04:00
Matthew Jones
712861b829 Remove mongo_{btree,lock} as worthless monitoring points (and broken at that) 2015-06-08 16:24:33 -04:00
Matthew Jones
848bff4220 Add munin monitors for mongo 2015-06-08 16:23:37 -04:00
Matthew Jones
eb42214d90 Fix an issue with centos 7 after adding mongo as a service dependency
* Move the ansible-tower service script to a normal bin utility
* Modify the playbook to not call the old meta init script but to use
      the specific services that are needed
2015-05-22 10:15:16 -04:00
Matthew Jones
888ae53027 Fix up flake8 runtime configuration, do a bit of flake8 work as it
relates to pyflakes)
2015-02-05 10:40:47 -05:00
Luke Sneeringer
2f87ad8643 rabbit_alive -> redis_alive 2014-11-12 07:37:04 -06:00
James Laska
5905459fc6 Python source removal now happens during packaging
The dark arts previously used in the setup.py have now been pushed off
to debian/rules and ansible-tower.spec.
2014-10-20 16:16:57 -04:00
James Laska
5d4444235a Switch to dh-python2 and remove py files during packaging 2014-10-19 18:27:28 -04:00
James Laska
3512b93c17 Disable pre-byte-compiling .py files for debian builds
Also includes:
* Override pysupport build and install arguments
* Increase verbosity when logging install_lib changes
2014-10-18 14:40:43 -04:00
James Laska
bfce078ce4 Consolidate RPM and DEB build process
* Add reprepro target
* Use debuild for building deb packages
* Use the same setuptools target for RPM and DEB
* Update rpm and deb changelogs for existing releases
2014-10-17 14:54:23 -04:00
Luke Sneeringer
3b45252039 Theoretical move from /etc/awx/ to /etc/tower/. 2014-08-22 10:12:12 -04:00
James Laska
3986197912 Create packaging symlinks for sosreport 2014-08-14 09:18:18 -04:00
James Laska
65d82fca15 Combine sosreport plugins into a single plugin 2014-08-13 11:09:43 -04:00
Matthew Jones
7db3623521 Fix up sosfile strings in setup.py 2014-08-11 15:31:18 -04:00
Matthew Jones
f0b1546653 Add sosreport support to Tower 2014-08-11 15:09:30 -04:00
Matthew Jones
27c44ac5d8 Updating init script installation details 2014-07-31 10:40:11 -04:00
Matthew Jones
56255777bc Creating and moving around new tower monitors for munin 2014-07-30 16:58:02 -04:00
Matthew Jones
da6f07dd64 Add tower meta-init script 2014-07-30 13:18:59 -04:00
Luke Sneeringer
5e71d2ce0e Add tower-manage. 2014-07-30 11:57:07 -05:00
Matthew Jones
9ba043b20f More updates for tower graphs in munin 2014-07-29 12:37:51 -04:00
Matthew Jones
69a3f68832 Add some munin tower monitoring tasks 2014-07-29 11:44:54 -04:00
Matthew Jones
1620494584 Adding munin install and configuration to the playbook and package builds 2014-07-21 13:45:50 -04:00
James Laska
54713b1a2e Create aliases for generating RPM and DEB sdist
Adds the following aliases to assist with packaging-specific sdist.
 * dev_deb and release_deb - includes only .pyc files
 * dev_rpm and release_rpm - includes only .py files (later removed by
   install_lib)

The rpm sdist tarball is a traditional source distribution.  During the build
process, RPM will byte-compile and remove the .py source files.  The deb sdist
includes only byte-compiled awx python.
2014-05-22 11:40:47 -04:00
James Laska
ff867df640 Include byte-compiled pyc files in sdist tarball
Debian doesn't byte-compile .py files during the build process.  Packagers are
expected to byte-compile in the postinst [1].  The following change adds
byte-compiled .pyc files into the sdist tarball.  During RPM packaging, the rpm
macros will regenerate/replace these files against the appropriate python
version.

[1] https://wiki.debian.org/Python/Packaging
2014-05-14 12:28:53 -04:00
James Laska
f2c1893dac Update package build workflow
* Update RPM BuildRequires
* Modify 'sdist' setuptools cmdclass to include .py files
* Add 'install_lib' setuptools cmdclass to exclude .py files
2014-05-13 15:09:47 -04:00
Matthew Jones
9901658f02 Update some setup things for the new callback script 2014-04-16 11:17:16 -04:00
Matthew Jones
6b3d857e49 Add an example script that will retry a tower callback request if it does not receive a 202. will retry 5 times with a 5 second interval between each run 2014-04-15 16:02:45 -04:00
James Laska
6a98afc649 Support httpd 2.2 and 2.4 config formats
Create new-style debian apache-2.4 conf-enabled/ symlinks
2014-03-10 15:47:10 -04:00
Jenkins
9e119fc8a9 Rename package awx to ansible-tower 2014-01-29 12:57:22 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church
509b476e09 AC-847 Fix for inventory import performance. 2013-12-18 16:35:32 -05: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
James Cammarata
1a1859a203 Remove settings.py from the debian/rpm packaging 2013-09-17 14:02:37 -05:00
Michael DeHaan
e8b88ed57e Add config file to setup.py 2013-09-07 14:58:50 -04:00
James Cammarata
1a3fbcd796 Change for RPM packaging to allow daily dev builds 2013-06-26 07:33:09 -04:00
Chris Church
bf5a1d1d67 Added modified sdist command to distribute certain files as pyc only. 2013-06-25 19:46:20 -04:00
James Cammarata
cbc9f18366 More debian packaging stuff
* Added ability to do official vs dev builds (need to add to the
  RPM builds now)
* Reverted changes to awx/wsgi.py after talking with Chris C.
  regarding the pathing issues and created config/wsgi.py instead
  that is installed to /var/lib/awx
* Cleaned up package scripts so there's less junk being written to
  the screen during the install/uninstall
2013-06-24 13:06:11 -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
James Cammarata
c2a0004c6c Initial work for packaging .deb 2013-06-23 15:40:07 -04:00
Chris Church
07657926b9 Rename ansibleworks to awx. 2013-06-23 13:21:02 -04:00
Chris Church
28404dd8a6 Fix comment typos. 2013-06-22 16:30:17 -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