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

« back to all changes in this revision

Viewing changes to jenkins/custom-demo.py

  • Committer: Andy Doan
  • Date: 2013-09-10 12:58:02 UTC
  • mto: (19.1.2 touch)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: andy.doan@canonical.com-20130910125802-1qbsilf5j386bt0n
remove hard-coding of the branch

this makes it easier to test changes locally

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
 
TRUSTY_MATRIX = [
12
 
    {
13
 
        'image-type': 'touch_custom_demo',
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-customized-demo', 'mako'),
23
 
            },
24
 
        ],
25
 
        'IMAGE_OPT': 'export IMAGE_OPT="ubuntu-system -b '
26
 
                     '--channel ubuntu-touch/trusty-proposed-customized-demo"'
27
 
    },
28
 
]
29
 
 
30
 
MATRIX = {
31
 
    'trusty': TRUSTY_MATRIX,
32
 
}