osmo-trx[master]: contrib/jenkins.sh: Use qemu+proot+debootstrap to run tests ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Jan 15 18:27:01 UTC 2018


Patch Set 13:

> why keeping it in /opt and not in the workspace?  The per-job
 > directories on each slave are persistent, aren't they?  At least
 > when I log in via SSH I always see plenty of those directories?

They are not persistent in the sense that they get cleaned everytime by osmo-clean-workspace.sh, so the git directory stays there but the generated image would be cleaned, and then next time would need to be re-generated. A solution for this would be adding a env var or a parameter to osmo-clean-workspace.sh to have a list of directories to skip (it's apparently easy with git clean -e).

For now I decided to have it in /opt in a similar way as we already have the toolchain /opt/poky/, since the rootfs in /opt/qemu-img is mostly used readonly because we do all the work only inside /opt/qemu-img/osmo-trx which is actually fake since proot is bind-mounting it to our workspace. This way we set up the image once per jenkins node and we forget about it (we document it of course ;).

-- 
To view, visit https://gerrit.osmocom.org/5763
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iba3f4de008662805d8ffc46e1f473e407b088fb8
Gerrit-PatchSet: 13
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-HasComments: No



More information about the gerrit-log mailing list