rapido-linux / rapido

Quickly test Linux kernel changes
GNU Lesser General Public License v2.1
22 stars 22 forks source link

Bug191: allow for sharing of RAPIDO_DIR between independent consumers #199

Closed ddiss closed 1 year ago

ddiss commented 1 year ago

This patchset attempt to remove all hardcoded RAPIDO_DIR paths for configuration and output files, making it much easier for independent CI jobs to run on the same host without the need to clone separate rapido repositories.

The following changes since commit 8571d3aa651f552f6eb735931397e3fd7e13e12a:

  Merge branch 'udf_v2' (2023-01-25 00:04:03 +0100)

are available in the Git repository at:

  https://github.com/ddiss/rapido bug191_share_RAPIDO_DIR

for you to fetch changes up to 8a88b9d38598ade9c33889bc3312d9bda914f30a:

  selftest/003: test QEMU_PID_DIR (2023-01-27 00:29:45 +0100)

----------------------------------------------------------------
David Disseldorp (9):
      runtime.vars: drop hardcoded dracut tmpdir
      Revert "rapido: remove existing image instead of using dracut --force"
      tools/br_tap_teardown.sh: clean up dnsmasq pid lookup
      runtime.vars: allow DRACUT_OUT to be changed in rapido.conf
      rapido.conf: add VM_NET_CONF parameter
      selftest: check for image at non-default DRACUT_OUT path
      selftest/005: test VM_NET_CONF paths and hostname propagation
      rapido.conf: add QEMU_PID_DIR parameter
      selftest/003: test QEMU_PID_DIR

 rapido                           |  1 -
 rapido.conf.example              | 21 +++++++++++++++++++--
 runtime.vars                     | 29 ++++++++++++++++++-----------
 selftest/selftest.sh             | 12 +++++++-----
 selftest/test/002                | 24 ++++++++++++------------
 selftest/test/003                | 18 ++++++++++++++++++
 selftest/test/005                | 34 ++++++++++++++++++++++++++++++++++
 tools/br_tap_setup.sh            |  6 +++---
 tools/br_tap_teardown.sh         | 14 +++++++-------
 tools/net_conf_migrate.sh        |  2 +-
 tools/podman-import-initramfs.sh |  2 +-
 vm.sh                            | 15 ++++++++-------
 12 files changed, 128 insertions(+), 50 deletions(-)
 create mode 100755 selftest/test/005
ddiss commented 1 year ago

I've been running with this for a while, so plan on merging in the next day or so