-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: verify FCOS runs on TDX_CAPABLE
instances in GCP
#3356
Conversation
017bdda
to
62a085b
Compare
62a085b
to
28d8786
Compare
See coreos/fedora-coreos-tracker#1814 Use type `c3-standard-4` with only 1 disk that uses the NVMe interface, as Intel TDX `c3-standard-4-lssd` is not supported yet. (Refer to https://cloud.google.com/confidential-computing/confidential-vm/docs/supported-configurations#limitations)
28d8786
to
d063918
Compare
Update config to run SNP test and add Intel TDX test. See coreos/fedora-coreos-config#3356
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
# Verify the instance is Confidential VM type that matches expected | ||
assert_confidential_type_match() { | ||
local cvm_type=$(systemd-detect-virt --cvm) | ||
local expected=$1 | ||
[ "${cvm_type}" == "${expected}" ] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you left this here because it would be useful outside of GCP confidential compute tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it might be also useful if running Confidential VM on other platform, for example Azure.
In coreos/fedora-coreos-config#3356 the test was updated and split in two tests, changing the names.
Update config to run SNP test and add Intel TDX test. See coreos/fedora-coreos-config#3356
Update config to run SNP test and add Intel TDX test. See coreos/fedora-coreos-config#3356
Update config to run SNP test and add Intel TDX test. See: - test script coreos/fedora-coreos-config#3356 - tracker issue coreos/fedora-coreos-tracker#1814
See coreos/fedora-coreos-tracker#1814
Use type
c3-standard-4
with only 1 disk that uses the NVMe interface, as Intel TDXc3-standard-4-lssd
is not supported yet. (Refer to https://cloud.google.com/confidential-computing/confidential-vm/docs/supported-configurations#limitations)