1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
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
Matthew Jones
7c43dced0f a bit better pane selection when splitting 2014-04-16 15:30:49 -04:00
Matthew Jones
69583a1b07 Import socketio service work and updates to documentation and setup procedures 2014-04-16 15:27:04 -04:00
Chris Church
8901cd31e7 Install setuptools/Django development packages separately before installing the others. 2014-03-31 14:08:14 -04:00
Matthew Jones
c9340cf5f1 Add a new mechanism for automagically creating a tmux session, splitting it into panes, and starting each Tower needed tower service... This is so you don't have to start each one manually 2014-03-19 13:51:55 -04:00
Matthew Jones
bf19b76d5a Merge remote-tracking branch 'origin/task-system-rework'
* origin/task-system-rework: (36 commits)
  Need to grab just the first item for the scm test project update
  Revert a project unit test
  Make sure we are calling signal_start in unit tests
  Make sure we are calling signal_start in unit tests
  Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away
  Fixing up unit tests
  Missing line-end comma
  Prevent deadlocks on unit tests in a very specific scenario
  Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT
  Missing semicolon
  Remove update on launch, we'll test this another way
  Make sure we ignore the wait update for tasks under dependency situations in the unit tests
  Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu
  Fix some bugs found from unit tests
  More unit test rework
  Some job tests can't run in their current state
  Make sure we check arguments passed to signal start before allowing it to proceed.
  No need to replace original build_args
  Unit test updates for task system... remove old monkeypatch procedure for getting job args in favor of using the job info from the database. Can't do this anymore anyway since the job is running in another process
  Changes to tasks unit tests
  ...
2014-03-19 13:14:21 -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
Matthew Jones
06cc5ffb4a Docs and setup details for the task manager 2014-03-12 14:09:00 -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
James Laska
a4257e207c Create package.json during build target
Rather than hard-code the name and version in package.json, generate the file
during the build process.  The strings %NAME% and %VERSION% will be replaced
with appropriate values during a new build target 'package.json'.
2014-02-26 08:39:41 -05:00
Matthew Jones
2a65fbe77c Update contributing documentation and add receiver target to Makefile 2014-02-18 15:16:39 -05:00
James Laska
4df13d7e99 Add 'npm install' task to the make process
Also, clean up node_modules/ and other generated .js and .css files during
'make clean'.
2014-02-17 10:18:33 -05:00
Chris Houseknecht
2fcb5a1ae4 More updates to contributing doc. Added Grunt to Makefile. Use lintjs to inspect .js files for lint and errors. Use minjs to compile and compress the .js and .less files. 2014-02-12 22:19:30 +00:00
Chris Church
32364ad055 AC-990 Add new task for saving all job events from a queue, updated callback plugin to send to queue, work on optimizing SQL that runs when saving a job event. 2014-02-03 17:05:03 -05:00
James Laska
df9be04a20 Require LICENSE_TIER to specify the license filename
Previously, LICENSE_TIER was used to generate the license file by appending
'.json'.
2014-02-03 13:52:00 -05:00
James Laska
ab7c65df1d Add official ansible-tower-1.4.5 AMI license files
Update Makefile syntax to no longer generate the license as a build step.  In
addition, updated ansible-tower.json to provide a more descriptive ami_name and
ami_description.
2014-02-03 13:24:40 -05:00
Chris Church
9790715a25 Update make develop command, version check after package rename. 2014-01-29 13:49:33 -05:00
James Laska
97b776cf23 Fix ansible-tower deb build 2014-01-29 13:10:21 -05:00
Jenkins
9e119fc8a9 Rename package awx to ansible-tower 2014-01-29 12:57:22 -05:00
James Laska
ef52e92c86 Correct incorrect Makefile variable 2014-01-28 10:21:30 -05:00
James Laska
c78728fdf3 Allow customizing packer license tier 2014-01-28 09:59:08 -05:00
Matthew Jones
9bbeeb90a8 Fix AC-955, disable task prefetching by celery. 2014-01-22 16:05:26 -05:00
James Laska
9da579aa32 Add Makefile support for customizing packer command 2014-01-07 14:14:07 -05:00
James Laska
2f2724b866 Correct Makefile syntax for ami target 2014-01-07 12:45:54 -05:00
James Laska
1bae5b7dd5 Create 'ami' target that relies on OFFICIAL variable 2014-01-07 12:04:25 -05:00
Matthew Jones
2935824b7a Add ami packaging support and update Makefile 2014-01-07 11:53:30 -05:00
Chris Houseknecht
d02d2ebf15 Installed FontAwesome 4. Modified form and list generation to force icon selection through a single method so that icons, icon sizes and button colors are all consistent. Everything seems to be working now with the exception of the status bubbles on list pages. Will need to modify ansible-ui.less anc change the unicode strings to new FontAwesome values. 2013-12-20 23:17:02 +00:00
Chris Church
870c36f5bf Remove --autoreload option from celeryd target, doesn't seem to work anyways. 2013-11-20 22:23:47 -05:00
Chris Church
e0a94cbf32 AC-505 Add vendored copies of ec2 and rax inventory scripts from Ansible (for now). Add vendored versions of boto and pyrax and all their dependencies, updated all vendored packages to latest versions. 2013-09-29 20:36:46 -04: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