aboutsummaryrefslogtreecommitdiff
blob: e82a36d3ba1a870c5bc50abae639d9de1ced943a (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
61
62
63
64
65
66
67
68
69
70
71
# 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
"""

TMPDIR = '/var/tmp/autotua'
STAGE_DIR = TMPDIR+'/tarballs/stages'
CHROOT_DIR = TMPDIR+'/chroots/pristine'
CHROOT_WORKDIR = TMPDIR+'/chroots/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 = 'http://dev.gentooexperimental.org/~bheekling/jobtage'
JOBTAGE_DIR = '/var/tmp/autotua/jobtages'
MAIN_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 = [
    { 
        'name': 'Test libbeagle',
        'stage': 'gentoo://stage3',
        'arch': 'i686',
        'type': '',
        'release': '2008.0_beta2',
        'jobtagerev': '1',
        #'overlays': ['overlays/bheekling/tag1', 'overlays/bonsaikitten/tag2']
        # These are in order of running
        'jobuilds': ['bheekling/test-beagle', 'bheekling/test-libbeagle', 'bheekling/build-brasero'],
    },
    {
        'name': 'wreak havoc',
        'stage': 'gentoo://stage3',
        'arch': 'mips4',
        'type': '',
        'release': '2007.0',
        'jobtagerev': '1',
        'jobuilds': ['bonsaikitten/i-likez-kittah'],
    },
    {
        'name': 'fork it',
        'stage': 'gentoo://stage3',
        'arch': 'x86',
        'type': 'uclibc-hardened',
        'release': '2008.0_beta2',
        'jobtagerev': '1',
        'jobuilds': ['bonsaikitten/i-likez-kittah'],
    },
    {
        'name': 'why?',
        'stage': 'ftp://navya.junta.iitk.ac.in/gentoo/releases/x86/2007.0/stages/stage3-x86-2007.0.tar.bz2',
        'jobtagerev': '1',
        'jobuilds': ['bonsaikitten/i-likez-kittah'],
    }
]