Régis Behmo
dc32fd1072
Fix tutor-webui environment in AWS
2019-03-19 00:51:49 +01:00
Régis Behmo
87f7e29740
Store images in a local registry on AWS
...
FVor security reasons, it's better if docker images all point to a local
registry on AWS.
2019-03-18 22:56:03 +01:00
Régis Behmo
0c2e33f616
Fix incorrect user during aws deployment
...
The TUTOR_USER env variable is not available anymore after running "su",
which causes the tutor home to be in /home/.local/share/tutor. So we
just get rid of this variable entirely.
2019-03-18 20:39:31 +01:00
Régis Behmo
07b3d113d4
Simplify environment generation
...
Environment is no longer generated separately for each target, but only
once the configuration is saved.
Note that the environment is automatically updated during
re-configuration, based on a "version" file stored in the environment.
2019-03-18 18:34:42 +01:00
Régis Behmo
0d2c08f8e8
Get rid of cloud cleaning script
...
It makes more sense to incorporate this script into the deployment
script.
2019-03-13 18:31:52 +01:00
Régis Behmo
dabf22282c
Pull vendor images as part of aws deployment
...
Also, don't run clean script as sudo.
2019-03-13 18:28:13 +01:00
Régis Behmo
cf4fe82e0e
Reload user groups during AWS deployment
...
Otherwise, docker group is not properly taken into account
2019-03-11 19:01:31 +01:00
Régis Behmo
543aaebe02
Don't run apt upgrades in AWS image
...
This causes surprises, like grub upgrade.
2019-03-11 18:51:05 +01:00
Régis Behmo
285c75a1f0
Switch from supervisor to systemd for AWS deployment
2019-03-11 18:47:33 +01:00
Régis Behmo
20b77f6d5e
Do not start tutor service in aws provisioning
...
If we do, then the web UI password gets stored in the image.
2019-03-11 18:25:24 +01:00
Régis Behmo
9922b781f4
Dynamically set webui password on AWS
2019-03-10 18:53:28 +01:00
Régis Behmo
5938933dbb
Fix file permissions in aws instance
...
Env folders were being created for user root.
2019-03-10 18:13:02 +01:00
Régis Behmo
b98f5bf4b7
Set password equal to hostname as part of cloud deployment
2019-03-10 17:11:49 +01:00
Régis Behmo
70d2ef37d3
Do not pull images as part of local quickstart
...
Pulling images is slow, often unnecessary, and sometimes suprising for
the user, as the newer images may break the older tutor version.
Instead, we add a "--pullimages" option to "quickstart" to explicitely
update docker images.
2019-03-09 11:17:23 +01:00
Régis Behmo
b1d748b119
Add instructions to download the "latest" binaries
2019-02-18 09:45:09 +01:00
Régis Behmo
3e59b530f8
Add cloud-cleaning script
2019-02-17 13:49:31 +01:00
Régis Behmo
71f9efbe96
Don't override user env var in cloud deployment script
2019-02-14 08:59:07 +01:00
Régis Behmo
e54a3cc8ca
v3.0.5
...
- [Feature] Add cloud deployment script
- [Improvement] Run `images pull` command
- [Improvement] Run `indexcourses` on importing demo course
- [Improvement] Add `runserver stop` command
2019-02-14 08:39:11 +01:00
Régis Behmo
b208c90021
Don't hardcode cloud deployment user name
2019-02-14 08:38:02 +01:00
Régis Behmo
877a2239f7
Make tutor ready for the AWS cloud
2019-02-13 23:55:15 +01:00
Régis Behmo
5df069f42a
Add cloud deployment script for AWS
2019-02-13 22:57:31 +01:00