Commit Graph

243 Commits

Author SHA1 Message Date
James Laska f02e26a3f7 Correct Makefile spacing 2015-06-08 11:39:01 -04:00
Matthew Jones db5af80daa Conditionals on official builds for rpm-build 2015-06-01 16:00:11 -04:00
James Laska 3b9db54139 Add RPM-GPG-KEY to tower.repo
Includes supporting tasks in Makefile
2015-06-01 12:30:18 -04:00
James Laska 7064c9bed4 Additional flake8 cleanup
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
2015-05-20 20:33:22 -04:00
James Laska 8ce0674f2c First pass at integration package vagrant workflow 2015-05-15 12:08:05 -04:00
Matthew Jones c45a422590 Update "make server" endpoint and Makefile to include the new fact cache
receiver. Upgrade docker tool to install mongo and pymongo
2015-04-23 13:34:56 -04:00
Joe Fiorini 0535d1c8c9 Exclude sourcemaps from minjs builds 2015-04-22 15:15:44 -04:00
Joe Fiorini d48fbaa6b4 Support build configuration allowing plato reports to run 2015-03-31 15:01:19 -04:00
Joe Fiorini 09d631c2c1 Support isolated build for documentation examples 2015-03-25 12:18:19 -04:00
Joe Fiorini 7b38bacca0 Uncomment and jshint ignore console statement 2015-03-13 11:50:35 -04:00
James Laska 8e31e88972 [jenkins] Don't install npm deps globally 2015-03-10 12:36:54 -04:00
Joe Fiorini 581f27f8b6 Automate cleanup of old dist directory 2015-03-02 16:58:34 -05:00
Joe Fiorini f2b4590545 Allow all static files to be loaded from dist 2015-03-02 16:47:42 -05:00
Matthew Jones c8682b7820 Take out this stupid sync_ui thing from the 'make server' and 'make
servercc' targets
2015-02-16 13:56:46 -05:00
Matthew Jones 0b8b39f951 Refactor logging to work primarily with rotating files instead of syslog 2015-02-13 10:30:01 -05:00
Joe Fiorini f4dc7a1373 Add sane dependencies to UI-related Makefile targets 2015-02-11 10:16:12 -05:00
Matthew Jones 60ade410c1 Add tmux CC make target for using with the development service (make
servercc instead of make server)
2015-02-10 12:35:21 -05:00
Joe Fiorini 1689f18238 Also add package.json to .PHONY 2015-02-09 15:44:04 -05:00
Joe Fiorini b2caa587b6 Adding node_modules to .PHONY target
This is a temporary fix until we figure out if we can make
packaging/grunt/package.template a dependency of package.json.
2015-02-09 15:44:04 -05:00
Joe Fiorini 217b237978 Improve output of watcher in tmux 2015-02-09 15:44:03 -05:00
Joe Fiorini e3f3b4e78c Use custom watcher script for less CPU pegging 2015-02-09 15:44:03 -05:00
Joe Fiorini fde020e178 Add target for running ui sync watcher 2015-02-09 11:20:48 -05:00
Joe Fiorini 43d6124153 Add target for ci to minify with tests 2015-02-09 09:45:23 -05:00
Joe Fiorini 4134857794 Point Makefile to local broccoli-cli install for jenkins 2015-02-06 16:52:41 -05:00
Joe Fiorini 54b5a89748 Move Brocfile to packaging 2015-02-06 12:49:04 -05:00
Joe Fiorini 81c940e36b Use broccoli for ui make tasks 2015-02-06 12:49:04 -05:00
James Laska c841f08e5f Update requirements/jenkins.txt
Also, install (not upgrade), jenkins requirements in the Makefile
target.
2015-02-06 09:47:41 -05: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
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