Re: [yocto] [PATCH 1/3] SingleBranchScheduler: check each repo but not only the first one

2014-05-29 Thread Yin Kangkai
On 2014-05-20, 10:15 +0800, Yin Kangkai wrote: [up post intentionally] I was trying to setup yocto-autobuilder in my local env, and customize it to my needs (i.e. watch git/gerrit event and only build my images). It is a little bit of struggle for me to make it finally work (due to the fact

[yocto] [PATCH] PublishArtifacts.py: check files before copy

2014-05-20 Thread Yin Kangkai
Check files existence before copy, otherwise might fail. For example, if I do not enable MakeImageMD5s step, PublishArtifacts will fail. Signed-off-by: Yin Kangkai kangkai@intel.com --- .../autobuilder/buildsteps/PublishArtifacts.py | 16 +++- 1 file changed, 11

[yocto] [PATCH 2/3] SingleBranchScheduler: pass in the properties

2014-05-19 Thread Yin Kangkai
Pass in the properties parsed from config file, otherwise the build triggered will fail because wrong properties. Signed-off-by: Yin Kangkai kangkai@intel.com --- lib/python2.7/site-packages/autobuilder/Autobuilder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/python2.7/site

[yocto] [PATCH 1/3] SingleBranchScheduler: check each repo but not only the first one

2014-05-19 Thread Yin Kangkai
: [{'Continuous': {'type': 'SingleBranchScheduler', 'repository': 'meta-oe', 'stable-timer': 30} }] Code will only check 'meta-oe' in scheduler against 'poly', and leads to a fail. This patch fix this. Signed-off-by: Yin Kangkai kangkai

[yocto] [PATCH 3/3] GetDistroVersion: also support clanton distro

2014-05-19 Thread Yin Kangkai
Otherwise, step GetDistroVersion will just fail. Signed-off-by: Yin Kangkai kangkai@intel.com --- lib/python2.7/site-packages/autobuilder/buildsteps/GetDistroVersion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps

Re: [yocto] [PATCH 1/3] SingleBranchScheduler: check each repo but not only the first one

2014-05-19 Thread Yin Kangkai
.) Anyway, these several patches are needed in my setup. Please review and considering merge. If this is not the right mailing list, please let me know. Thanks. Regards, Kangkai On 2014-05-20, 10:16 +0800, Yin Kangkai wrote: Without this patch, when you set a SingleBranchScheduler scheduler, code