e2e: cleanup test inputs

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-08-09 14:59:59 +02:00
parent e466ce2f26
commit 670c20b18c
2 changed files with 6 additions and 16 deletions

View file

@ -93,6 +93,7 @@ runs:
yq eval -i "(.nodeGroups[] | .instanceType) = \"${{ inputs.machineType }}\"" constellation-conf.yaml yq eval -i "(.nodeGroups[] | .instanceType) = \"${{ inputs.machineType }}\"" constellation-conf.yaml
- name: Set node count - name: Set node count
# TODO(katexochen): remove if statement once 2.10 is released.
if: inputs.cliVersion != 'v2.9.0' && inputs.cliVersion != 'v2.9.1' if: inputs.cliVersion != 'v2.9.0' && inputs.cliVersion != 'v2.9.1'
shell: bash shell: bash
run: | run: |

View file

@ -4,52 +4,43 @@ description: "This test does the infrastructure management and runs the e2e test
inputs: inputs:
workerNodesCount: workerNodesCount:
description: "Number of worker nodes to spawn." description: "Number of worker nodes to spawn."
required: false
default: "2" default: "2"
controlNodesCount: controlNodesCount:
description: "Number of control-plane nodes to spawn." description: "Number of control-plane nodes to spawn."
required: false
default: "3" default: "3"
cloudProvider: cloudProvider:
description: "Which cloud provider to use." description: "Which cloud provider to use."
required: true required: true
machineType: machineType:
description: "VM machine type. Make sure it matches selected cloud provider!" description: "VM machine type. Make sure it matches selected cloud provider!"
required: false
osImage: osImage:
description: "OS image to run." description: "OS image to run."
required: true required: true
isDebugImage: isDebugImage:
description: "Is OS img a debug img?" description: "Is OS img a debug img?"
default: "true"
required: true required: true
cliVersion: cliVersion:
description: "Version of a released CLI to download, e.g. 'v2.3.0', leave empty to build it." description: "Version of a released CLI to download, e.g. 'v2.3.0', leave empty to build it."
required: false
kubernetesVersion: kubernetesVersion:
description: "Kubernetes version to create the cluster from." description: "Kubernetes version to create the cluster from."
required: false
gcpProject: gcpProject:
description: "The GCP project to deploy Constellation in." description: "The GCP project to deploy Constellation in."
required: false required: true
gcpIAMCreateServiceAccount: gcpIAMCreateServiceAccount:
description: "Service account with permissions to create IAM configuration on GCP." description: "Service account with permissions to create IAM configuration on GCP."
required: false required: true
gcpClusterCreateServiceAccount: gcpClusterCreateServiceAccount:
description: "Service account with permissions to create a Constellation cluster on GCP." description: "Service account with permissions to create a Constellation cluster on GCP."
required: false required: true
gcpInClusterServiceAccountKey: gcpInClusterServiceAccountKey:
description: "Service account to use inside the created Constellation cluster on GCP." description: "Service account to use inside the created Constellation cluster on GCP."
required: false required: true
awsOpenSearchDomain: awsOpenSearchDomain:
description: "AWS OpenSearch Endpoint Domain to upload the benchmark results." description: "AWS OpenSearch Endpoint Domain to upload the benchmark results."
required: false
awsOpenSearchUsers: awsOpenSearchUsers:
description: "AWS OpenSearch User to upload the benchmark results." description: "AWS OpenSearch User to upload the benchmark results."
required: false
awsOpenSearchPwd: awsOpenSearchPwd:
description: "AWS OpenSearch Password to upload the benchmark results." description: "AWS OpenSearch Password to upload the benchmark results."
required: false
azureClusterCreateCredentials: azureClusterCreateCredentials:
description: "Azure credentials authorized to create a Constellation cluster." description: "Azure credentials authorized to create a Constellation cluster."
required: true required: true
@ -61,10 +52,8 @@ inputs:
required: true required: true
sonobuoyTestSuiteCmd: sonobuoyTestSuiteCmd:
description: "The sonobuoy test suite to run." description: "The sonobuoy test suite to run."
required: false
buildBuddyApiKey: buildBuddyApiKey:
description: "BuildBuddy API key for caching Bazel artifacts" description: "BuildBuddy API key for caching Bazel artifacts"
required: false
registry: registry:
description: "Container registry to use" description: "Container registry to use"
required: true required: true
@ -72,8 +61,8 @@ inputs:
description: "GitHub authorization token" description: "GitHub authorization token"
required: true required: true
fetchMeasurements: fetchMeasurements:
default: "false"
description: "Update measurements via the 'constellation config fetch-measurements' command." description: "Update measurements via the 'constellation config fetch-measurements' command."
default: "false"
azureSNPEnforcementPolicy: azureSNPEnforcementPolicy:
description: "Enable security policy for the cluster." description: "Enable security policy for the cluster."