Re: [yocto] setting up autobuilder on local machine

2016-12-19 Thread Mirza Krak
2016-12-19 16:48 GMT+01:00 Bryan Evenson <beven...@melinkcorp.com>:
> Mirza,
>
>> -Original Message-
>> From: yocto-boun...@yoctoproject.org [mailto:yocto-
>> boun...@yoctoproject.org] On Behalf Of Mirza Krak
>> Sent: Monday, December 19, 2016 8:28 AM
>> To: Bill Randle <bill.ran...@gmail.com>
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] setting up autobuilder on local machine
>>
>> 2016-12-19 7:46 GMT+01:00 Mirza Krak <mirza.k...@gmail.com>:
>> > 2016-12-19 4:33 GMT+01:00 Bill Randle <bill.ran...@gmail.com>:
>> >> On Sun, Dec 18, 2016 at 8:25 AM, Paul Barker <p...@paulbarker.me.uk>
>> wrote:
>> >>> On Sun, 18 Dec 2016 15:46:19 +0100
>> >>> Mirza Krak <mirza.k...@gmail.com> wrote:
>> >>>
>> >>>> Hi.
>> >>>>
>> >>>> I have been looking in to the possibility to utilize yocto autobuilder
>> >>>> for one of my own projects.
>> >>>>
>> >>>> But I am having some problems setting this up and hopefully someone
>> >>>> here can provide some pointers.
>> >>>>
>> >>>> I did the "quickstart part":
>> >>>>
>> >>>> git clone git://git.yoctoproject.org/yocto-autobuilder
>> >>>> cd yocto-autobuilder
>> >>>> . ./yocto-autobuilder-setup
>> >>>> yocto-start-autobuilder both
>> >>>>
>> >>>> Above succeeds without any issues. But now what? :)
>> >>>>
>> >>>> I went to https://localhost:8010. I tried to login using the
>> >>>> information that is in the .htpasswd file but that did not work. Where
>> >>>> are the credentials to login setup?
>> >>>
>> >>> You'll need to create the .htpasswd file yourself. I think the
>> >>> "htpasswd" tool can do this for you, I can't remember the exact
>> >>> commands I used to make mine though sorry.
>> >>>
>> >>>>
>> >>>> I also made an attempt to remove all un-wanted buildsets and now
>> >>>> buildset-config contains (all other directories are removed)
>> >>>>
>> >>>> nightly-mender-rpi.conf  yoctoAB.conf
>> >>>>
>> >>>> Above is parsed correctly on start-up but build is never triggered. I
>> >>>> probably removed to much :). Looking in to nigthly.conf it seem that
>> >>>> is the one that trigger all other nightly builds?
>> >>>>
>> >>>> My fork can be found at [1].
>> >>>>
>> >>>> [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi
>> >>>
>> >>> This looks good, you just need to setup the scheduler with something
>> >>> like this in nightly-mender-rpi.conf:
>> >>>
>> >>> scheduler:
>> >>> [{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]
>> >>>
>> >>> You should only need a separate nightly.conf when you want that to
>> >>> trigger multiple builds.
>> >>>
>> >>> I've recently setup an autobuilder for meta-raspberrypi which I'll be
>> >>> publishing once I've got the last bits of setup done. If you're still
>> >>> struggling to get the nightly triggering working let me know and I'll
>> >>> put up the configurations I've used as a git repository.
>> >>
>> >> There is also additional helpful information on the Yocto Autobuilder
>> >> wiki page here:
>> >> https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder. Some of the
>> >> information applies to the Yocto Project build cluster, but is still
>> >> applicable to local autobuilders. I followed the same instructions to
>> >> setup a local AB. Be sure to use the htpasswd command that's in the
>> >> autobuilder git tree (in one of the bin directories, as I recall),
>> >> rather than a native system one. The AB version defaults to the
>> >> shorter crypto scheme that buildbot requires.
>> >
>> > Thank you for your fast responses. Generating the htpasswd file my
>> > self did the trick. Now I can login. The full command was (as you
>> > suggested I used the one in autobuilder git repo under ./bin):
>> >
>> > ./htpasswd -b -c   > password>
>> >
>> > F

Re: [yocto] setting up autobuilder on local machine

2016-12-19 Thread Bryan Evenson
Mirza,

> -Original Message-
> From: yocto-boun...@yoctoproject.org [mailto:yocto-
> boun...@yoctoproject.org] On Behalf Of Mirza Krak
> Sent: Monday, December 19, 2016 8:28 AM
> To: Bill Randle <bill.ran...@gmail.com>
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] setting up autobuilder on local machine
> 
> 2016-12-19 7:46 GMT+01:00 Mirza Krak <mirza.k...@gmail.com>:
> > 2016-12-19 4:33 GMT+01:00 Bill Randle <bill.ran...@gmail.com>:
> >> On Sun, Dec 18, 2016 at 8:25 AM, Paul Barker <p...@paulbarker.me.uk>
> wrote:
> >>> On Sun, 18 Dec 2016 15:46:19 +0100
> >>> Mirza Krak <mirza.k...@gmail.com> wrote:
> >>>
> >>>> Hi.
> >>>>
> >>>> I have been looking in to the possibility to utilize yocto autobuilder
> >>>> for one of my own projects.
> >>>>
> >>>> But I am having some problems setting this up and hopefully someone
> >>>> here can provide some pointers.
> >>>>
> >>>> I did the "quickstart part":
> >>>>
> >>>> git clone git://git.yoctoproject.org/yocto-autobuilder
> >>>> cd yocto-autobuilder
> >>>> . ./yocto-autobuilder-setup
> >>>> yocto-start-autobuilder both
> >>>>
> >>>> Above succeeds without any issues. But now what? :)
> >>>>
> >>>> I went to https://localhost:8010. I tried to login using the
> >>>> information that is in the .htpasswd file but that did not work. Where
> >>>> are the credentials to login setup?
> >>>
> >>> You'll need to create the .htpasswd file yourself. I think the
> >>> "htpasswd" tool can do this for you, I can't remember the exact
> >>> commands I used to make mine though sorry.
> >>>
> >>>>
> >>>> I also made an attempt to remove all un-wanted buildsets and now
> >>>> buildset-config contains (all other directories are removed)
> >>>>
> >>>> nightly-mender-rpi.conf  yoctoAB.conf
> >>>>
> >>>> Above is parsed correctly on start-up but build is never triggered. I
> >>>> probably removed to much :). Looking in to nigthly.conf it seem that
> >>>> is the one that trigger all other nightly builds?
> >>>>
> >>>> My fork can be found at [1].
> >>>>
> >>>> [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi
> >>>
> >>> This looks good, you just need to setup the scheduler with something
> >>> like this in nightly-mender-rpi.conf:
> >>>
> >>> scheduler:
> >>> [{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]
> >>>
> >>> You should only need a separate nightly.conf when you want that to
> >>> trigger multiple builds.
> >>>
> >>> I've recently setup an autobuilder for meta-raspberrypi which I'll be
> >>> publishing once I've got the last bits of setup done. If you're still
> >>> struggling to get the nightly triggering working let me know and I'll
> >>> put up the configurations I've used as a git repository.
> >>
> >> There is also additional helpful information on the Yocto Autobuilder
> >> wiki page here:
> >> https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder. Some of the
> >> information applies to the Yocto Project build cluster, but is still
> >> applicable to local autobuilders. I followed the same instructions to
> >> setup a local AB. Be sure to use the htpasswd command that's in the
> >> autobuilder git tree (in one of the bin directories, as I recall),
> >> rather than a native system one. The AB version defaults to the
> >> shorter crypto scheme that buildbot requires.
> >
> > Thank you for your fast responses. Generating the htpasswd file my
> > self did the trick. Now I can login. The full command was (as you
> > suggested I used the one in autobuilder git repo under ./bin):
> >
> > ./htpasswd -b -cpassword>
> >
> > Forced a build of my configuration now and hoping for the best :).
> 
> And it was not green all the way.
> 
> I get an error that I do not get how to get around. The error message is:
> 
> ERROR: Unable to parse
> /home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-
> rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf:
> [Errno 2] file /home/mirzak/project/yocto-autobuilder

Re: [yocto] setting up autobuilder on local machine

2016-12-19 Thread Mirza Krak
2016-12-19 15:57 GMT+01:00 Jussi Kukkonen :
> On 19 December 2016 at 15:28, Mirza Krak  wrote:
>>
>> > Thank you for your fast responses. Generating the htpasswd file my
>> > self did the trick. Now I can login. The full command was (as you
>> > suggested I used the one in autobuilder git repo under ./bin):
>> >
>> > ./htpasswd -b -c   > > password>
>> >
>> > Forced a build of my configuration now and hoping for the best :).
>>
>> And it was not green all the way.
>>
>> I get an error that I do not get how to get around. The error message is:
>>
>> ERROR: Unable to parse
>>
>> /home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf:
>> [Errno 2] file
>> /home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf
>> not found
>>
>> The error message I understand. But I do not understand why it adds
>> meta-mender to bblayers files. I did not tell it to do that, because
>> meta-mender contains layers that I want to include. Similar to
>> meta-openembedded (which is also added to bblayers).
>>
>
> I'm not an expert but your nightly-mender-rpi.conf contains this:
> 'layerdirs': ['meta-yocto', 'meta-raspberrypi',
> 'meta-mender/meta-mender-core', 'meta-mender/meta-mender-raspberrypi',
> 'oe-meta-go', 'meta-openembedded/meta-oe']

That is correct. I add following:

   meta-mender/meta-mender-raspberrypi
   meta-mender/meta-mender-core

And they are added to the bblayers.conf correctly.

But I do not add "meta-mender" which is present in my bblayers.conf
and is the cause of my error message. It seems to me like it is picked
up from the "repos" section and hence the "magic" :)

Best Regards
Mirza
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] setting up autobuilder on local machine

2016-12-19 Thread Jussi Kukkonen
On 19 December 2016 at 15:28, Mirza Krak  wrote:
>
> > Thank you for your fast responses. Generating the htpasswd file my
> > self did the trick. Now I can login. The full command was (as you
> > suggested I used the one in autobuilder git repo under ./bin):
> >
> > ./htpasswd -b -c   
> >
> > Forced a build of my configuration now and hoping for the best :).
>
> And it was not green all the way.
>
> I get an error that I do not get how to get around. The error message is:
>
> ERROR: Unable to parse
>
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf:
> [Errno 2] file
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf
> not found
>
> The error message I understand. But I do not understand why it adds
> meta-mender to bblayers files. I did not tell it to do that, because
> meta-mender contains layers that I want to include. Similar to
> meta-openembedded (which is also added to bblayers).
>

I'm not an expert but your nightly-mender-rpi.conf contains this:
'layerdirs': ['meta-yocto', 'meta-raspberrypi',
'meta-mender/meta-mender-core', 'meta-mender/meta-mender-raspberrypi',
'oe-meta-go', 'meta-openembedded/meta-oe']

Jussi
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] setting up autobuilder on local machine

2016-12-19 Thread Mirza Krak
2016-12-19 7:46 GMT+01:00 Mirza Krak :
> 2016-12-19 4:33 GMT+01:00 Bill Randle :
>> On Sun, Dec 18, 2016 at 8:25 AM, Paul Barker  wrote:
>>> On Sun, 18 Dec 2016 15:46:19 +0100
>>> Mirza Krak  wrote:
>>>
 Hi.

 I have been looking in to the possibility to utilize yocto autobuilder
 for one of my own projects.

 But I am having some problems setting this up and hopefully someone
 here can provide some pointers.

 I did the "quickstart part":

 git clone git://git.yoctoproject.org/yocto-autobuilder
 cd yocto-autobuilder
 . ./yocto-autobuilder-setup
 yocto-start-autobuilder both

 Above succeeds without any issues. But now what? :)

 I went to https://localhost:8010. I tried to login using the
 information that is in the .htpasswd file but that did not work. Where
 are the credentials to login setup?
>>>
>>> You'll need to create the .htpasswd file yourself. I think the
>>> "htpasswd" tool can do this for you, I can't remember the exact
>>> commands I used to make mine though sorry.
>>>

 I also made an attempt to remove all un-wanted buildsets and now
 buildset-config contains (all other directories are removed)

 nightly-mender-rpi.conf  yoctoAB.conf

 Above is parsed correctly on start-up but build is never triggered. I
 probably removed to much :). Looking in to nigthly.conf it seem that
 is the one that trigger all other nightly builds?

 My fork can be found at [1].

 [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi
>>>
>>> This looks good, you just need to setup the scheduler with something
>>> like this in nightly-mender-rpi.conf:
>>>
>>> scheduler:
>>> [{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]
>>>
>>> You should only need a separate nightly.conf when you want that to
>>> trigger multiple builds.
>>>
>>> I've recently setup an autobuilder for meta-raspberrypi which I'll be
>>> publishing once I've got the last bits of setup done. If you're still
>>> struggling to get the nightly triggering working let me know and I'll
>>> put up the configurations I've used as a git repository.
>>
>> There is also additional helpful information on the Yocto Autobuilder
>> wiki page here:
>> https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder. Some of the
>> information applies to the Yocto Project build cluster, but is still
>> applicable to local autobuilders. I followed the same instructions to
>> setup a local AB. Be sure to use the htpasswd command that's in the
>> autobuilder git tree (in one of the bin directories, as I recall),
>> rather than a native system one. The AB version defaults to the
>> shorter crypto scheme that buildbot requires.
>
> Thank you for your fast responses. Generating the htpasswd file my
> self did the trick. Now I can login. The full command was (as you
> suggested I used the one in autobuilder git repo under ./bin):
>
> ./htpasswd -b -c   
>
> Forced a build of my configuration now and hoping for the best :).

And it was not green all the way.

I get an error that I do not get how to get around. The error message is:

ERROR: Unable to parse
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf:
[Errno 2] file 
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf
not found

The error message I understand. But I do not understand why it adds
meta-mender to bblayers files. I did not tell it to do that, because
meta-mender contains layers that I want to include. Similar to
meta-openembedded (which is also added to bblayers).

Here is the bblayers.conf also for reference:
mirzak@debian:~/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/build/conf$
cat bblayers.conf
POKY_BBLAYERS_CONF_VERSION =  "2"
BBPATH = "${TOPDIR}"
BBFILES ?=""
BBLAYERS += " \
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-poky
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-yocto-bsp
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/oe-meta-go
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-raspberrypi
\
/home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-openembedded
\

Re: [yocto] setting up autobuilder on local machine

2016-12-18 Thread Mirza Krak
2016-12-19 4:33 GMT+01:00 Bill Randle :
> On Sun, Dec 18, 2016 at 8:25 AM, Paul Barker  wrote:
>> On Sun, 18 Dec 2016 15:46:19 +0100
>> Mirza Krak  wrote:
>>
>>> Hi.
>>>
>>> I have been looking in to the possibility to utilize yocto autobuilder
>>> for one of my own projects.
>>>
>>> But I am having some problems setting this up and hopefully someone
>>> here can provide some pointers.
>>>
>>> I did the "quickstart part":
>>>
>>> git clone git://git.yoctoproject.org/yocto-autobuilder
>>> cd yocto-autobuilder
>>> . ./yocto-autobuilder-setup
>>> yocto-start-autobuilder both
>>>
>>> Above succeeds without any issues. But now what? :)
>>>
>>> I went to https://localhost:8010. I tried to login using the
>>> information that is in the .htpasswd file but that did not work. Where
>>> are the credentials to login setup?
>>
>> You'll need to create the .htpasswd file yourself. I think the
>> "htpasswd" tool can do this for you, I can't remember the exact
>> commands I used to make mine though sorry.
>>
>>>
>>> I also made an attempt to remove all un-wanted buildsets and now
>>> buildset-config contains (all other directories are removed)
>>>
>>> nightly-mender-rpi.conf  yoctoAB.conf
>>>
>>> Above is parsed correctly on start-up but build is never triggered. I
>>> probably removed to much :). Looking in to nigthly.conf it seem that
>>> is the one that trigger all other nightly builds?
>>>
>>> My fork can be found at [1].
>>>
>>> [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi
>>
>> This looks good, you just need to setup the scheduler with something
>> like this in nightly-mender-rpi.conf:
>>
>> scheduler:
>> [{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]
>>
>> You should only need a separate nightly.conf when you want that to
>> trigger multiple builds.
>>
>> I've recently setup an autobuilder for meta-raspberrypi which I'll be
>> publishing once I've got the last bits of setup done. If you're still
>> struggling to get the nightly triggering working let me know and I'll
>> put up the configurations I've used as a git repository.
>
> There is also additional helpful information on the Yocto Autobuilder
> wiki page here:
> https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder. Some of the
> information applies to the Yocto Project build cluster, but is still
> applicable to local autobuilders. I followed the same instructions to
> setup a local AB. Be sure to use the htpasswd command that's in the
> autobuilder git tree (in one of the bin directories, as I recall),
> rather than a native system one. The AB version defaults to the
> shorter crypto scheme that buildbot requires.

Thank you for your fast responses. Generating the htpasswd file my
self did the trick. Now I can login. The full command was (as you
suggested I used the one in autobuilder git repo under ./bin):

./htpasswd -b -c   

Forced a build of my configuration now and hoping for the best :).

Best Regards
Mirza
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] setting up autobuilder on local machine

2016-12-18 Thread Bill Randle
On Sun, Dec 18, 2016 at 8:25 AM, Paul Barker  wrote:
> On Sun, 18 Dec 2016 15:46:19 +0100
> Mirza Krak  wrote:
>
>> Hi.
>>
>> I have been looking in to the possibility to utilize yocto autobuilder
>> for one of my own projects.
>>
>> But I am having some problems setting this up and hopefully someone
>> here can provide some pointers.
>>
>> I did the "quickstart part":
>>
>> git clone git://git.yoctoproject.org/yocto-autobuilder
>> cd yocto-autobuilder
>> . ./yocto-autobuilder-setup
>> yocto-start-autobuilder both
>>
>> Above succeeds without any issues. But now what? :)
>>
>> I went to https://localhost:8010. I tried to login using the
>> information that is in the .htpasswd file but that did not work. Where
>> are the credentials to login setup?
>
> You'll need to create the .htpasswd file yourself. I think the
> "htpasswd" tool can do this for you, I can't remember the exact
> commands I used to make mine though sorry.
>
>>
>> I also made an attempt to remove all un-wanted buildsets and now
>> buildset-config contains (all other directories are removed)
>>
>> nightly-mender-rpi.conf  yoctoAB.conf
>>
>> Above is parsed correctly on start-up but build is never triggered. I
>> probably removed to much :). Looking in to nigthly.conf it seem that
>> is the one that trigger all other nightly builds?
>>
>> My fork can be found at [1].
>>
>> [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi
>
> This looks good, you just need to setup the scheduler with something
> like this in nightly-mender-rpi.conf:
>
> scheduler:
> [{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]
>
> You should only need a separate nightly.conf when you want that to
> trigger multiple builds.
>
> I've recently setup an autobuilder for meta-raspberrypi which I'll be
> publishing once I've got the last bits of setup done. If you're still
> struggling to get the nightly triggering working let me know and I'll
> put up the configurations I've used as a git repository.

There is also additional helpful information on the Yocto Autobuilder
wiki page here:
https://wiki.yoctoproject.org/wiki/The_Yocto_Autobuilder. Some of the
information applies to the Yocto Project build cluster, but is still
applicable to local autobuilders. I followed the same instructions to
setup a local AB. Be sure to use the htpasswd command that's in the
autobuilder git tree (in one of the bin directories, as I recall),
rather than a native system one. The AB version defaults to the
shorter crypto scheme that buildbot requires.

-Bill
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] setting up autobuilder on local machine

2016-12-18 Thread Paul Barker
On Sun, 18 Dec 2016 15:46:19 +0100
Mirza Krak  wrote:

> Hi.
> 
> I have been looking in to the possibility to utilize yocto autobuilder
> for one of my own projects.
> 
> But I am having some problems setting this up and hopefully someone
> here can provide some pointers.
> 
> I did the "quickstart part":
> 
> git clone git://git.yoctoproject.org/yocto-autobuilder
> cd yocto-autobuilder
> . ./yocto-autobuilder-setup
> yocto-start-autobuilder both
> 
> Above succeeds without any issues. But now what? :)
> 
> I went to https://localhost:8010. I tried to login using the
> information that is in the .htpasswd file but that did not work. Where
> are the credentials to login setup?

