1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 10:55:30 +03:00
Commit Graph

98 Commits

Author SHA1 Message Date
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
Chris Church
59d1ae7322 Work in progress on inventory script using API. 2013-06-20 04:20:59 -04:00
James Cammarata
ca4050aee8 Adding ability to run "make rpm" 2013-06-15 22:02:30 -05: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
cba55a061a Numerous model-related updates and supporing changes, including:
- Add variables field on Host/Group models and remove separate VariableData model.
- Add data migrations for existing variable data.
- Update views, serializers and tests to keep roughly the same API interface for variable data.
- Add has_active_failures properties on Group/Host models to provide indication of last job status.
- Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook.
- Add host_config_key field to JobTemplate model for use by empheral hosts.
- Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job.
- Add failed flag on JobHostSummary model.
- Add play/task fields on JobEvent model to capture new context variables from callback.
- Add parent field on JobEvent model to capture hierarchy of job events.
- Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy).
- Removed existing Tag model, replace with django-taggit instead.
- Removed existing AuditLog model, replacement TBD.
2013-06-10 17:34:37 -04:00
Michael DeHaan
8b919b666f README.md is gone so tweak setup. 2013-05-23 13:36:59 -04:00
Chris Church
aeac739735 Major rename of package from lib to ansibleworks. 2013-05-21 18:20:26 -04:00
Chris Church
5133b9a30e Update to production settings to fail if no config found, updates to build script, added Makefile targets for build. 2013-05-21 17:39:40 -04:00
Chris Church
75ea4a1cda Initial setup script. 2013-05-07 18:17:04 -04:00