meta-oe-mirror: Use a 2 step job to fetch and verify meta-openembedded mirror.
Hi,
This patch is v2 for this one :
https://lists.yoctoproject.org/g/yocto/message/61306
Regards
David
Quoted 63 lines · David Pierret via lists.yoctoproject.org
Inspired from trigger-build and trigger-build-post-trigger The branch must be selected on build configuration.
Signed-off-by David Pierret <[email protected]>Reviewed-by Yoann Congal <[email protected]>--- config.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)config.json +30
-1@@ -1420,6 +1420,36 @@ "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/" ] }, + "meta-oe-mirror" : { + "SDKMACHINE" : "x86_64", + "MACHINE" : "qemux86-64", + "NEEDREPOS" : ["poky", "meta-openembedded"], + "ADDLAYER" : [ + "${BUILDDIR}/../meta-selftest", + + "${BUILDDIR}/../meta-openembedded/meta-oe", + "${BUILDDIR}/../meta-openembedded/meta-python", + "${BUILDDIR}/../meta-openembedded/meta-perl", + "${BUILDDIR}/../meta-openembedded/meta-networking", + "${BUILDDIR}/../meta-openembedded/meta-multimedia", + "${BUILDDIR}/../meta-openembedded/meta-gnome", + "${BUILDDIR}/../meta-openembedded/meta-xfce", + "${BUILDDIR}/../meta-openembedded/meta-filesystems", + "${BUILDDIR}/../meta-openembedded/meta-initramfs", + "${BUILDDIR}/../meta-openembedded/meta-webserver" + ], + "step1" : { + "shortname" : "Sources pre-fetching", + "BBTARGETS" : "universe -c fetch -k", + "extravars" : [ + "SOURCE_MIRROR_FETCH = '1'" + ] + }, + "step2" : { + "shortname" : "Source Mirror Selftest", + "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest -r buildoptions.SourceMirroring.test_yocto_source_mirror"], + } + }, "a-quick" : { "TEMPLATE" : "trigger-build" }, --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61400): https://lists.yoctoproject.org/g/yocto/message/61400
Mute This Topic: https://lists.yoctoproject.org/mt/102039136/7911180
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-