~pwlars/ubuntu-test-cases/krillin-recovery

« back to all changes in this revision

Viewing changes to jenkins/production.py

  • Committer: Andy Doan
  • Date: 2013-09-10 13:21:26 UTC
  • mto: (19.1.3 touch)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: andy.doan@canonical.com-20130910132126-04w924583tmqd5k9
update the memevent test to use a configurable "probe" directory

We've had to change this in the past and will need to change it in
the future to support a writeable directory for read-only images.
This allows us to change run_utah_phablet.py's default probe directory
in the future w/o having the change this repo in lock-step.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# The configuration matrix of our production device testing
2
 
 
3
 
JENKINS = 'http://q-jenkins.ubuntu-ci:8080'
4
 
 
5
 
 
6
 
def _url(channel, device):
7
 
    return 'http://system-image.ubuntu.com/ubuntu-touch/%s/%s/index.json' \
8
 
           % (channel, device)
9
 
 
10
 
 
11
 
VIVID_MATRIX = [
12
 
    {
13
 
        'image-type': 'touch',
14
 
        'statsd-key': 'ubuntu-ci.daily-image.production',
15
 
        'include-qa': True,
16
 
        'dashboard-host': 'ci.ubuntu.com',
17
 
        'dashboard-port': '80',
18
 
        'dashboard-user': 'uci-bot',
19
 
        'devices': [
20
 
            {
21
 
                'name': 'mako',
22
 
                'slave-label': 'daily-mako',
23
 
                'trigger_url': _url('devel-proposed', 'mako'),
24
 
                'num-workers': 3,
25
 
            },
26
 
            {
27
 
                'name': 'flo',
28
 
                'slave-label': 'daily-flo',
29
 
                'trigger_url': _url('devel-proposed', 'flo'),
30
 
                'num-workers': 2,
31
 
            },
32
 
            {
33
 
                'name': 'manta',
34
 
                'slave-label': 'daily-manta',
35
 
                'trigger_url': _url('devel-proposed', 'manta'),
36
 
                'num-workers': 2,
37
 
            },
38
 
        ],
39
 
    },
40
 
]
41
 
 
42
 
UTOPIC_MATRIX = [
43
 
    {
44
 
        'image-type': 'touch_stable',
45
 
        'statsd-key': 'ubuntu-ci.daily-image.production',
46
 
        'include-qa': True,
47
 
        'dashboard-host': 'ci.ubuntu.com',
48
 
        'dashboard-port': '80',
49
 
        'dashboard-user': 'uci-bot',
50
 
        'devices': [
51
 
            {
52
 
                'name': 'mako',
53
 
                'slave-label': 'daily-mako',
54
 
                'trigger_url': _url('ubuntu-rtm/14.09-proposed', 'mako'),
55
 
                'num-workers': 3,
56
 
            },
57
 
            {
58
 
                'name': 'flo',
59
 
                'slave-label': 'daily-flo',
60
 
                'trigger_url': _url('ubuntu-rtm/14.09-proposed', 'flo'),
61
 
                'num-workers': 2,
62
 
            },
63
 
            {
64
 
                'name': 'manta',
65
 
                'slave-label': 'daily-manta',
66
 
                'trigger_url': _url('ubuntu-rtm/14.09-proposed', 'manta'),
67
 
                'num-workers': 2,
68
 
            },
69
 
        ],
70
 
        'IMAGE_OPT': 'export IMAGE_OPT="--bootstrap --developer-mode '
71
 
                     '--channel ubuntu-touch/ubuntu-rtm/14.09-proposed"'
72
 
    },
73
 
    {
74
 
        'image-type': 'touch_custom',
75
 
        'statsd-key': 'ubuntu-ci.daily-image.production',
76
 
        'include-qa': False,
77
 
        'dashboard-host': 'ci.ubuntu.com',
78
 
        'dashboard-port': '80',
79
 
        'dashboard-user': 'uci-bot',
80
 
        'devices': [
81
 
            {
82
 
                'name': 'mako',
83
 
                'slave-label': 'daily-mako',
84
 
                'trigger_url': _url('utopic-proposed-customized', 'mako'),
85
 
            },
86
 
        ],
87
 
        'IMAGE_OPT': 'export IMAGE_OPT="--bootstrap --developer-mode '
88
 
                     '--channel ubuntu-touch/utopic-proposed-customized"'
89
 
    },
90
 
]
91
 
 
92
 
 
93
 
MATRIX = {
94
 
    'utopic': UTOPIC_MATRIX,
95
 
    'vivid': VIVID_MATRIX,
96
 
}