866 Commits

Author SHA1 Message Date
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
Joe Fiorini
98a4f195c2 Add grunt task for running plato reports 2015-01-30 15:42:50 -05:00
Joe Fiorini
1809fec52e Setup testing for ci and development 2015-01-30 15:42:49 -05:00
Matthew Jones
bd542bc336 Update some of the dev requirements stuff 2015-01-30 10:52:35 -05:00
Luke Sneeringer
f890b6daa7 Shift makefile to hostname. 2014-12-02 11:20:03 -06:00
James Laska
4afa7a0d4d Remove AMI vars-aws-keys.json file
When building AMI using packer, the caller is responsible for setting
the required environment variables to make packer and AWS happy.  For
guidance, refer to https://www.packer.io/docs/builders/amazon-ebs.html.
2014-12-02 11:29:49 -05:00
James Laska
d47d2f5700 Add ansible-tower.{default,sysconfig} script
The 'ansible-tower' service script now comes with an additional file:

    /etc/{default,sysconfig}/ansible-tower

This file is used to specify the services managed by the 'ansible-tower'
service script.  The presence of this file allows admins (or the setup
playbook) to customize the services managed.  For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
2014-11-25 09:22:02 -05:00
James Laska
a40120d1cf Create latest setup symlink 2014-11-18 09:32:05 -05:00
James Laska
a63ec61fef Bind setup playbook with specific tower version
Trello: https://trello.com/c/cdcMpglV
2014-11-17 19:28:30 -05:00
James Laska
83c64dbd38 Fix mock build error
Mock doesn't seem to like a symlink.
2014-11-14 16:12:32 -05:00
Matthew Jones
fa702a7a59 Remove registration of instance from develop makefile target... on new
installations the database isn't available at this point
2014-11-11 15:51:13 -05:00
Luke Sneeringer
1edd8f9c0a Updates to Makefile and CONTRIBUTING
...for the RabbitMQ to Redis changeout.
2014-11-11 14:18:39 -06:00
James Laska
1559ba50bb Be sure to minify before building RPMs
Also, break out individual clean targets that were helpful for testing
specific components.
2014-10-22 16:41:24 -04:00
Luke Sneeringer
ad97ebb09b Fix Makefile 2014-10-22 10:37:42 -05:00
James Laska
d7792413a0 Allow specifying RPM_DIST when running Makefile
Fixes an issue where the system running make isn't the desired %{dist}
target (e.g. building el7 packages on an el6 system).
2014-10-21 15:51:07 -04: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
Luke Sneeringer
47cdb6fc57 register_instance in make develop 2014-10-20 14:46:47 -05: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
c2c0dee090 Correct variable typo in Makefile 2014-10-18 13:06:15 -04:00
James Laska
8f46719ef3 Add missing mock-rpm prereq
Fixes an issue where rpm-build was not created prior to running
'mock-rpm'.
2014-10-17 15:47:04 -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
James Laska
d12dddebde Handle jenkins requirements properly 2014-10-02 16:16:27 -04:00
James Laska
f9c8e400b1 Update dev_local.txt with django-debug-toolbar-1.1
Correct jenkins requirements install order
2014-10-02 15:46:03 -04:00
James Laska
adda5b90bd More fiddling with jenkins requirements 2014-10-02 14:19:18 -04:00
James Laska
888352270b More updates to support latest django_jenkins 2014-10-02 13:26:32 -04:00
James Laska
2b1b83a8ee Yes, please download jenkins dependencies 2014-10-02 12:05:45 -04:00
James Laska
8a247ae2c4 Add requirements/jenkins.txt
Moves custom test requirements out of jenkins and into the repository.
2014-09-10 15:25:58 -04:00
Luke Sneeringer
59f3321b13 Updating Django to 1.6.7 in revision txts. 2014-09-10 13:36:03 -05:00
Luke Sneeringer
3267a988f8 Shift Django to 1.6.x (>= 1.6.7). 2014-09-10 12:17:35 -05:00
James Laska
41e2cf0a65 Prefix the release with '0.' for unofficial releases 2014-09-03 19:40:10 -04:00
James Laska
116e1db2a8 Remove ngdocs on 'make clean' 2014-08-28 12:12:04 -04:00
James Laska
5fe92d8013 Add ngdocs Makefile target
Also, update jshint target to match grunt command.
2014-08-28 12:01:35 -04:00
James Laska
0615bd5cb9 Correct make target name 2014-07-08 15:59:42 -04:00
James Laska
297f17d849 Adjust node_modules make dependencies 2014-07-08 15:57:21 -04:00
James Laska
1d7e5a646d Move grunt/js packaging files under packaging/grunt/ 2014-07-08 10:25:20 -04:00
James Laska
69165b762a Resolve npm repository warning 2014-07-08 10:25:20 -04:00
James Laska
e8dc57ff36 Move django_jenkins into development.py 2014-06-05 15:00:21 -04:00
James Laska
296917af54 Move test_jenkins configuration into awx/settings/jenkins.py 2014-06-05 14:06:20 -04:00
James Laska
22db69eb70 test_jenkins - minified files are already excluded 2014-06-05 12:24:50 -04:00
James Laska
f0fe6673f2 Add JENKINS_TASKS to django_jenkins
New tasks include run_pylint, run_pep8, run_pyflakes, run_jshint and
run_csslint.
2014-06-05 12:09:54 -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
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
James Laska
50d7d64d9a Update pep8 path exclusions 2014-05-13 08:53:39 -04:00
James Laska
5df185b7af Add mock makefile targets
Simplifing the RPM build process by moving the jenkins build workflow into the
Makefile.  This starts with mock.  Additional buildrequires changes likely to
follow.
2014-05-09 08:59:02 -04:00
Matthew Jones
21d0b6301e Update server makefile behavior with two mechanisms one of which will
start the development services in tmux but not attach to the session
2014-05-02 15:26:05 -04:00
James Laska
985d68a187 AMI packaging improvements
Several AMI packaging changes, including:

 * Set a default value for OFFICIAL=no
 * Include tower version in ami_description and tag:Name
 * Packer will tag the AMI to help with visually identifying AMIs (tags used
   include Name, aws_instance_count, product_name, product_version)
 * Removed license/* files.  The license instance count is supplied via an
   environment variable AWS_INSTANCE_COUNT
 * Update reset/install_aws.sh to require an instance count parameter (-c)
2014-04-29 11:19:14 -04:00
James Laska
557b92ef05 Don't forget to minify the js during sdist 2014-04-24 13:22:46 -04:00
James Laska
b4d06796a3 Add pep8 and pyflakes Makefile targets 2014-04-23 13:55:23 -04:00
James Laska
02c4a39865 Add SELinux module to allow socket.io
This also makes several smaller style/format changes to the .spec file.
2014-04-23 13:55:23 -04:00