dappnode/DAppNode

Develop tests for the installer to be run on a Github self-host runner

pablomendezroyo opened this issue · 6 comments

Develop tests for the installer. Take into account that the tests will be run on a real dappnode environment.

Tests to develop:

  • Script tests
    • Install pre-rrequisites
    • Install dappnode
    • Uninstall dappnode
  • ISO tests:
    • Setup: use virtualbox api to set-up the environment
    • Install Dappnode ISO in virtual box
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale commented

This issue or pull request has been automatically been closed due to inactivity.

For ISO testing, we could have a self-hosted runner connected to GitHub that performs SSH connection to another device (a NUC) which will generate the new ISO. This ISO will be burnt in a USB device that will be connected to the NUC and a reboot will be executed to trigger the installation. After some minutes, the first device will be able to reboot the second one and, then, it will connect via SSH again to test the installation.

If we want to test both the ISO and the script installation in the same device, we could have 2 USB drives connected to the NUC and keep one of them with some unattended version of Ubuntu or Debian if possible, so that this becomes the default state for the NUC before performing the script installation.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale commented

This issue or pull request has been automatically been closed due to inactivity.