Commit Graph

155 Commits

Author SHA1 Message Date
0a9f0ebddb Roles '{flamenco,attract}-user' are now linked to 'subscriber'
All users who get 'subscriber' role automatically get 'flamenco-user' and
'attract-user', and when 'subscriber' is revoked, so are
'{flamenco,attract}-user'.
2017-07-11 12:40:13 +02:00
a43e84f93e Made script executable 2017-07-07 12:03:18 +02:00
56af1cd96c Added renewal script for Let's Encrypt 2017-07-07 12:02:49 +02:00
69862b8416 Docker: removed blender-cloud/.well-known from letsencrypt
That domain is handled by a different host.
2017-07-07 11:40:27 +02:00
b9a7f501ba Docker: Dropping support for cloudapi.blender.org 2017-07-07 11:40:25 +02:00
6fc77522ea Removed localhost declaration 2017-07-07 11:24:14 +02:00
538a10af60 Added docker container for serving letsencrypt webroot. 2017-07-07 11:23:38 +02:00
fd700ca6d9 Inject current_user_is_subscriber into Jinja context
This variable is set to True iff the user has a subscriber/demo/admin role.
It's an attempt to get some of the Cloud subscription specific stuff out
of Pillar.
2017-06-14 16:26:29 +02:00
e69ac4c5b9 Restart Celery worker after deploying new version. 2017-06-08 11:55:52 +02:00
a62d1e3d7d Updated celery-worker.sh to actually star the Celery worker. 2017-06-07 17:19:02 +02:00
d56e1afe73 Upgraded docker images Python 3.6.0 → 3.6.1 2017-06-07 13:22:57 +02:00
8b110df32a Convert all Redirects to RewriteRules in Apache conf
This allows for more precise redirection. Using the correct code (301, permanently moved) and L (Last rule, prevent any further evaluation).
2017-06-02 11:18:57 +02:00
9da841efc3 Added Celery worker docker container
This docker container uses the Blender Cloud image, but a different entry
point. It is not intended to be network-reachable from the outside world.
All it needs are connections to the databases (mongo, redis, rabbit).
2017-06-02 10:55:18 +02:00
c73efd5998 Added RabbitMQ, for serving as Celery broker. 2017-06-02 10:55:18 +02:00
93edfb789f Add Blender Cloud specific redirects
Originially hardcoded in Pillar, these redirects are rarely changed or added.
2017-06-01 17:27:00 +02:00
f0e53245a6 New images for the homepage 2017-05-22 16:01:35 +02:00
c775126cba Docker startup: create ${APACHE_LOG_DIR} if it doesn't exist yet 2017-05-17 10:34:13 +02:00
39ce21f7f9 Copy /lib/systemd/system/docker.service to /etc/systemd/system/docker.service
This allows later upgrading of docker without overwriting the changes
indicated in the README.
2017-05-17 10:12:22 +02:00
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