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

26 Commits

Author SHA1 Message Date
Régis Behmo
1fbb995ec1 Fix Makefile.env sourcing
Makefile.env was not properly sourced, causing https certificates not to
be generated.
2019-01-17 16:26:42 +01:00
Régis Behmo
c0073c441b Solve unavailable mysql on cold start
When booting for the first time, mysql has not properly initialized its
data. Here, we boot and stop mysql to make sure the root user has been
properly created.
2019-01-17 10:52:29 +01:00
Régis Behmo
8c261fa92c Move "make info" command to root folder
This should help during the error reporting step.
2019-01-16 17:19:34 +01:00
Régis Behmo
76e7b3b59d Fix https certificate location
HTTPS were generated in an incorrect location.
2019-01-15 20:48:30 +01:00
Régis Behmo
f89ff69701 Copy assets as part of open edx restart 2019-01-15 09:48:19 +01:00
Régis Behmo
772e8257c3 It is no longer necessary to run "make assets" manually
Instead, assets are copied to nginx automatically on run.
2019-01-15 09:29:27 +01:00
Régis Behmo
f8a401cab9 Add rabbitmq to k8s
Close #124.
2019-01-15 09:02:00 +01:00
Régis Behmo
fee5b8aa72 Fix demo-course and staff-user commands for k8s
Because we use "exec" and not "run" like in the local install, we need
to explicitely define the django settings (which sucks). This should be
improved by using k8s Jobs.
2019-01-15 09:02:00 +01:00
Régis Behmo
dcd868d30f Rename "import-demo-course" make command 2019-01-07 08:13:47 +01:00
Régis Behmo
f38f153c56 Rename "create-staff-user" command to "staff-user" 2019-01-07 08:12:37 +01:00
Régis Behmo
3433a7c046 Improve make commands documentation 2019-01-07 08:10:30 +01:00
Régis Behmo
752322e396 In k8s, migrate database as part of "make all" 2019-01-07 08:10:06 +01:00
Régis Behmo
e6acdcc493 Fix "notes-backend may not have port 8000" error 2019-01-07 07:40:30 +01:00
Régis Behmo
3b7c1c25c5 Working Kubernetes instakk
This deployment of Kubernetes does not support all features.

Close #116.
2019-01-06 23:09:08 +01:00
Régis Behmo
58e7c3976d Simplify forum container configuration
Forum environment variables no longer need to be defined in
docker-compose. Instead, the default values defined at build time are
used.
2019-01-06 23:09:08 +01:00
Régis Behmo
d0f02b7268 Re-add dependency of nginx to lms/cms
We re-introduce the dependency of the nginx container on the lms/cms
images. This dependency was removed to address a debugging scenario
which is actually not practical. Without this dependency, we are forced
to use an external docker-specific resolver which makes the local nginx
configuration incompatible with the kubernetes configuration.
2019-01-06 21:29:12 +01:00
Régis Behmo
d7ffd439ef Fix xqueue consumer command
This should address issue #109.
2019-01-04 10:22:37 +01:00
Régis Behmo
31e7bd9631 Fix https-certificate command parsing error 2018-12-27 02:31:47 +01:00
Régis Behmo
bb5f10fc16 First steps with kubernetes
Kubernetes is currently *not* functional, but it will be, soon!
2018-12-26 19:27:08 +01:00
Régis Behmo
eab812b63d Move portainer to a dedicated make command
Portainer is no longer a global activation flag, because it does not
make much sense in the context of kubernetes. Instead, we use a simpler
"make" command.
2018-12-26 19:27:08 +01:00
Régis Behmo
a81593f6a8 Rename "singleserver" with "local" deployment 2018-12-26 19:27:08 +01:00
Régis Behmo
e993b3109f Stop the "ln -s" settings madness
Creating soft links to files that do not exist is just madness, let's
stop it. Instead, we take advantage of the CONFIG_ROOT environment
variable, which allows to place lms/cms.env/auth.json files anywhere.
2018-12-26 19:27:08 +01:00
Régis Behmo
87980f484b Rename custom settings from "universal" to "tutor" 2018-12-26 19:27:08 +01:00
Régis Behmo
0a3812cf4f Simplify env/configure commands
"env" now only generates the environment, and depends only on
config.json, which is run only when necessary. There exists only one
"make configure" command, which force-runs config.json and builds the
env.
2018-12-26 19:27:08 +01:00
Régis Behmo
fbef486ad4 Slim down configurator image with alpine
By switching from ubuntu:18.04 to alpine, we reduce the local image size
from 510 to 87 Mb. Because we don't use bash anymore, it's difficult to
rely on chroot, so we just get rid of docker-entrypoint.sh
2018-12-26 19:27:08 +01:00
Régis Behmo
c903ab2b12 Migrate openedx-docker project to Tutor 👩‍🏫
The project gets a new name and some proper documentation. Build/Deploy
are now properly separated.
2018-12-26 19:27:08 +01:00