mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
builders: Do fake builds
Just replace commands with random delays Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
This commit is contained in:
parent
dcbfebcadb
commit
9aaa4bb238
|
@ -299,6 +299,7 @@ def create_parent_builder_factory(buildername, waitname):
|
||||||
factory.addStep(WriteLayerInfo(name='Write main layerinfo.json', haltOnFailure=True))
|
factory.addStep(WriteLayerInfo(name='Write main layerinfo.json', haltOnFailure=True))
|
||||||
factory.addStep(steps.ShellCommand(
|
factory.addStep(steps.ShellCommand(
|
||||||
command=[
|
command=[
|
||||||
|
"echo",
|
||||||
util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/prepare-shared-repos"),
|
util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/prepare-shared-repos"),
|
||||||
util.Interpolate("%(prop:builddir)s/layerinfo.json"),
|
util.Interpolate("%(prop:builddir)s/layerinfo.json"),
|
||||||
util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir)),
|
util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir)),
|
||||||
|
|
|
@ -44,7 +44,7 @@ buildertorepos = {
|
||||||
repos = {
|
repos = {
|
||||||
"yocto-autobuilder-helper":
|
"yocto-autobuilder-helper":
|
||||||
["ssh://git@push.yoctoproject.org/yocto-autobuilder-helper",
|
["ssh://git@push.yoctoproject.org/yocto-autobuilder-helper",
|
||||||
"master"],
|
"contrib/mathieu/fake_builds"],
|
||||||
"eclipse-poky-neon": ["ssh://git@push.yoctoproject.org/eclipse-yocto",
|
"eclipse-poky-neon": ["ssh://git@push.yoctoproject.org/eclipse-yocto",
|
||||||
"neon-master"],
|
"neon-master"],
|
||||||
"eclipse-poky-oxygen": ["ssh://git@push.yoctoproject.org/eclipse-yocto",
|
"eclipse-poky-oxygen": ["ssh://git@push.yoctoproject.org/eclipse-yocto",
|
||||||
|
|
|
@ -86,7 +86,7 @@ RUN useradd -m --system pokybuild && \
|
||||||
ln -rs yoctoabb/master.cfg master.cfg && \
|
ln -rs yoctoabb/master.cfg master.cfg && \
|
||||||
\
|
\
|
||||||
cd /home/pokybuild && \
|
cd /home/pokybuild && \
|
||||||
git clone https://git.yoctoproject.org/git/yocto-autobuilder-helper && \
|
git clone https://git.yoctoproject.org/git/yocto-autobuilder-helper -b contrib/mathieu/fake_builds && \
|
||||||
pip install --break-system-packages \
|
pip install --break-system-packages \
|
||||||
yocto-controller/yoctoabb/yocto_console_view/ && \
|
yocto-controller/yoctoabb/yocto_console_view/ && \
|
||||||
mkdir -p /home/pokybuild/git/ && \
|
mkdir -p /home/pokybuild/git/ && \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user