aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/buildbot/projects/test/__init__.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-23 09:33:05 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-23 09:33:05 +0100
commite2b96bf56f536b3a8db732294ac13977e96cf322 (patch)
treee01d6b9aaddc1418c327940aa69e32eb397c74d6 /nixops/modules/buildbot/projects/test/__init__.py
parent9fb4205e2ceadb79a93cbe44bd77ebebe8c94625 (diff)
downloadNix-e2b96bf56f536b3a8db732294ac13977e96cf322.tar.gz
Nix-e2b96bf56f536b3a8db732294ac13977e96cf322.tar.zst
Nix-e2b96bf56f536b3a8db732294ac13977e96cf322.zip
Add caldance buildbot and optimize a bit the drivations
- Add caldance derivation - Move buildbot_common inside the repository - Avoid rebuilding all buildbot instances when modifying one project - Prepare for non-local workers
Diffstat (limited to 'nixops/modules/buildbot/projects/test/__init__.py')
-rw-r--r--nixops/modules/buildbot/projects/test/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixops/modules/buildbot/projects/test/__init__.py b/nixops/modules/buildbot/projects/test/__init__.py
index c15788c..adda289 100644
--- a/nixops/modules/buildbot/projects/test/__init__.py
+++ b/nixops/modules/buildbot/projects/test/__init__.py
@@ -8,10 +8,11 @@ class E():
8 PROJECT = "test" 8 PROJECT = "test"
9 BUILDBOT_URL = "https://git.immae.eu/buildbot/{}/".format(PROJECT) 9 BUILDBOT_URL = "https://git.immae.eu/buildbot/{}/".format(PROJECT)
10 SOCKET = "unix:/run/buildbot/{}.sock".format(PROJECT) 10 SOCKET = "unix:/run/buildbot/{}.sock".format(PROJECT)
11 PB_SOCKET = "unix:address=/run/buildbot/{}_pb.sock".format(PROJECT)
11 RELEASE_PATH = "/var/lib/ftp/release.immae.eu/{}".format(PROJECT) 12 RELEASE_PATH = "/var/lib/ftp/release.immae.eu/{}".format(PROJECT)
12 RELEASE_URL = "https://release.immae.eu/{}".format(PROJECT) 13 RELEASE_URL = "https://release.immae.eu/{}".format(PROJECT)
13 GIT_URL = "https://git.immae.eu/perso/Immae/TestProject.git" 14 GIT_URL = "https://git.immae.eu/perso/Immae/TestProject.git"
14 SSH_KEY_PATH = "/var/lib/buildbot/puppet_notify" 15 SSH_KEY_PATH = "/var/lib/buildbot/buildbot_key"
15 PUPPET_HOST = "root@backup-1.v.immae.eu" 16 PUPPET_HOST = "root@backup-1.v.immae.eu"
16 LDAP_HOST = "ldap.immae.eu" 17 LDAP_HOST = "ldap.immae.eu"
17 LDAP_DN = "cn=buildbot,ou=services,dc=immae,dc=eu" 18 LDAP_DN = "cn=buildbot,ou=services,dc=immae,dc=eu"
@@ -23,7 +24,7 @@ class E():
23 LDAP_ADMIN_USER = "cn=buildbot,ou=services,dc=immae,dc=eu" 24 LDAP_ADMIN_USER = "cn=buildbot,ou=services,dc=immae,dc=eu"
24 LDAP_BASE = "dc=immae,dc=eu" 25 LDAP_BASE = "dc=immae,dc=eu"
25 LDAP_PATTERN = "(uid=%(username)s)" 26 LDAP_PATTERN = "(uid=%(username)s)"
26 LDAP_GROUP_PATTERN = "(&(memberOf=cn=groups,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))" 27 LDAP_GROUP_PATTERN = "(&(memberOf=cn=groups,ou=test,cn=buildbot,ou=services,dc=immae,dc=eu)(member=%(dn)s))"
27 TITLE_URL = "https://git.immae.eu/?p=perso/Immae/TestProject.git;a=summary" 28 TITLE_URL = "https://git.immae.eu/?p=perso/Immae/TestProject.git;a=summary"
28 TITLE = "Test project" 29 TITLE = "Test project"
29 30