chore(web02/cas-eleves): Factorize source and use host in ALLOWED_HOSTS
All checks were successful
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Successful in 19s
Check workflows / check_workflows (pull_request) Successful in 29s
Build all the nodes / ap01 (pull_request) Successful in 1m9s
Build all the nodes / bridge01 (pull_request) Successful in 1m56s
Build all the nodes / geo01 (pull_request) Successful in 1m52s
Build all the nodes / geo02 (pull_request) Successful in 1m48s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m35s
Build all the nodes / compute01 (pull_request) Successful in 2m44s
Build all the nodes / netcore02 (pull_request) Successful in 36s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m55s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m47s
Build all the nodes / tower01 (pull_request) Successful in 1m49s
Build all the nodes / storage01 (pull_request) Successful in 2m13s
Build all the nodes / rescue01 (pull_request) Successful in 2m20s
Build the shell / build-shell (pull_request) Successful in 34s
Build all the nodes / vault01 (pull_request) Successful in 2m3s
Run pre-commit on all files / pre-commit (pull_request) Successful in 37s
Build all the nodes / web01 (pull_request) Successful in 2m28s
Build all the nodes / web02 (pull_request) Successful in 1m46s
Build all the nodes / web03 (pull_request) Successful in 1m44s
Build all the nodes / ap01 (push) Successful in 1m25s
Build all the nodes / bridge01 (push) Successful in 2m10s
Build all the nodes / hypervisor01 (push) Successful in 2m16s
Build all the nodes / geo01 (push) Successful in 2m18s
Build all the nodes / geo02 (push) Successful in 2m18s
Build all the nodes / netcore02 (push) Successful in 30s
Build all the nodes / hypervisor02 (push) Successful in 1m30s
Build all the nodes / compute01 (push) Successful in 3m7s
Build all the nodes / hypervisor03 (push) Successful in 1m37s
Build all the nodes / rescue01 (push) Successful in 1m53s
Build all the nodes / tower01 (push) Successful in 1m51s
Build all the nodes / vault01 (push) Successful in 1m50s
Build all the nodes / storage01 (push) Successful in 2m19s
Build the shell / build-shell (push) Successful in 31s
Build all the nodes / web02 (push) Successful in 1m31s
Run pre-commit on all files / pre-commit (push) Successful in 41s
Build all the nodes / web01 (push) Successful in 2m13s
Build all the nodes / web03 (push) Successful in 1m47s
All checks were successful
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Successful in 19s
Check workflows / check_workflows (pull_request) Successful in 29s
Build all the nodes / ap01 (pull_request) Successful in 1m9s
Build all the nodes / bridge01 (pull_request) Successful in 1m56s
Build all the nodes / geo01 (pull_request) Successful in 1m52s
Build all the nodes / geo02 (pull_request) Successful in 1m48s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m35s
Build all the nodes / compute01 (pull_request) Successful in 2m44s
Build all the nodes / netcore02 (pull_request) Successful in 36s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m55s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m47s
Build all the nodes / tower01 (pull_request) Successful in 1m49s
Build all the nodes / storage01 (pull_request) Successful in 2m13s
Build all the nodes / rescue01 (pull_request) Successful in 2m20s
Build the shell / build-shell (pull_request) Successful in 34s
Build all the nodes / vault01 (pull_request) Successful in 2m3s
Run pre-commit on all files / pre-commit (pull_request) Successful in 37s
Build all the nodes / web01 (pull_request) Successful in 2m28s
Build all the nodes / web02 (pull_request) Successful in 1m46s
Build all the nodes / web03 (pull_request) Successful in 1m44s
Build all the nodes / ap01 (push) Successful in 1m25s
Build all the nodes / bridge01 (push) Successful in 2m10s
Build all the nodes / hypervisor01 (push) Successful in 2m16s
Build all the nodes / geo01 (push) Successful in 2m18s
Build all the nodes / geo02 (push) Successful in 2m18s
Build all the nodes / netcore02 (push) Successful in 30s
Build all the nodes / hypervisor02 (push) Successful in 1m30s
Build all the nodes / compute01 (push) Successful in 3m7s
Build all the nodes / hypervisor03 (push) Successful in 1m37s
Build all the nodes / rescue01 (push) Successful in 1m53s
Build all the nodes / tower01 (push) Successful in 1m51s
Build all the nodes / vault01 (push) Successful in 1m50s
Build all the nodes / storage01 (push) Successful in 2m19s
Build the shell / build-shell (push) Successful in 31s
Build all the nodes / web02 (push) Successful in 1m31s
Run pre-commit on all files / pre-commit (push) Successful in 41s
Build all the nodes / web01 (push) Successful in 2m13s
Build all the nodes / web03 (push) Successful in 1m47s
This commit is contained in:
parent
5cd85d38b1
commit
c4108a62ab
1 changed files with 7 additions and 5 deletions
|
@ -14,6 +14,9 @@ let
|
|||
inherit (lib) mapAttrsToList;
|
||||
|
||||
host = "cas.eleves.ens.fr";
|
||||
|
||||
src = sources.cas-eleves;
|
||||
|
||||
port = 9889;
|
||||
|
||||
python3 =
|
||||
|
@ -49,7 +52,7 @@ let
|
|||
staticDrv = pkgs.stdenv.mkDerivation {
|
||||
name = "cas_eleves-static";
|
||||
|
||||
src = sources.cas-eleves;
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ pythonEnv ];
|
||||
|
||||
|
@ -85,13 +88,12 @@ in
|
|||
};
|
||||
StateDirectory = "django-cas-eleves";
|
||||
User = "cas_server";
|
||||
WorkingDirectory = sources.cas-eleves;
|
||||
WorkingDirectory = src;
|
||||
};
|
||||
|
||||
environment = {
|
||||
CE_ALLOWED_HOSTS = builtins.toJSON [
|
||||
"cas-eleves.dgnum.eu"
|
||||
"cas.eleves.ens.fr"
|
||||
host
|
||||
];
|
||||
CE_STATIC_ROOT = staticDrv;
|
||||
};
|
||||
|
@ -118,7 +120,7 @@ in
|
|||
};
|
||||
StateDirectory = "django-cas-eleves";
|
||||
User = "cas_server";
|
||||
WorkingDirectory = sources.cas-eleves;
|
||||
WorkingDirectory = src;
|
||||
};
|
||||
|
||||
path = [ pythonEnv ];
|
||||
|
|
Loading…
Reference in a new issue