c876caae2ca052a0f636a7b171500c1d474b8e43
[build.git] / build_conf_planetlab.py
1 #!/usr/bin/python
2
3 marcs_trunk_build = {
4         'tags':'planetlab-tags.mk',
5         'distro':['centos5','f8'],
6         'personality':['linux32','linux64'],
7         'test': 0,
8         'release':'k22',
9 }
10                 
11 sapans_k27_build = {
12         'tags':'k27-tags.mk',
13         'distro':'centos5',
14         'personality':'linux32',
15         'test':1,
16         'release':'k27'
17 }
18
19 ###
20 #
21 # Defaults: Any values that you leave out from the above specs will get filled in by the defaults specified below
22 #
23 #
24
25 personality_to_arch={'linux32':'i386','linux64':'x86_64'}
26
27 __default_build__ = {
28         'path':'/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin',
29         'sh':'/bin/bash',
30         'mailto':'build@lists.planet-lab.org',
31         'build-script':'vbuild-nightly.sh',
32         'webpath':'/vservers/build.planet-lab.org/var/www/html/install-rpms/archive',
33         'pldistro':'planetlab',
34         'date':'2009-07-21',
35         'svnpath':'http://svn.planet-lab.org/svn/build/trunk',
36     'personality':'linux32',
37 ### Define lambdas at the end, because they may need the above values to be filled in for their evaluation
38     'arch':lambda build: personality_to_arch[concrete_build['personality']]
39 }
40