Commit Graph
100 Commits
Author SHA1 Message Date
James Laska 3ecfb0ce01 Include DIST_FULL in the offline symlink 2015-08-31 20:43:44 -04:00
James Laska 2b5624daa2 Improve RPM_DIST regular expression 2015-08-31 13:16:59 -04:00
James Laska 797aa9b5d8 Cleanup of Makefile offline-tar-build target 2015-08-31 13:04:11 -04:00
James Laska 597d37dd25 Fix typo in Makefile 2015-08-31 12:52:12 -04:00
James Laska 23b3b3fca6 Attempt to simplify offline Makefile target 2015-08-31 12:01:15 -04:00
James Laska 64b65edf2c Handle /bin/sh as the default shell
Fixes a build issue on Ubuntu where the `source` function isn't available
within `/bin/sh` (ubuntu).
2015-08-27 11:18:38 -04:00
James Laska 265802322d Add a new default build target
Also override dh_auto_clean to avoid removing the awx/ui/dist during DEB
package builds.

Update the `.spec` file to call the same Makefile targets used by in `debian/rules`.
2015-08-26 21:34:15 -04:00
James Laska 6512c76564 Ignore offline TAR build directory 2015-08-26 21:34:14 -04:00
James Laska 51e2120886 Properly handle namespace packages (oslo, dogpile)
Using `site.addsitedir()` handles namespace packages, where the traditional
`sys.path.insert` does not.  Kudos to Chris Meyers for this discovery.
2015-08-26 21:33:57 -04:00
James Laska 32a4a941e0 Gather pip requirements at package build time
Previously, requirements were gathered prior to the `sdist` target, and
included in the sdist tarball.  As some requirements are compiled, this caused
problems where the compiled dependencies were linked against the wrong
libraries.  This pull-request addresses that by moving the requirements
gathering into the `dh_prep` and `%build` steps of the packaging process.
2015-08-26 12:13:59 -04:00
James Laska 853c2b09ee Make flake8 happy 2015-08-17 16:24:10 -04:00
James Laska d30605d82d Fix import error by calling prepare_env first 2015-08-17 16:24:04 -04:00
James Laska 9249cc8298 Update nightly repo URL 2015-08-17 14:40:27 -04:00
James Laska 2de6be9cfe Simplify Makefile requirements targets 2015-08-17 14:13:44 -04:00
James Laska 717f646430 Bump version to 2.2.2 2015-08-14 08:16:57 -04:00
James Laska 31bf1a97d1 Fail if required arguments are missing 2015-08-14 08:13:47 -04:00
James Laska 719c2cd477 Remove stale comment in Makefile 2015-08-12 09:34:28 -04:00
James Laska a1cbdebdd3 Simplify Makefile requirements targets 2015-08-12 08:35:42 -04:00
James Laska 6d4c6e2303 Make flake8 happy 2015-08-11 11:08:26 -04:00
James Laska f325b02c66 Fix import error by calling prepare_env first 2015-08-11 10:47:45 -04:00
James Laska 60f435e7b7 Add playbook used for publishing Tower AMIs 2015-07-29 09:44:50 -04:00
James Laska 316d0c0f77 Continue, don't break out of the iteration 2015-07-14 14:53:57 -04:00
James Laska bca8bae508 Only check if mongo is needed locally 2015-07-14 12:10:01 -04:00
James Laska 81c4abfed8 Correct initscript order and mongod detection
In addition to starting and stopping mongod in the correct order, the check for
determining whether mongod is required needs to happen when the service is
managed.
2015-07-14 11:14:13 -04:00
James Laska 6d6d9de379 Use the proper attr when saving instance name
Fixes: https://trello.com/c/24OoIyyf
2015-06-20 13:47:09 -04:00
James Laska 390011bb1e Listen to flake8, it speaks the truth
Use a variable name that doesn't conflict with a library name.
2015-06-16 08:55:59 -04:00
James Laska 3522920b08 This is embarrassing 2015-06-15 20:15:57 -04:00
James Laska 3f9c2cf465 Handle ENOENT during license removal 2015-06-15 19:24:51 -04:00
James Laska 9a210107a0 Remove AWS license when processing /config DELETE
This also removes mongodb from the try/except block to avoid hiding any
failures.  This mirrors the behavior of how mongo is started/stopped elsewhere
in the module.
2015-06-15 12:08:15 -04:00
James Laska 2424ed4832 Update release process docs 2015-06-12 09:00:53 -04:00
James Laska f02e26a3f7 Correct Makefile spacing 2015-06-08 11:39:01 -04:00
James Laska 2483673ab0 Return 204 NO_CONTENT on /config DELETE 2015-06-07 09:01:59 -04:00
James Laska 53b16c09e8 Please don't hate on flake8 2015-06-05 12:46:07 -04:00
James Laska 786fc07302 Add gpgcheck=0 to development docs 2015-06-01 12:30:26 -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 e973711a84 Reapply "make shade python2.6 safe for our inventory update"
This reverts commit a977f9619ba2b42fb9b5a23824644b07b26214f2.
2015-05-26 11:05:39 -04:00
James Laska 3caf920c7a Additional RPM fixes for ansible-tower-service
Fixes RPM builds.
2015-05-22 15:01:25 -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
James Laska 86cb23117f Resolve pycrypto gce failure on EL6 systems
Tracking upstream change https://github.com/ansible/ansible/pull/10787
2015-04-20 13:19:49 -04:00
James Laska c197f90e45 Comment out jshint+csslint from django_jenkins 2015-04-10 09:54:41 -04:00
James Laska 6258035ca8 Make ValidationError consistent with rest-framework
This is silly, but rest-framework returns an error with a '.' at the
end.  Test automation validates the error responses. Rather than special
case this condition, I've chosen to raise an Exception with a msg
consistent with rest-framework.
2015-03-13 08:52:23 -04:00
James Laska aa55f96316 Cleanup remaining flake8 issue 2015-03-13 08:50:12 -04:00
James Laska 8e31e88972 [jenkins] Don't install npm deps globally 2015-03-10 12:36:54 -04:00
James Laska 40fdbc01e3 Pyflakes and pep8 are replaced by flake8 2015-02-18 13:00:49 -05:00
James Laska 6a2fa3c6ce [pylint] Additional paths to ignore 2015-02-06 09:47:41 -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
James Laska ea0b39859b Enable django_jenkins flake8 reporting
Also exclude awx/ui from pep8 runs.
2015-01-29 13:56:04 -05:00
James Laska 77c76bece1 Disable SSLv3 in apache config
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 16:15:13 -05:00
James Laska 7728c720db Mark eula_accepted as new to 2.1.1 2015-01-27 16:15:13 -05:00
James Laska f255f39915 Disable SSLv3 in apache config
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 13:18:29 -05:00
James Laska dc09fc5ad1 Mark eula_accepted as new to 2.1.1 2015-01-27 13:12:35 -05:00
James Laska 2dd451b8ee Update development version 2015-01-20 16:48:41 -05:00
James Laska a0bfe31847 Another attempt to correct markdown 2014-12-04 12:47:14 -05:00
James Laska 59ebc14f0d Correct markdown 2014-12-04 12:44:25 -05:00
James Laska 4d99e917ce Updated build_system docs 2014-12-03 08:43:10 -05: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 36992e47ce Update release history and process docs 2014-11-25 11:53:41 -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 9f6e74ac94 Remove tools from .gitignore
Not sure why this was here.  It had to be ignored when commiting changes
to various files under tools.
2014-11-25 09:21:30 -05:00
James Laska 955af6aa85 Add support for customizing managed tower services
Allows for overriding the services managed by the ansible-tower
initscript.
2014-11-24 16:28:13 -05:00
James Laska b1cd745800 Update docs
* Update filename changes where appropriate (s/awx/ansible-tower/)
* Updates related to recent `setup_tarball` changes
* More updates needed to reflect current rpm and deb build process
2014-11-19 10:45:20 -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 c7079cf338 Wait when stopping supervisor
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).

Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -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
James Laska 16437462ac Replace zmq test dependency with redis 2014-11-12 12:56:49 -05:00
James Laska b8f96d3037 Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.

Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
James Laska bb2235fcb2 DOM id changes for portal mode page
Improves automated navigation through the jobs and job_templates regions
on the portal page.
2014-11-12 08:42:44 -05:00
James Laska d766b6b029 Correct jshint errors 2014-10-28 09:01:36 -04:00
James Laska 20bb2ed71c Additional markdown for job_template launch endpoint
Fixes: https://trello.com/c/h4rfafWM
2014-10-23 12:51:00 -04: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
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
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 6df573a0e9 Correct jshint failure 2014-10-15 08:33:39 -04:00
James Laska d43ed5b67e Correct job_task and job_play help documentation
Use the correct query parameter and correct the 'icontains' examples.
2014-10-14 09:00:46 -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 2846f8c530 Update dev_local.txt with django-debug-toolbar-1.1 2014-10-02 15:19:33 -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 a174c7b168 The latest version of django_jenkins no longer requires django_tests 2014-10-02 12:15:16 -04:00
James Laska 2b1b83a8ee Yes, please download jenkins dependencies 2014-10-02 12:05:45 -04:00
James Laska 6ed7e5f538 Include django-jenkins in requirements/jenkins.txt 2014-10-02 11:55:03 -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
James Laska fbd17ede7a Correct DOM ID's for search submit/reset button 2014-09-10 12:11:28 -04:00
James Laska 9d2fadc51a Update pagination DOM id's
Moves the iterator-based id to the top-level <div>.  The pagination
links and labels are now children of this <div>.  Also, renamed id on
the buttons and labels regions.
2014-09-09 10:56:57 -04:00
James Laska 1e36c670e5 Update version 2014-09-03 19:41:22 -04: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 c45147e35f sosreport plugin docs recommend add_cmd_output 2014-08-14 13:45:49 -04:00
James Laska 8fcc7bb71b Account for sosreport-3.0 plugin format 2014-08-14 13:41:43 -04:00
James Laska 156f9bb83d Fix jshint failure 2014-08-14 11:49:39 -04:00
James Laska 3986197912 Create packaging symlinks for sosreport 2014-08-14 09:18:18 -04:00