XMPP_RECIPIENTS = os.environ["BUILDBOT_XMPP_RECIPIENTS"].split(" ")
PUPPET_HOST = {
- "integration": [ "-p8022", "root@caldance.immae.eu"],
+ "integration": [ "-p8022", "root@caldance.cs.immae.dev"],
}
# master.cfg
LDAP_BASE = "dc=immae,dc=eu"
LDAP_PATTERN = "(uid=%(username)s)"
LDAP_GROUP_PATTERN = "(&(memberOf=cn=groups,ou=caldance,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))"
- TITLE_URL = "https://caldance.immae.eu"
+ TITLE_URL = "https://caldance.cs.immae.dev"
TITLE = "Caldance"
class CustomBase(webhooks.base):
user = config.services.nginx.user;
group = config.services.nginx.group;
extraDomains = {
- "dev.immae.eu" = null;
- "caldance.immae.eu" = null;
+ "dilion.immae.dev" = null;
+ "caldance.cs.immae.dev" = null;
};
};
services.nginx = {
caldance.servers."caldance:3031" = {};
};
virtualHosts = {
- "dev.immae.eu" = {
+ "dilion.immae.dev" = {
acmeRoot = config.myServices.certificates.webroot;
useACMEHost = name;
forceSSL = true;
root = "/home/immae/www";
};
- "caldance.immae.eu" = {
+ "caldance.cs.immae.dev" = {
acmeRoot = config.myServices.certificates.webroot;
useACMEHost = name;
forceSSL = true;
services.websites.env.integration.vhostConfs.chloe_integration = {
certName = "integration";
addToCerts = true;
- hosts = ["chloe.immae.eu" ];
+ hosts = ["test.chc.immae.dev" ];
root = webRoot;
extraConfig = [
''
<Location />
Use LDAPConnect
- Require ldap-group cn=chloe.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=chc.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://osteopathe-cc.fr\"></html>"
</Location>
''
services.websites.env.integration.vhostConfs.connexionswing_integration = {
certName = "integration";
addToCerts = true;
- hosts = ["connexionswing.immae.eu" "sandetludo.immae.eu" ];
+ hosts = ["connexionswing.cs.immae.dev" "sandetludo.cs.immae.dev" ];
root = webRoot;
extraConfig = [
''
<Location />
Use LDAPConnect
- Require ldap-group cn=connexionswing.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=cs.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://connexionswing.com\"></html>"
</Location>
let
adminer = pkgs.callPackage ../commons/adminer.nix { inherit config; };
cfg = config.myServices.websites.florian.integration;
- varDir = "/var/lib/ftp/florian/florian.immae.eu";
+ varDir = "/var/lib/ftp/florian/www.ft.immae.dev";
env = config.myEnv.websites.florian;
in {
options.myServices.websites.florian.integration.enable = lib.mkEnableOption "enable Florian's website integration";
config = lib.mkIf cfg.enable {
- security.acme.certs."ftp".extraDomains."florian.immae.eu" = null;
+ security.acme.certs."ftp".extraDomains."ft.immae.dev" = null;
services.websites.env.integration.modules = adminer.apache.modules;
services.websites.env.integration.vhostConfs.florian_integration = {
certName = "integration";
addToCerts = true;
- hosts = [ "florian.immae.eu" ];
+ hosts = [ "www.ft.immae.dev" ];
root = varDir;
extraConfig = [
(adminer.apache.vhostConf null)
services.websites.env.integration.vhostConfs.isabelle_aten_integration = {
certName = "integration";
addToCerts = true;
- hosts = [ "dev.aten.pro" ];
+ hosts = [ "aten.ic.immae.dev" ];
root = webRoot;
extraConfig = [
''
<Location />
Use LDAPConnect
- Require ldap-group cn=dev.aten.pro,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=ic.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>"
</Location>
<Location /backend>
Use LDAPConnect
- Require ldap-group cn=dev.aten.pro,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=ic.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>"
</Location>
services.websites.env.integration.vhostConfs.ludivine_integration = {
certName = "integration";
addToCerts = true;
- hosts = [ "ludivine.immae.eu" ];
+ hosts = [ "test.lc.immae.dev" ];
root = webRoot;
extraConfig = [
''
<Location />
Use LDAPConnect
- Require ldap-group cn=ludivine.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=lc.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://ludivinecassal.com\"></html>"
</Location>
services.websites.env.integration.vhostConfs.piedsjaloux_integration = {
certName = "integration";
addToCerts = true;
- hosts = [ "piedsjaloux.immae.eu" ];
+ hosts = [ "test.pj.immae.dev" ];
root = webRoot;
extraConfig = [
''
<Location />
Use LDAPConnect
- Require ldap-group cn=piedsjaloux.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu
+ Require ldap-group cn=pj.immae.dev,cn=httpd,ou=services,dc=immae,dc=eu
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://piedsjaloux.fr\"></html>"
</Location>
services.websites.env.integration.vhostConfs.devtools = {
certName = "integration";
- certMainHost = "devtools.immae.eu";
+ certMainHost = "tools.immae.dev";
addToCerts = true;
- hosts = [ "devtools.immae.eu" ];
+ hosts = [ "tools.immae.dev" ];
root = "/var/lib/ftp/immae/devtools";
extraConfig = [
''
-Subproject commit 39f3c2c33c57df2a502b3cdf45635d0afe272739
+Subproject commit 8c6277e3c2762e13d5f1f2ac06d2e815e02fab82