e2e: run regression tests on bare metal #907
Merged
+97
−46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ensure that known test cases work, regardless of platform, and fix a couple of issues for the tests to succeeded:
MongoDB
MySQL
The MySQL images need additional configuration to run, otherwise they end up crash-looping and cause sporadic errors.
Varnish
The Varnish we're using is a source-to-image image which does not actually run a server in the default configuration. Since I don't know how we would want to configure Varnish in the first place, I'm removing the image. cc @miampf
Image build
The
CONFIDENTIAL_GUEST
environment variable for the rootfs build is set upstream when COCO guest components are provided. Since we don't provide them, we need to set it manually so that we get the features enabled by it.For now, the only feature guarded by this variable is an increased
/run
mount size. However, there seems to be a bug in the implementation, because the systemd target that's edited is not yet in the new root, sosystemd-remount-fs
is not enabled and thus modifyingfstab
has no effect. We work around this by adding the targets before the rootfs build and disabling a cleanup step in the build script.