aboutsummaryrefslogtreecommitdiff
blob: abb6e2b293b7bc6178d09e74177edfb660bdb820 (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
# 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'

# Usually exists here (optional bind mounting)
PORTAGE_DIR = '/usr/portage'

# 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_beta2',
        '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'],
    },
]