Commit Graph

118 Commits

Author SHA1 Message Date
88ff479140 New photo for Sybren 2017-03-10 16:22:54 +01:00
34affb0eac Removed executable permission from cli.py 2017-03-10 16:16:36 +01:00
17dfdc1825 Removed executable permission from images 2017-03-10 16:14:23 +01:00
c9aaebb370 Add images to about page 2017-03-10 16:04:42 +01:00
1d687d5c01 Introducing Cloud extension
We use a Pillar extension to register Blender Cloud specific endpoints.
2017-03-10 15:36:55 +01:00
2f1a32178a Explicitly pass hostname to deploy script.
The script now also pings the hostname to deply to, to see if it's alive
before doing anything else.
first-py36
2017-03-10 14:24:22 +01:00
6cfe00c3ca Docker-compose: pinning new version of haproxy
This is actually the one we used in production.
2017-03-10 11:16:28 +01:00
727707e611 Allow deploying to either production or staging.
Requires that you set up 'cloud2' as a hostname for the staging server.
2017-03-10 09:55:04 +01:00
6e1425ab25 Docker: removed superfluous ; 2017-03-10 09:54:27 +01:00
85f3f19c34 Added some more deployment documentation 2017-03-09 15:45:51 +01:00
557ce1b922 Docker: add useful tail /var/log/apache2/access.log to bash_history 2017-03-09 15:30:45 +01:00
d2d04b2398 Docker: added missing libraries for JPEG and PNG support in Pillow. 2017-03-09 15:30:32 +01:00
e31b3cf8b4 Docker: pin specific versions for images, for reproducible deploys. 2017-03-09 11:02:04 +01:00
85c2b1bcd6 Docker: stop on errors in 3_buildwheels/build.sh 2017-03-09 11:01:36 +01:00
79b8194b2a Docker: exec single commands
This replaces bash with the docker command, freeing memory and
automatically returning the exit code of the docker command as the exit
code of the shell script.
2017-03-09 11:01:24 +01:00
06cc338b08 Docker: always apt-get update before apt-get install 2017-03-09 11:00:21 +01:00
b0ab696e49 Started documenting steps to set up a production machine from scratch. 2017-03-08 17:23:00 +01:00
30c9cfd538 Use armadillica/blender_cloud:latest-py36 in this branch 2017-03-08 17:18:52 +01:00
3af92b4436 Don't install subpackages as editable in requirements.txt
Doing this would require editable (and thus writable) checkouts, which
we don't have on our production machines.
2017-03-08 17:17:53 +01:00
2f6049edee Docker images: renamed pillar_py:3.6 to armadillica/pillar_py:3.6
This allows us to push the Python image to Docker Hub.
2017-03-08 13:55:02 +01:00
71a1a69f16 Updated paths for XSendFilePath
Now that we use egg links, and not symlinks, to install our packages,
we can use the actual paths.
2017-03-08 13:02:36 +01:00
fab68aa802 Removed virtualenv from manage.sh, and using exec 2017-03-08 12:38:16 +01:00
e27f5b7cec Docker-compose: use /data/git as one volume, instead of mapping all subdirs 2017-03-08 12:38:00 +01:00
d42762b457 Cleaned up runserver.wsgi to not depend on flup
It's not necessary; we already don't install it any more either.
2017-03-08 12:37:26 +01:00
a332f627a4 Tweaked docker-entrypoint.sh to properly install packages. 2017-03-08 12:36:06 +01:00
9fe7d7fd2b WIP: More docker tweaks 2017-03-08 12:35:35 +01:00
6adf45a94a Be more selective in what we install on the production docker image. 2017-03-08 12:34:48 +01:00
e443885460 Create links python and pip to python3 and pip3. 2017-03-08 12:33:15 +01:00
e086862567 WIP: building mod_wsgi against Python 3.6
The module is included in the built Python directory, in
/opt/python/mod-wsgi/mod_wsgi.so
2017-03-08 12:32:54 +01:00
5ad9f275ef Strip Python install, saves roughly 90 MB in final image size. 2017-03-07 23:01:19 +01:00
faf38dea7e Uncommented some accidentally commented-out stuff 2017-03-07 23:00:10 +01:00
d7e4995cfa WIP: more work on the docker structure, still not finished with 4_run
1_base: builds a base image, based on Ubuntu 16.10
2_buildpy: builds two images:
	2a: an image that can build Python 3.6
	2b: an image that contains the built Python 3.6 in /opt/python
3_buildwheels: builds an image to build wheel files, puts them in ../4_run
4_run: the production runtime image, which can't build anything and just runs.
2017-03-07 22:41:05 +01:00
af14910fa9 WIP breaking stuff: updating docker image build process for Python 3.6
This requires a new way to pass requirements.txt files to Docker (since
they now link to each other), as well as building Python ourselves (since
even Ubuntu 16.10 doesn't have a decent Python 3.6).

This is just a WIP commit, will be fixed soon(ish).
2017-03-07 16:51:51 +01:00
b6f729f35e Added requirements-dev.txt
It just links to the requirements-dev.txt files of the subprojects.
2017-03-07 14:21:15 +01:00
d3427bb73a Updated README for Python 3.6
Also mentioned Flamenco, made the "mkdir" command a bit more efficient, and used Python 3's pip.
2017-03-07 13:59:49 +01:00
039983dc00 README: added missing slashes to URLs 2017-03-07 13:57:41 +01:00
4a148f9163 Re-enabled Flamenco, as it seems to be working on Py36 2017-03-03 17:37:13 +01:00
df137c3258 Re-enabled Attract, it seems to work on Py3.6 2017-03-03 17:00:02 +01:00
3b239130d8 Removed all requirements; referring to other requirements.txt files
Also using -e to install required packages that aren't pip-installable.
2017-03-03 14:41:14 +01:00
d4984c495e Python 3.6: removed unnecessary __future__ import 2017-03-03 14:40:35 +01:00
566c89d745 Disabled Flamenco and Attract, until they are also ported to Python 3.6 2017-03-03 14:40:01 +01:00
cb44509a18 rsync_ui.sh: error out when one of the commands in the script errors. last-py27 2017-02-21 13:25:57 +01:00
d77bcc1047 Added new Flamenco dependencies 2017-02-01 11:46:00 +01:00
8407230d81 Set VIRTUAL_HOST_WEIGHT: 20 for grafista docker image 2017-01-26 16:46:33 +01:00
8eeccb06c6 Introducing Grafista prototype to display stats
We configure haproxy to serve /stats as a separate app (from the
grafista container).
2017-01-24 16:02:31 +01:00
e32f1ed7d6 Refuse deploy when a module cannot be found. 2017-01-13 14:45:36 +01:00
17db81761c Added Flamenco to runserver.wsgi 2017-01-12 17:56:20 +01:00
40f01b581f Fixed flamenco paths 2017-01-12 17:56:02 +01:00
84c3683170 Merge branch 'flamenco' 2017-01-12 17:25:23 +01:00
7146405b98 Added Flamenco dependencies 2017-01-12 16:59:55 +01:00