blob: eea287eff347361ec927d572e01ff6e1aacc72de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# vim: set sw=4 sts=4 et :
# Copyright: 2008 Gentoo Foundation
# Author(s): Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
# License: GPL-2
#
# Immortal lh!
#
"""
Internal Constants
"""
import os.path as osp
VERBOSE = True
FULL_CLEAN = False
AUTOTUA_DIR = osp.dirname(__file__) # FIXME FIXME FIXME: Ugly hack for nao.
LOGFILE= '/var/log/autotua-slave.log'
TMPDIR = '/var/tmp/autotua'
TARBALL_DIR = TMPDIR+'/tarballs'
STAGE_DIR = TARBALL_DIR+'/stages'
JOBFILE_DIR = TARBALL_DIR+'/jobfiles'
CHROOT_DIR = TMPDIR+'/chroots/pristine'
WORKDIR = TMPDIR+'/work'
# Example:
# http://gentoo.osuosl.org/releases/hppa/2008.0_beta2/stages/stage3-hppa2.0-2008.0_beta2.tar.bz2
GENTOO_MIRRORS = [
'http://gentoo.osuosl.org'
]
STAGE_MIRROR_PATH = 'releases/%(gen_arch)s/%(release)s/stages'
STAGE_FILENAME = '%(stage)s-%(arch)s-%(release)s.tar.bz2'
JOBTAGE_URI = 'git://git.overlays.gentoo.org/proj/jobtage.git'
JOBTAGE_DIR = '/var/tmp/autotua/jobtage'
# Bind mounted inside the chroots for use if defined
PORTAGE_DIR = ''
DISTFILES_DIR = ''
# Autotua variables inside the chroot
CHAUTOTUA_DIR = '/tmp/autotua'
# Let's define a couple of jobs for now.
# We'll get them from the server later :P
job_list = [
{
# need to quantify the uniqueness of 'name'
'maintainer': 'bheekling',
'name': 'Test libbeagle',
'stage': 'gentoo://stage3',
'arch': 'i686',
'type': '',
'release': '2008.0',
'jobtagerev': '',
#'overlays': ['overlays/bheekling/tag1', 'overlays/bonsaikitten/tag2']
# These are in order of running
'atoms': ['>=bheekling/test-beagle-1.0', '<=bheekling/test-libbeagle-1.0', '=bheekling/build-brasero-1.0'],
},
]
|