aboutsummaryrefslogtreecommitdiffstats
path: root/buildset-config.controller/build-appliance.conf
blob: cd9972bf5cb9d09c39ad4f4b44f5eeeb7c739875 (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
[build-appliance]
builders: 'example-worker'
repos: [{'poky':
             {'repourl':'git://git.yoctoproject.org/poky',
              'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
              'branch':'master'}}]
props: [{'buildappsrcrev':{'prop_type':'StringParameter', 'default':'AUTOREV',
                           'name': 'buildappsrcrev',
                           'required': True,
                           'size': '70',
                           'label':'<h3> Build appliance src revision. Use DEFAULT to take the srcrev currently in the recipe:</h3>'}},
        {'deploy_artifacts':{'prop_type':'ChoiceStringParameter',
                             'choices': ['False', 'True'],
                             'name': 'deploy_artifacts',
                             'label':'<hr><h3> Do we want to deploy artifacts? </br>Selecting False speeds up autobuilder time and saves space on the cluster by not publishing artifacts:</h3>'}}]
steps: [{'SetDest':{}},
        {'CheckOutLayers': {}},
        {'RunPreamble': {}},
        {'GetDistroVersion' : {'distro': 'poky'}},
        {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686', 
                            'distro': 'poky', 'buildapp': True,
                            'atextprepend': 'SOURCE_MIRROR_FETCH = "1"\n'}},
        {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
        {'BuildImages': {'images': 'universe -c fetch'}},
        {'BuildImages': {'images': 'build-appliance-image'}},
        {'DownloadErrorReports': {}},
        {'SendErrorReport': {}},
        {'PublishLayerTarballs':{}},
        {'PublishArtifacts': {'artifacts': ['build-appliance', 'md5sums']}}]