[Buildroot] [PATCH] scripts/autobuild-run: add --branches option
arnout at mind.be
Wed Jan 16 11:58:01 UTC 2019
On 16/01/2019 09:55, Thomas Petazzoni wrote:
> On Tue, 15 Jan 2019 15:11:31 +0100, Arnout Vandecappelle
> (Essensium/Mind) wrote:
>> From: Arnout Vandecappelle <arnout.vandecappelle at essensium.com>
>> The autobuild-run script will retrieve the list of branches to test
>> from autobuild.buildroot.org. However, it the autobuild script is used
>> to test some local configuration, this is probably not appropriate. The
>> new --branches option allows to override the URL of the branches CSV
>> file. A file:/// URL can be used for a local file.
>> Signed-off-by: Arnout Vandecappelle <arnout.vandecappelle at essensium.com>
> I had an alternate patch ready for this, which consists in changing
> http-url to be the base URL, and not the submission URL.
> '--http-url': 'http://autobuild.buildroot.org/submit/',
> would become:
> '--http-url': 'http://autobuild.buildroot.org/',
> And so the branches file would be retrieved from $(--http-url)/branches.
> Would this work for you, or do you have a set up where the branches
> file is not located at the same place as the submission URL ?
Yes, that would work as well.
Note that I'm not actually using the upload option, but since that is gated on
the presence of http-login and http-password, that's fine.
More information about the buildroot