2023-12-08 08:40:31 -05:00
|
|
|
name: e2e test marketplace image
|
|
|
|
|
|
|
|
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
|
2024-01-25 09:32:19 -05:00
|
|
|
attestationVariant:
|
|
|
|
description: "Which attestation variant to use."
|
2023-12-08 08:40:31 -05:00
|
|
|
type: choice
|
|
|
|
options:
|
2024-01-25 09:32:19 -05:00
|
|
|
- "gcp-sev-es"
|
|
|
|
- "azure-sev-snp"
|
|
|
|
- "azure-tdx"
|
2024-02-06 06:13:59 -05:00
|
|
|
- "aws-sev-snp"
|
2024-01-25 09:32:19 -05:00
|
|
|
default: "azure-sev-snp"
|
2023-12-08 08:40:31 -05:00
|
|
|
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."
|
2024-01-08 10:53:12 -05:00
|
|
|
default: "1.28"
|
2023-12-08 08:40:31 -05:00
|
|
|
required: true
|
|
|
|
cliVersion:
|
|
|
|
description: "Version of a released CLI to download. Leave empty to build the CLI from the checked out ref."
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: false
|
|
|
|
marketplaceImageVersion:
|
|
|
|
description: "Marketplace image version to use in the cluster's nodes. Needs to be a release semver."
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
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 }}
|
2024-01-25 09:32:19 -05:00
|
|
|
attestationVariant: ${{ inputs.attestationVariant }}
|
2023-12-08 08:40:31 -05:00
|
|
|
runner: ${{ inputs.runner }}
|
|
|
|
test: ${{ inputs.test }}
|
|
|
|
kubernetesVersion: ${{ inputs.kubernetesVersion }}
|
|
|
|
cliVersion: ${{ inputs.cliVersion }}
|
|
|
|
imageVersion: ${{ inputs.marketplaceImageVersion }}
|
|
|
|
machineType: ${{ inputs.machineType }}
|
|
|
|
regionZone: ${{ inputs.regionZone }}
|
|
|
|
git-ref: ${{ inputs.git-ref }}
|
|
|
|
marketplaceImageVersion: ${{ inputs.marketplaceImageVersion }}
|
|
|
|
force: true
|