mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 08:54:21 -05:00
913b09aeb8
* terraform: enable creation of SEV-SNP VMs on GCP * variant: add SEV-SNP attestation variant * config: add SEV-SNP config options for GCP * measurements: add GCP SEV-SNP measurements * gcp: separate package for SEV-ES * attestation: add GCP SEV-SNP attestation logic * gcp: factor out common logic * choose: add GCP SEV-SNP * cli: add TF variable passthrough for GCP SEV-SNP variables * cli: support GCP SEV-SNP for `constellation verify` * Adjust usage of GCP SEV-SNP throughout codebase * ci: add GCP SEV-SNP * terraform-provider: support GCP SEV-SNP * docs: add GCP SEV-SNP reference * linter fixes * gcp: only run test with TPM simulator * gcp: remove nonsense test * Update cli/internal/cmd/verify.go Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * Update docs/docs/overview/clouds.md Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * Update terraform-provider-constellation/internal/provider/attestation_data_source_test.go Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com> * linter fixes * terraform_provider: correctly pass down CC technology * config: mark attestationconfigapi as unimplemented * gcp: fix comments and typos * snp: use nonce and PK hash in SNP report * snp: ensure we never use ARK supplied by Issuer (#3025) * Make sure SNP ARK is always loaded from config, or fetched from AMD KDS * GCP: Set validator `reportData` correctly --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * attestationconfigapi: add GCP to uploading * snp: use correct cert Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: enable fetching of attestation config values for GCP SEV-SNP * linter fixes --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>
91 lines
2.8 KiB
YAML
91 lines
2.8 KiB
YAML
name: e2e test Terraform provider
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
nodeCount:
|
|
description: "Number of nodes to use in the cluster. Given in format `<control-plane nodes>:<worker nodes>`."
|
|
default: "3:2"
|
|
type: string
|
|
attestationVariant:
|
|
description: "Which attestation variant to use."
|
|
type: choice
|
|
options:
|
|
- "aws-sev-snp"
|
|
- "azure-sev-snp"
|
|
- "azure-tdx"
|
|
- "gcp-sev-es"
|
|
- "gcp-sev-snp"
|
|
default: "azure-sev-snp"
|
|
required: true
|
|
runner:
|
|
description: "Architecture of the runner that executes the CLI"
|
|
type: choice
|
|
options:
|
|
- "ubuntu-22.04"
|
|
- "macos-12"
|
|
default: "ubuntu-22.04"
|
|
test:
|
|
description: "The test to run."
|
|
type: choice
|
|
options:
|
|
- "sonobuoy quick"
|
|
- "sonobuoy full"
|
|
- "autoscaling"
|
|
- "lb"
|
|
- "perf-bench"
|
|
- "verify"
|
|
- "recover"
|
|
- "malicious join"
|
|
- "nop"
|
|
required: true
|
|
kubernetesVersion:
|
|
description: "Kubernetes version to create the cluster from."
|
|
default: "1.28"
|
|
required: true
|
|
releaseVersion:
|
|
description: "Version of a released provider to download. Leave empty to build the provider from the checked out ref."
|
|
type: string
|
|
default: ""
|
|
required: false
|
|
imageVersion:
|
|
description: "Full name of OS image (CSP independent image version UID). Leave empty for latest debug image on main."
|
|
type: string
|
|
default: ""
|
|
required: false
|
|
machineType:
|
|
description: "Override VM machine type. Leave as 'default' or empty to use the default VM type for the selected cloud provider."
|
|
type: string
|
|
default: "default"
|
|
required: false
|
|
regionZone:
|
|
description: "Region or zone to create the cluster in. Leave empty for default region/zone."
|
|
type: string
|
|
git-ref:
|
|
description: "Git ref to checkout."
|
|
type: string
|
|
default: "head"
|
|
required: false
|
|
|
|
jobs:
|
|
e2e-test:
|
|
permissions:
|
|
id-token: write
|
|
checks: write
|
|
contents: read
|
|
packages: write
|
|
secrets: inherit
|
|
uses: ./.github/workflows/e2e-test.yml
|
|
with:
|
|
nodeCount: ${{ inputs.nodeCount }}
|
|
attestationVariant: ${{ inputs.attestationVariant }}
|
|
runner: ${{ inputs.runner }}
|
|
test: ${{ inputs.test }}
|
|
kubernetesVersion: ${{ inputs.kubernetesVersion }}
|
|
cliVersion: ${{ inputs.releaseVersion }}
|
|
imageVersion: ${{ inputs.imageVersion }}
|
|
machineType: ${{ inputs.machineType }}
|
|
regionZone: ${{ inputs.regionZone }}
|
|
git-ref: ${{ inputs.git-ref }}
|
|
clusterCreation: "terraform"
|