mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-27 17:25:20 -04:00
chore: v2.17.0 post-release (#3229)
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
e9a4ccd009
commit
74e0f44230
4 changed files with 33 additions and 36 deletions
|
@ -110,33 +110,31 @@ func TestAccAttestationSource(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
// TODO(msanft): Enable once v2.17.0 is available
|
||||
// "gcp sev-snp succcess": {
|
||||
// ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
|
||||
// PreCheck: bazelPreCheck,
|
||||
// Steps: []resource.TestStep{
|
||||
// {
|
||||
// Config: testingConfig + `
|
||||
// data "constellation_attestation" "test" {
|
||||
// csp = "gcp"
|
||||
// attestation_variant = "gcp-sev-snp"
|
||||
// image = {
|
||||
// version = "v2.17.0"
|
||||
// reference = "v2.17.0"
|
||||
// short_path = "v2.17.0"
|
||||
// }
|
||||
// }
|
||||
// `,
|
||||
// Check: resource.ComposeAggregateTestCheckFunc(
|
||||
// resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.variant", "gcp-sev-snp"),
|
||||
// resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.bootloader_version", "0"), // since this is not supported on GCP, we expect 0
|
||||
|
||||
// resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.measurements.1.expected", "745f2fb4235e4647aa0ad5ace781cd929eb68c28870e7dd5d1a1535854325e56"),
|
||||
// resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.measurements.1.warn_only", "true"),
|
||||
// ),
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
"gcp sev-snp succcess": {
|
||||
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
|
||||
PreCheck: bazelPreCheck,
|
||||
Steps: []resource.TestStep{
|
||||
{
|
||||
Config: testingConfig + `
|
||||
data "constellation_attestation" "test" {
|
||||
csp = "gcp"
|
||||
attestation_variant = "gcp-sev-snp"
|
||||
image = {
|
||||
version = "v2.17.0"
|
||||
reference = "v2.17.0"
|
||||
short_path = "v2.17.0"
|
||||
}
|
||||
}
|
||||
`,
|
||||
Check: resource.ComposeAggregateTestCheckFunc(
|
||||
resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.variant", "gcp-sev-snp"),
|
||||
resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.bootloader_version", "3"),
|
||||
resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.measurements.1.expected", "3695dcc55e3aa34027c27793c85c723c697d708c42d1f73bd6fa4f26608a5b24"),
|
||||
resource.TestCheckResourceAttr("data.constellation_attestation.test", "attestation.measurements.1.warn_only", "true"),
|
||||
),
|
||||
},
|
||||
},
|
||||
},
|
||||
"STACKIT qemu-vtpm success": {
|
||||
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
|
||||
PreCheck: bazelPreCheck,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue