]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/buildbot/projects/cryptoportfolio/__init__.py
Move diaspora module outside of nixops
[perso/Immae/Config/Nix.git] / nixops / modules / buildbot / projects / cryptoportfolio / __init__.py
index 1157b5cebedb8e82c39592f1a4d5b0f38a332f8e..5d70f957e0fcb36cbfeda5eba0bfeb8ef0261c62 100644 (file)
@@ -8,10 +8,11 @@ class E():
     PROJECT       = "cryptoportfolio"
     BUILDBOT_URL  = "https://git.immae.eu/buildbot/{}/".format(PROJECT)
     SOCKET        = "unix:/run/buildbot/{}.sock".format(PROJECT)
+    PB_SOCKET     = "unix:address=/run/buildbot/{}_pb.sock".format(PROJECT)
     RELEASE_PATH  = "/var/lib/ftp/release.immae.eu/{}".format(PROJECT)
     RELEASE_URL   = "https://release.immae.eu/{}".format(PROJECT)
     GIT_URL       = "https://git.immae.eu/perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/{0}.git"
-    SSH_KEY_PATH  = "/var/lib/buildbot/puppet_notify"
+    SSH_KEY_PATH  = "/var/lib/buildbot/buildbot_key"
     LDAP_HOST     = "ldap.immae.eu"
     LDAP_DN       = "cn=buildbot,ou=services,dc=immae,dc=eu"
     LDAP_ROLES_BASE = "ou=roles,ou=hosts,dc=immae,dc=eu"
@@ -27,7 +28,7 @@ class E():
     LDAP_ADMIN_USER    = "cn=buildbot,ou=services,dc=immae,dc=eu"
     LDAP_BASE          = "dc=immae,dc=eu"
     LDAP_PATTERN       = "(uid=%(username)s)"
-    LDAP_GROUP_PATTERN = "(&(memberOf=cn=groups,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))"
+    LDAP_GROUP_PATTERN = "(&(memberOf=cn=groups,ou=cryptoportfolio,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))"
     TITLE_URL          = "https://git.immae.eu"
     TITLE              = "Cryptoportfolio"