mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
builders: set build revision to poky revision
By default, since the yocto-autobuilder-helper repository is the only one that buildbot actually checks out in a step, the revision of that is the one that gets associated with the build; however, it's much more useful to have the revision set to the poky revision, so add a step that does that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6c6772b908
commit
7bdc7c9dcd
1
TODO
1
TODO
|
@ -2,7 +2,6 @@
|
|||
|
||||
* figure out htpasswd & auth for scheduling builds [Michael]
|
||||
* ensure need auth to trigger builds [Michael]
|
||||
* Display poky revision in web UI, not the yocto-autobuilder-helper revision [Paul]
|
||||
|
||||
# Future
|
||||
|
||||
|
|
|
@ -198,6 +198,11 @@ factory.addStep(steps.ShellCommand(
|
|||
haltOnFailure=True,
|
||||
name="Unpack shared repositories"))
|
||||
|
||||
factory.addStep(steps.SetPropertyFromCommand(command=util.Interpolate("cd %(prop:sharedrepolocation)s/poky; git rev-parse HEAD"),
|
||||
property="got_revision",
|
||||
haltOnFailure=True,
|
||||
name='Set build revision'))
|
||||
|
||||
# run-config
|
||||
factory.addStep(steps.ShellCommand(
|
||||
command=[
|
||||
|
|
Loading…
Reference in New Issue
Block a user