6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-10 07:11:00 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Régis Behmo
3b9880ec74 Rename --silent option to -y/--yes 2019-04-09 11:17:19 -07:00
Régis Behmo
259b8961c8 Pluggable SMTP service
This is part of #114
2019-03-20 18:45:09 +01:00
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