Matthew Jones
8a9b2fcaea
Implement alternate ports for nginx
...
* This also allows disabling https mode in the nginx configuration
* Reconfigure the development container to not specifically require
https, so the haproxy cluster configuration can work
2017-01-23 14:34:15 -05:00
Matthew Jones
6ed86e1934
Revert "bump pkg info tower version to 3.1.0"
...
This reverts commit dea4c873e8d89f3e2ed5e74f8d3eb480e57f927d.
2017-01-18 14:30:06 -05:00
Matthew Jones
9f777f6153
Add some provisions for https into haproxy and the cluster
2017-01-03 13:59:29 -05:00
Chris Meyers
12397ce610
bump pkg info tower version to 3.1.0
2016-12-20 14:42:00 -05:00
Chris Meyers
d550f6153a
more jenkins removal fixes
2016-12-16 14:43:20 -05:00
Chris Meyers
304fcbe945
requirements jenkins is no longer a thing
2016-12-16 14:29:57 -05:00
Matthew Jones
a25853a3a5
Updating translation artifacts
...
* also installing translation tools into dev environment
* Removing fedora install instructions, no one here uses fedora
2016-12-14 15:58:47 -05:00
Wayne Witzel III
2069473534
allow API requests from localhost/127.0.0.1 to be insecure
2016-12-13 11:47:13 -05:00
Wayne Witzel III
19f7d9e8d8
redirect if no forward-slash
2016-12-12 13:25:10 -05:00
Wayne Witzel III
c6e1598b9c
explicitly set long harakiri time to deal with very large inventory deletes
2016-12-12 12:44:05 -05:00
Wayne Witzel III
5f5624c5a3
Update to use Modern values for SSL
2016-12-12 12:42:53 -05:00
Wayne Witzel III
4c8af2a4b8
update uwsgi/nginx dev configuration
2016-12-12 12:42:20 -05:00
John Mitchell
d62bad536b
add mkdir command to start_development script to cause collectstatic not to error
2016-12-06 12:22:18 -05:00
AlanCoding
8f3e3c4ae1
change ordering of test dirs
2016-11-14 17:50:10 -05:00
Shane McDonald
30e5904ab3
Use tower_devel as base image for unit tests
2016-11-11 15:47:17 -05:00
Shane McDonald
6f39995060
Fix docker-compose error
...
Fixes this error:
```
ERROR: yaml.parser.ParserError: while parsing a block mapping
in "./tools/docker-compose/unit-tests/docker-compose.yml", line 10, column 7
expected <block end>, but found '<scalar>'
in "./tools/docker-compose/unit-tests/docker-compose.yml", line 11, column 40
```
2016-11-10 13:38:15 -05:00
Shane McDonald
cc359ecbad
Default TEST_DIRS in docker-compose
2016-11-10 13:12:29 -05:00
James Laska
90fff3da29
Add fontconfig testjs dependency
...
Also cleaned up some whitespace for consistency.
2016-11-08 10:18:53 -05:00
Matthew Jones
b0e40b6c29
Remove proot from dev base image in favor of bubblewrap
...
Remove python utils from base system, they are included with the venvs
2016-11-03 16:06:03 -04:00
Shane McDonald
793ce37a07
Get unit-test container working
...
node_modules was being overwritten by the bind-mount when the container started. This is kind of hacky, but it’s the only way to do this without changing everything.
2016-11-02 19:30:37 -04:00
Shane McDonald
4e81daafec
Hack for downgrading npm when using overlay storage driver
...
https://github.com/npm/npm/issues/9863
2016-11-02 12:22:10 -04:00
Shane McDonald
021666482a
Downgrade npm in unit-test image
...
https://github.com/npm/npm/issues/14042#issuecomment-249139529
2016-11-02 12:08:03 -04:00
Matthew Jones
defd271c90
Make sure we bootstrap the static dir prior to starting
2016-10-28 14:21:19 -04:00
Chris Meyers
7050c4e09e
Revert "no one knows wtf the files in this dir a for, so don't serve them"
...
This reverts commit b3cccea70368ba1550366380e583751df1df061b.
2016-10-21 10:04:50 -04:00
James Laska
6c4dd57368
Copy requirements individually to avoid invalidating docker cache
2016-10-19 15:56:34 -04:00
James Laska
ac553f7368
Add image to unit-test docker-compose
2016-10-19 13:48:27 -04:00
James Laska
ff8966dd48
Update unittest container to build ui-deps
2016-10-19 12:35:59 -04:00
Chris Meyers
cbffb23d41
no one knows wtf the files in this dir a for, so don't serve them
2016-10-18 17:27:23 -04:00
Chris Meyers
87ea864466
sendfail syscall bad with crappy filesystems
2016-10-18 17:21:14 -04:00
Chris Meyers
64a15db91b
fix nginx static files using
2016-10-18 15:51:01 -04:00
Wayne Witzel III
99a009b613
fix awx/ui static path
2016-10-18 15:05:05 -04:00
Wayne Witzel III
a27c708127
let nginx serve static files
2016-10-18 14:52:10 -04:00
Chris Meyers
47495b4ea6
fix mime type issues
2016-10-18 14:38:24 -04:00
Chris Meyers
ad2bee1f57
sym link nginx config by popular demand
2016-10-18 14:23:33 -04:00
Chris Meyers
4f6d966bab
put nginx into honcho flow
...
* allows for make docker-compose-test then make honcho flow
2016-10-18 14:19:18 -04:00
Wayne Witzel III
e9be93cd70
Update tower_tools image to run nginx
2016-10-18 11:16:38 -04:00
Bill Nottingham
2ed50e05c1
Merge pull request #3714 from wenottingham/devel
...
Remove support@ansible.com , clean up some old links.
2016-10-17 15:15:52 -04:00
Wayne Witzel III
4220246400
use uwsgi/daphne/nginx for dev
2016-10-14 01:45:08 -04:00
Bill Nottingham
afb1fe8d69
Remove support@ansible.com, clean up some old links.
2016-10-13 16:41:34 -04:00
Matthew Jones
babe29ebfa
Implement cluster health checks
...
* Add a local node queue to execute targeted jobs
* Add a setting for active cluster node id (per-node)
* Base the heartbeat time on the `modified` time on the Instance table
* Add periodic task that calls save() on the instance to update the
heartbeat time if services are up
* Purge/update any ha/instance management commands
* Fix up CELERY_ROUTES settings data structure
2016-10-06 16:05:39 -04:00
Matthew Jones
959342a5fd
Fixing up unit tests from HA/Clustering work
...
* Also purge old fact migration tests
* Upgrade some services on various container images
2016-10-03 10:40:30 -04:00
Matthew Jones
be18737802
Merge branch 'ha_installer' into devel
...
* ha_installer:
Fixing up some minor nits with ha setup playbook
Update postgres yum/apt repo locations
Add note about when to use short/long name
Setup playbook modifications for HA/Ramparts
2016-09-29 12:29:25 -04:00
Matthew Jones
6b0e337886
Update postgres yum/apt repo locations
...
*Thanks postgres team
2016-09-29 11:25:08 -04:00
James Laska
c4c1429989
Add bzip2 as a UI build dependency
2016-09-27 16:25:32 -04:00
James Laska
a4cd5a0909
Use make when installing test requirements
2016-09-21 16:34:44 -04:00
James Laska
5b6f610970
Move requirements build to unittest Dockerfile
...
Previously, the requirements were built during compose runtime.
2016-09-21 15:27:44 -04:00
Shane McDonald
9fe408c6f7
Add instructions to rebuild unit test container
2016-09-20 09:56:19 -04:00
James Laska
83e23b7ac4
Only run the unit tests from the docker container
2016-09-19 11:09:22 -04:00
Shane McDonald
ba8290a94a
Fix pip install in unit test container
...
The SWIG_FEATURES environment variable is to get pip install working with M2Crypto==0.22.3. It works without SWIG_FEATURES if we update to M2Crypto >= 0.23.0.
Also did some organization, add README.
2016-09-16 11:15:30 -04:00
James Laska
c23d5f84d6
Add a Dockerfile for unittest environment
...
Still failing to build m2crypto due to a downlevel `swig` on el7.
2016-09-16 10:04:25 -04:00