[yocto] yocto autobuilder scheduler
Mircea Gliga
mircea.gliga at vitheia.com
Tue Dec 20 05:19:11 PST 2016
Hi
I'm using yocto-autobuilder to build my images. I have a GitPoller
scheduler, that triggers a build when one of the layers, eg
meta-mylayer, changes.
In my buildset I have something like:
[...]
repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yocto':'meta-yocto',
'poky':'meta-poky', 'yoctobsp':'meta-yocto-bsp'},
'branch':'krogoth'}},
{'meta-openembedded':
{'repourl':'git://git.openembedded.org/meta-openembedded',
'layerversion':{'mete-oe':'meta-oe',
'networking':'meta-networking', 'python':'meta-python'},
# add autoinclude false to prevent automatic add of teh
meta-openembedded foler to the BBLAYERS; sub folders must be added
'autoinclude': False,
'branch':'krogoth'}},
{'meta-mylayer':
{'repourl':'http://server.tld/git/meta-mylayer.git',
'branch':'master'}},
]
scheduler: [{'git-poller-scheduler':
{'type':'SingleBranchScheduler',
'changesource':'GitPoller',
'repository':'meta-mylayer',
'branch':'master',
'interval':'300',
'stable-timer':30}}]
Is it possible to trigger a build when another repository, eg. the
application repository, changes ? Obviously, that repo is not in the
"repos" field of the buildset.
According to the "repository" field documentation, "the repository to
attach the scheduler to; this is the repo name from the 'repos'
section;[...]"
Thanks and regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161220/eaa21314/attachment.html>
More information about the yocto
mailing list