Skip to content

Instantly share code, notes, and snippets.

@lsandov1
Created November 6, 2018 19:48
Show Gist options
  • Save lsandov1/e2140d21569b3dd5a46a1d1fc99286a0 to your computer and use it in GitHub Desktop.
Save lsandov1/e2140d21569b3dd5a46a1d1fc99286a0 to your computer and use it in GitHub Desktop.
Patchtest
From Intelpedia
Patchtest
Patchtest is community project which aims to do basic checks for community patches that get into the Openembedded-Core mailing list. Patchtest gets patches from Patchwork and execute the suite defined on Patchtest-OE, the latter containing checks that apply to OpenEmbedded-Core project.
Current server running patchtest (patchtest.yocto.io) through a cronjob can be reached through this ssh config
Host yoctoiojump
HostName access.yocto.io
Host patchtest
HostName patchtest.yocto.io
User patchtest
ProxyJump yoctoiojump
$ ssh patchtest
and currently, a half-hour cronjob running defined as
*/30 * * * * cd /home/patchtest/patchtest-guest-v2/production/patchtest; git pull; /home/patchtest/patchtest-guest-v2/production/patchtest/scripts/guest -p -g /home/patchtest/patchtest-guest-v2/production/guest -s /home/patchtest/patchtest-guest-v2/production/share >> /home/patchtest/patchtest-guest-v2/production/cronlog 2>&1
in words, it moves to production folder and get latest changes from patchtest repo, then calls the guest script which takes care of all the work: 1. launch a qemu poky image, 2. execute patchtest and 3. report back to patchwork. Step 2 is actually done though the running qemu image, not the guest script. The image is created using the meta-patchtest layer, on top of a Poky Distro, tested on pyro release.
Retrieved from "https://intelpedia.intel.com/index.php?title=Patchtest&oldid=794654"
This page was last modified on 18 October 2018, at 13:06.
This page has been accessed 19 times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment