All of lore.kernel.org
 help / color / mirror / Atom feed
* yocto autobuilder scheduler
@ 2016-12-20 13:19 Mircea Gliga
  0 siblings, 0 replies; only message in thread
From: Mircea Gliga @ 2016-12-20 13:19 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1632 bytes --]

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.



[-- Attachment #2: Type: text/html, Size: 2416 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-20 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 13:19 yocto autobuilder scheduler Mircea Gliga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.