]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/buildbot/projects/test/__init__.py
Add caldance buildbot and optimize a bit the drivations
[perso/Immae/Config/Nix.git] / nixops / modules / buildbot / projects / test / __init__.py
index c15788c96990fa9acc2635ce3739b5260c74f4b1..adda289667673fa4679f6505601721f57597dc35 100644 (file)
@@ -8,10 +8,11 @@ class E():
     PROJECT       = "test"
     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/TestProject.git"
-    SSH_KEY_PATH  = "/var/lib/buildbot/puppet_notify"
+    SSH_KEY_PATH  = "/var/lib/buildbot/buildbot_key"
     PUPPET_HOST   = "root@backup-1.v.immae.eu"
     LDAP_HOST     = "ldap.immae.eu"
     LDAP_DN       = "cn=buildbot,ou=services,dc=immae,dc=eu"
@@ -23,7 +24,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=test,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))"
     TITLE_URL          = "https://git.immae.eu/?p=perso/Immae/TestProject.git;a=summary"
     TITLE              = "Test project"