You'll need to create the .htpasswd file yourself. I think the
"htpasswd" tool can do this for you, I can't remember the exact
commands I used to make mine though sorry.

> 
> I also made an attempt to remove all un-wanted buildsets and now
> buildset-config contains (all other directories are removed)
> 
> nightly-mender-rpi.conf  yoctoAB.conf
> 
> Above is parsed correctly on start-up but build is never triggered. I
> probably removed to much :). Looking in to nigthly.conf it seem that
> is the one that trigger all other nightly builds?
> 
> My fork can be found at [1].
> 
> [1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi

This looks good, you just need to setup the scheduler with something
like this in nightly-mender-rpi.conf:

scheduler:
[{'nightly-build':{'type':'Nightly','hour':23,'minute':0}}]

You should only need a separate nightly.conf when you want that to
trigger multiple builds.

I've recently setup an autobuilder for meta-raspberrypi which I'll be
publishing once I've got the last bits of setup done. If you're still
struggling to get the nightly triggering working let me know and I'll
put up the configurations I've used as a git repository.

Thanks,
Paul Barker
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] setting up autobuilder on local machine

2016-12-18 Thread Mirza Krak
Hi.

I have been looking in to the possibility to utilize yocto autobuilder
for one of my own projects.

But I am having some problems setting this up and hopefully someone
here can provide some pointers.

I did the "quickstart part":

git clone git://git.yoctoproject.org/yocto-autobuilder
cd yocto-autobuilder
. ./yocto-autobuilder-setup
yocto-start-autobuilder both

Above succeeds without any issues. But now what? :)

I went to https://localhost:8010. I tried to login using the
information that is in the .htpasswd file but that did not work. Where
are the credentials to login setup?

I also made an attempt to remove all un-wanted buildsets and now
buildset-config contains (all other directories are removed)

nightly-mender-rpi.conf  yoctoAB.conf

Above is parsed correctly on start-up but build is never triggered. I
probably removed to much :). Looking in to nigthly.conf it seem that
is the one that trigger all other nightly builds?

My fork can be found at [1].

[1]. https://github.com/mirzak/yocto-autobuilder-mender-rpi

Best Regards
Mirza
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto