3308018887
Docker: replaced "latest-py36" with "latest" in README.md
2017-05-17 10:11:49 +02:00
b93448f682
Start cron when starting the Cloud docker
...
This will regularly run logrotate, preventing the build-up of log files
of multiple gigabytes.
2017-05-17 10:08:27 +02:00
2892a46a27
Docker: store Cloud container /var/log on host in /data/log
2017-05-17 10:07:40 +02:00
e2efc70e44
Import new subscription info function
2017-05-04 18:17:37 +02:00
bd9265e4f1
Tag blender_cloud Docker image as latest
2017-04-11 12:52:44 +02:00
57aeea337b
Switch from id --group id -g
...
This makes the script compatible with macOS.
2017-04-11 12:34:07 +02:00
5c3d76c660
Added echo command to deploy.sh
...
We had a problem where the 'docker exec' command would hang, and having
an explicit "I'm now doing this thing" in the console helps analyse this.
2017-04-07 12:27:30 +02:00
9b0e996c10
Background images for Agent 327 and Andy's Waking the Forest
2017-03-22 21:57:12 +01:00
cad77f001c
Fix start date of Blender Cloud in the About page
2017-03-18 12:47:08 +01:00
4c149b0d24
Use -W instead of -w for ping in deploy.sh
...
Use the waittime argument instead of deadline, since the latter is not supported on macOS.
2017-03-17 12:02:05 +01:00
28f9ec5ffa
Support the before query for user count and blender syc users
2017-03-17 11:41:44 +01:00
56b5c89edf
Fix missing cast for the before var
2017-03-17 11:41:00 +01:00
7472cf2b16
Properly count Blender Sync users
...
Use a dedicated aggregation pipeline to filter one startup.blend per home project and count them.
2017-03-17 10:46:29 +01:00
e09c73ec39
Introducing endpoint for stats
...
This endpoint can be queried on a daily basis to retrieve cloud usage stats. For assets and comments we take into considerations only those who belong to public projects.
2017-03-17 09:40:50 +01:00
59ffebd33e
Mount grafista storage volume in the correct path
2017-03-12 12:38:59 +01:00
e5e05bf086
Add cronjob for grafista data collection
2017-03-12 12:15:44 +01:00
3e9e075b1f
Use production branch when checking out repos
...
Also added grafista repo to the list.
2017-03-12 12:15:21 +01:00
5c01c6ec3f
Fixed path error in runserver.wsgi + no more hardcoded path.
2017-03-10 16:52:16 +01:00
343398a813
Improve image quality pictures in About page
2017-03-10 16:45:33 +01:00
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