Bad tests that panic won't clean themselves up properly. By putting
these cleanup commands before we run the minikube integration tests, we
ensure that minikube will have a clean environment to run.
These all run in common.sh to make sure that even hypervisors that they
arent testing don't interfere with their own test. OS specific
commands will fail silently.
When changes are made to the ISO folder, rebuild and upload the newly
modified image. Use this uploaded image as the default in the e2e test
binaries, so that the e2e test suite runs against the PR's changes.
TODO: Subsequent PRs (no changes to ISO) will still run against the
default version in the makefile. We should figure out if we want to
always run tests against the "latest" image.
Sometimes gsutil cp -r can miss files. We also don't need to copy over
every file. Additionally, I started to abstract the OS_ARCH away so
that we can more easily template the jenkins OS tests.