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
James Laska
3f2d7df408
Use distutils.version instead of pkg_resources
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
James Laska
290f6ca279
Correct jslint issue causing build failure
2014-07-31 08:06:54 -04:00
James Laska
356d4edc89
Fix jshint failure
2014-07-21 19:18:25 -04:00
James Laska
26dfad5d7c
Correct jshint failure by adjusting indentation
...
This change will need to be adjusted when the surrounding conditional is
uncommented.
2014-07-15 08:14:41 -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
f377a03c60
Sort pep8 ignores
2014-06-26 13:03:16 -04:00
James Laska
699eef1fbd
Correct js typo
2014-06-25 08:32:16 -04:00
James Laska
11b39febfb
Include PYLINT_RCFILE
2014-06-05 15:29:36 -04:00
James Laska
9ee0eb9850
Rename awx/settings/jenkins to awx/settings/development_quiet
2014-06-05 15:00:51 -04:00
James Laska
e8dc57ff36
Move django_jenkins into development.py
2014-06-05 15:00:21 -04:00
James Laska
38bfbb4b46
test_jenkins - Specify .less files, not directory
2014-06-05 14:41:00 -04:00
James Laska
296917af54
Move test_jenkins configuration into awx/settings/jenkins.py
2014-06-05 14:06:20 -04:00
James Laska
fb62eebe8c
Add pylintrc file
2014-06-05 13:58:47 -04:00
James Laska
790a9b6432
Need to specify django_tests when overriding JENKINS_TASKS
2014-06-05 12:39:09 -04:00
James Laska
22db69eb70
test_jenkins - minified files are already excluded
2014-06-05 12:24:50 -04:00
James Laska
c45926411c
Disable DEBUG for unittests
2014-06-05 12:14:09 -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
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
James Laska
50d7d64d9a
Update pep8 path exclusions
2014-05-13 08:53:39 -04:00
James Laska
f4e987fc0a
Fix missing comment character '#'
2014-05-13 08:44:11 -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
James Laska
2497610944
Update release process documentatio
2014-04-29 13:29:03 -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
James Laska
be8986bf4e
Updated release documentation
2014-04-08 13:15:10 -04:00
James Laska
20aa89e33c
Adjust interactive shell test
...
To improve grunt readability from test automation, disable colorized output
when running a non-interactive shell.
2014-03-19 11:29:02 -04:00
James Laska
7a50d0cce9
Remove mod_ssl already loaded message
...
The mod_ssl requirement will be satisfied by package dependencies.
2014-03-10 15:54:28 -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
James Laska
414e43c469
Fix conditional for older bash
2014-03-06 15:01:33 -05:00
James Laska
02a4ff1c36
Disable grunt color output when called from a non-interactive shell
...
The grunt command is still configurable via the GRUNT environment variable. By
default, we disable colored output when we detect the shell is non-interactive.
This improves reviewing output when run from automation.
2014-03-06 09:39:20 -05:00
James Laska
4dcc6938dd
Allow customizing grunt cli options
...
Automation can now set GRUNT to provide a path to a specific grunt binary, or
to add grunt parameters. For example, to disable color output during a Jenkins
build:
GRUNT="grunt --no-color" make lintjs
2014-03-06 08:56:02 -05:00