2a35c3e157
Deploy script: notify Sentry instead of Bugsnag of the deploy
2017-12-13 12:50:45 +01:00
1ae090789b
Deploy: added PermitLocalCommand=no to SSH command
...
I'm using a LocalCommand invocation to change the terminal colours when
I SSH into a production server; this shouldn't be done by the deploy
script.
2017-12-08 10:12:55 +01:00
494f307900
Fixed deploy script for SVNMan
2017-11-14 16:25:03 +01:00
59dd3352cd
Added svnman to deploy.sh
2017-11-14 16:13:03 +01:00
5d26e3940e
Bugsnag app revision: use timestamp instead of Git hash
...
This turns the 'revision' we send to Bugsnag into an incremental number
that denotes the current time. This is more indicative of the application
version than the git revision of the Blender Cloud repository, as the
latter doesn't include any changes in the other repositories.
2017-10-17 12:32:15 +02:00
ea8ef9c8bb
Restart Celery Beat docker container after deploy
2017-09-14 17:21:24 +02:00
e69ac4c5b9
Restart Celery worker after deploying new version.
2017-06-08 11:55:52 +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
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
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.
2017-03-10 14:24:22 +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
e32f1ed7d6
Refuse deploy when a module cannot be found.
2017-01-13 14:45:36 +01:00
84c3683170
Merge branch 'flamenco'
2017-01-12 17:25:23 +01:00
4a34e02b35
deploy.sh: added missing git_pull & rsync_ui calls
2017-01-12 16:56:20 +01:00
c381b45bfc
deploy.sh: actually return & use the module path
2017-01-12 16:56:06 +01:00
0b6584e5b1
deploy.sh: assigning function param to named variable
2017-01-12 16:55:40 +01:00
b38d72b6ba
Fix for typo
2016-12-01 12:59:53 +01:00
3d76097efb
Fix for typo
2016-12-01 12:42:23 +01:00
797701f52e
Add support for readlink on macOS
2016-12-01 12:38:50 +01:00
Dalai Felinto
a488ff4176
Use Flamenco module
2016-11-06 18:58:51 +01:00
db7472a54e
Added Attract to our deploy script
2016-09-29 17:59:33 +02:00
abd458c599
deploy.sh: disabled updating the virtualenv.
...
The new docker image doesn't have enough packages to rebuild binary
modules. This should be handled by the docker build scripts, and thus
we can't just upgrade the virtualenv from within the docker image.
2016-08-30 13:58:00 +02:00
cd07e5c708
Clear redis cache after server restart, not before.
2016-08-26 15:59:12 +02:00
4267f313ab
Refuse deploy early when Pillar can't be found or isn't on production
...
Without this, it will only block the deploy mid-way when we try to
rsync_ui. Now it just stops early before doing anything server-side.
2016-08-26 14:33:22 +02:00
5864654244
Use apache2ctl instead of kill -HUP
2016-08-23 14:57:55 +02:00
e335aa5306
Delete cached front page from Redis when deploying
2016-08-23 14:51:57 +02:00
1f230a84e4
Do rsync_ui in deploy.sh
2016-08-23 12:50:53 +02:00
2039e4b87c
Added deploy.sh script.
...
This script does NOT run rsync_ui.sh yet. Once we've decided where
to put the images, this behaviour can be changed.
2016-08-23 12:37:29 +02:00