~pwlars/ubuntu-test-cases/auto-offline-devices

« back to all changes in this revision

Viewing changes to jenkins/production.py

  • Committer: Andy Doan
  • Date: 2014-04-23 19:21:18 UTC
  • mto: This revision was merged to the branch mainline in revision 221.
  • Revision ID: andy.doan@canonical.com-20140423192118-pc37rpziylei3nni
add bootchart test

In order to comply with the qa-dashboard expectations, this test
produces a "boot.json" file that re-labels steps to things it
expects like xorg

Show diffs side-by-side

added added

removed removed

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