Commit Graph
29 Commits
Author SHA1 Message Date
Luke Sneeringer 7789ccd3eb Ability to add VMWare host. 2014-07-16 16:43:17 -04:00
Luke Sneeringer 61dea4de4d Change human credential types.
This commit updates the human credential types from SCM/AWS to "Source
Control" and "Amazon Web Services".
2014-07-16 08:23:47 -05:00
Luke Sneeringer d293f1fa52 Group things in .gitignore 2014-07-15 08:41:23 -05:00
Luke Sneeringer 6930057d32 Removing Vagrant dev things. 2014-06-25 08:59:24 -05:00
Luke Sneeringer 2fcbe9e989 Make /jobs/{id}/job_plays/ paginated. 2014-06-19 15:18:10 -05:00
Luke Sneeringer 4eddd692fb Merge branch 'vagrant-unstable' 2014-06-19 14:54:16 -05:00
Luke Sneeringer fbb408f817 Rename tools/vagrant to tools/dev_setup
Because these playbooks (should) work without Vagrant!
2014-06-19 14:53:02 -05:00
Luke Sneeringer 5d528e2db8 Merge branch 'master' into vagrant-unstable
Conflicts:
	awx/api/tests/job_tasks.py
	awx/api/utils/decorators.py
2014-06-19 14:20:34 -05:00
Luke Sneeringer 0fb2160d0f Fix the job_tasks test. 2014-06-19 14:12:49 -05:00
Luke Sneeringer c8e5892d54 Re-fixed an error from a merge conflict. 2014-06-19 13:23:59 -05:00
Luke Sneeringer 23b617b580 Adding a job_tasks test. 2014-06-19 13:23:40 -05:00
Luke Sneeringer 91afd12f31 Adding a job_tasks test. 2014-06-19 13:16:35 -05:00
Luke Sneeringer 09ef25a8ad Re-fixed an error from a merge conflict. 2014-06-19 08:01:57 -05:00
Luke Sneeringer ba7c33eaa2 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-19 07:59:32 -05:00
Luke Sneeringer 2f1d667e64 Don't run the large inventory timing test locally.
This commit turns off local execution of the timing test for a large
inventory.

This test is pointless on local development, where (1) memory varies
widely and (2) we're using an entirely different database (SQLite) for
testing.

Pulling it out makes local testing considerably quicker and avoids
specious failures.
2014-06-18 15:41:08 -05:00
Luke Sneeringer 1f91028399 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:41:08 -05:00
Luke Sneeringer 66fb5ab07a Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 15:41:08 -05:00
Luke Sneeringer 131dd67994 Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 15:39:50 -05:00
Luke Sneeringer 65b87b9694 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:37:30 -05:00
Luke Sneeringer 2ac5090d70 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 13:01:53 -05:00
Luke Sneeringer bb338f3637 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

Note: This is a revert of a revert, because I felt this needed
code review and didn't want it on master yet. Sorry.

AC-1341
2014-06-18 12:59:57 -05:00
Luke Sneeringer 55e1258a5d Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 12:56:32 -05:00
Luke Sneeringer ea2bb5e201 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

AC-1341
2014-06-18 07:17:40 -05:00
Luke Sneeringer 461e4d5e2a Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

AC-1341
2014-06-17 15:22:13 -05:00
Luke Sneeringer a28d90a1ed Add more memoryz. 2014-06-17 12:31:17 -05:00
Luke Sneeringer 8f099cbe90 Merge branch 'master' into vagrant-unstable 2014-06-17 08:01:16 -05:00
Luke Sneeringer dd5fcbbfbd Vagrant Local Development
This commit adds playbooks and files necessary to do local development
from within Vagrant.

These playbooks start with a fresh Ubuntu 12.04 machine and:
  - Install Ansible
  - Install the Tower nightly
  - Install all components to exactly mirror production, except Apache
  - Install uwsgi and nginx for local development (since Apache lacks a
working auto-reload)

This isn't entirely perfect -- in particular, developing on task code
is probably challenging until I figure out how to get celery not to
read from the install, but it is a very easy way to get 90% of the way
there very, very quickly.
2014-06-12 16:51:48 -05:00
Luke Sneeringer 25abbc1c16 Add a space to an error message. Fixes AC-1156. 2014-06-12 16:46:48 -05:00
Luke Sneeringer b6ba138522 Add items to .gitignore.
This commit adds three files to .gitignore, to support local development
using Vagrant VMs.

Regarding `awx/main/fixtures`: This is to allow for a dev's primary user
to be in a fixture, so it's easily loaded.
2014-06-10 13:43:25 -05:00