Chris Meyers
3969cfa2a0
Revert "use flake8 inside tower env"
...
This reverts commit 90cdc5c83cb495e0d448f8e9eb7381d5fd84e9d4.
2016-09-15 08:45:13 -04:00
Matthew Jones
56d4210047
Implement Performance improvements shown in #3492
...
* Make callback workers tunable
* Disable callback worker recycling - doesn't appear to be needed
anymore
* Tweak pexpect behavior by limiting its read buffer size and search
window
* Use copy instead of deepcopy for job event callback emitter censor
2016-09-14 16:08:47 -04:00
Matthew Jones
ab395b0009
Integrate callback receiver refactoring
...
* Drop ZMQ as the communication mechanism between job_event_callback and
callback_receiver
* Setup queue and exchange for callback broker communication
* Refactor event plugin and callback receiver to efficiently handle
message submission and processing
* Integrate django caching for parent processing
2016-09-14 11:42:13 -04:00
John Mitchell
a7cbfdc242
update canAdd and move org admin scope var off of rootScope
2016-09-13 16:14:26 -04:00
Shane McDonald
05add1a751
Add --unsafe-perm to ui-deps-built
...
Node thinks we’re stupid. https://github.com/nodejs/node-gyp/issues/454
2016-09-13 15:35:35 -04:00
Chris Meyers
32461574ae
add unit tests
2016-09-13 15:24:20 -04:00
John Mitchell
8cff8e4202
remove use of canEdit in favor of user capabilities
2016-09-13 13:46:44 -04:00
AlanCoding
0cb9ab3cf4
fix bugs due to lack of can_start access for some job types
2016-09-13 11:18:34 -04:00
James Laska
183660a133
Fix '..' typo when installing jenkins requirements
2016-09-13 11:01:00 -04:00
James Laska
7d95b15812
Ensure make docker-clean exits cleanly
2016-09-13 11:01:00 -04:00
AlanCoding
8075e3876e
minor flake8 fixes to rbac_display file
2016-09-13 10:07:02 -04:00
Alan Rominger
43e399df81
Merge pull request #3370 from ansible/AlanCoding-patch-3
...
test_credential bug fixes
2016-09-13 09:56:43 -04:00
Alan Rominger
2e3982e295
Merge pull request #3393 from AlanCoding/role_description_optimization
...
Avoid redundant lookups of content_type
2016-09-13 09:56:03 -04:00
Alan Rominger
475c764162
Merge pull request #3319 from AlanCoding/proj_self_optimization
...
Add another special case in summary_fields optimizations
2016-09-13 09:53:22 -04:00
Matthew Jones
ce2aaef086
Merge pull request #3200 from wenottingham/devel
...
Add a check for recent enough Ansible.
2016-09-13 09:50:00 -04:00
Matthew Jones
b1b9967be0
Merge pull request #3220 from nitzmahone/req_update
...
update requirements versions for requests,azure
2016-09-13 09:48:31 -04:00
Alan Rominger
0948c35cb8
Merge pull request #3416 from ansible/AlanCoding-patch-4
...
Remove stray print statement
2016-09-13 09:46:43 -04:00
Chris Meyers
c91b10e62d
use flake8 inside tower env
2016-09-12 14:06:20 -04:00
Chris Meyers
0dfe3b197a
bump pyflakes version
2016-09-12 12:45:01 -04:00
Chris Meyers
9c12b234b1
remove workflow_job_template from workflow job node serializer
2016-09-12 12:26:07 -04:00
Chris Meyers
4dc5c33442
refactor to be more testable
2016-09-12 12:19:36 -04:00
John Mitchell
297be96b80
added unattach user_capabilities to granted permissions list
2016-09-12 12:19:04 -04:00
Chris Meyers
cea5ebadb7
split Node in job and job template node
2016-09-12 11:04:20 -04:00
Matthew Jones
799f321760
Fix an issue running jobs in the cluster
...
The old VENV_PATH settings were still in place
2016-09-12 10:43:40 -04:00
Shane McDonald
1bf0cf20be
Merge branch 'containerized-debs' into devel
2016-09-12 10:40:43 -04:00
Matthew Jones
988bbc4f4f
Purge more qpid configuration
2016-09-12 09:50:42 -04:00
AlanCoding
0933a91174
Merge branch 'devel' into can_CRUD
2016-09-12 08:56:47 -04:00
Matthew Jones
807cced571
Implement a more dynamic celery queue system
...
* Meant to be a starting point to more efficiently manage work routing
and to balance work across all tower nodes
* Integrate flower as a dev tool that starts alongside other nodes.
Helpful for observing and monitoring the queues/exchanges
* For the moment, force the task manager to only run on one node (not
sure if this is needed)
* Define queues and routes for all task work
* Bump celery version to 3.1.23
* Expose flower through haproxy
2016-09-09 15:18:18 -04:00
Matthew Jones
13a0fd749f
Purge old munin monitors and tools
2016-09-09 15:17:16 -04:00
AlanCoding
d77dc271d8
copy/edit display test refactor, copy prefetch added
2016-09-09 15:13:48 -04:00
Leigh Johnson
7e7bd76644
Fix schedules sitewide ( #3469 )
...
* Remove custom rrule module loaders, update angular-scheduler dept
* snip comment
* remove nlp module loaders
2016-09-09 10:49:28 -04:00
AlanCoding
507ba6a778
add new case in prefetch method for foreign-key roles
2016-09-08 15:03:55 -04:00
Chris Meyers
e4025a7eff
flake8 fixes
2016-09-08 14:26:30 -04:00
Jared Tabor
8f6b2e0b4c
Merge pull request #3468 from jaredevantabor/pendoUpdate
...
Update Pendo service for 3.0 changes to retreiving the config endpoint
2016-09-08 11:13:50 -07:00
Matthew Jones
0c1e1fa2fb
Refactor Tower HA Instance logic and models
...
* Gut the HA middleware
* Purge concept of primary and secondary.
* UUID is not the primary host identifier, now it's based mostly on the
username. Some work probably still left to do to make sure this is
legit. Also removed unique constraint from the uuid field. This
might become the cluster ident now... or it may just deprecate
* No more secondary -> primary redirection
* Initial revision of /api/v1/ping
* Revise and gut tower-manage register_instance
* Rename awx/main/socket.py to awx/main/socket_queue.py to prevent
conflict with the "socket" module from python base
* Revist/gut the Instance manager... not sure if this manager is really
needed anymore
2016-09-08 13:37:53 -04:00
John Mitchell
ab3588fd93
more updates to ui crud
2016-09-08 13:22:20 -04:00
John Mitchell
1f586091e2
groups and hosts rbac conditional showing in ui implementation
2016-09-08 13:22:20 -04:00
John Mitchell
94efd034de
conditionally show add button for job templates
2016-09-08 13:22:20 -04:00
John Mitchell
6e653c29e0
ui implementation of crud-based ui hiding
2016-09-08 13:22:20 -04:00
Chris Meyers
28ec68e91b
workflow dependency tests
2016-09-08 13:08:54 -04:00
Chris Meyers
cae48cfb77
instantiate db with sample workflows
2016-09-08 13:04:56 -04:00
Chris Meyers
0e68481a85
consolidate workflow migration
2016-09-08 12:57:54 -04:00
AlanCoding
6b0df43f3b
add unattach field to user and team roles list
2016-09-08 11:09:17 -04:00
Matthew Jones
eafb6c92b5
Docker compose improvements
...
* Make sure we explicitly set a hostname for tower nodes
* Switch rabbit vhost to use the root
2016-09-08 11:02:51 -04:00
Matthew Jones
ebf103f345
Initial Docker Compose workflow for Tower cluster
...
The goal is to share a common pattern with the existing development work
2016-09-08 10:18:14 -04:00
Jared Tabor
646a9f1570
Update Pendo service for 3.0 changes to retreiving the config endpoint
2016-09-07 15:53:41 -07:00
AlanCoding
9da00c2d38
RBAC copy/edit displays test refactor
2016-09-07 17:08:07 -04:00
Leigh Johnson
6d643ca339
Add uncached template loaders to development settings
2016-09-07 15:47:50 -04:00
Leigh Johnson
ffd9c4eb4d
Exclude tower.vendor.js from BrowserSync polling, remove chunk stats plugin, update ui deps
2016-09-07 13:28:06 -04:00
Leigh Johnson
c3b9050773
use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation ( #3341 )
2016-09-07 11:47:19 -04:00