mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
e2e: add nop payload to only test infra creation
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
42a2f124e1
commit
050223e4c5
9
.github/actions/e2e_test/action.yml
vendored
9
.github/actions/e2e_test/action.yml
vendored
@ -40,7 +40,7 @@ inputs:
|
||||
description: "The resource group to use"
|
||||
required: false
|
||||
test:
|
||||
description: "The test to run. Can currently be one of [sonobuoy full, sonobuoy quick, autoscaling]."
|
||||
description: "The test to run. Can currently be one of [sonobuoy full, sonobuoy quick, autoscaling, nop]."
|
||||
required: true
|
||||
sonobuoyTestSuiteCmd:
|
||||
description: "The sonobuoy test suite to run."
|
||||
@ -50,7 +50,7 @@ runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Check input
|
||||
if: ${{ !contains(fromJson('["sonobuoy full", "sonobuoy quick", "autoscaling"]'), inputs.test) }}
|
||||
if: ${{ !contains(fromJson('["sonobuoy full", "sonobuoy quick", "autoscaling", "nop"]'), inputs.test) }}
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Invalid input for test field: ${{ inputs.test }}"
|
||||
@ -117,6 +117,11 @@ runs:
|
||||
# Test payloads
|
||||
#
|
||||
|
||||
- name: Nop test payload
|
||||
if: inputs.test == 'nop'
|
||||
shell: bash
|
||||
run: echo "::warning::This test has a nop payload. It doesn't run any tests."
|
||||
|
||||
- name: Run sonobuoy quick test
|
||||
if: inputs.test == 'sonobuoy quick'
|
||||
uses: ./.github/actions/e2e_sonobuoy
|
||||
|
1
.github/workflows/e2e-test-manual-macos.yml
vendored
1
.github/workflows/e2e-test-manual-macos.yml
vendored
@ -26,6 +26,7 @@ on:
|
||||
- "sonobuoy quick"
|
||||
- "sonobuoy full"
|
||||
- "autoscaling"
|
||||
- "nop"
|
||||
required: true
|
||||
kubernetesVersion:
|
||||
description: "Kubernetes version to create the cluster from."
|
||||
|
1
.github/workflows/e2e-test-manual.yml
vendored
1
.github/workflows/e2e-test-manual.yml
vendored
@ -26,6 +26,7 @@ on:
|
||||
- "sonobuoy quick"
|
||||
- "sonobuoy full"
|
||||
- "autoscaling"
|
||||
- "nop"
|
||||
required: true
|
||||
kubernetesVersion:
|
||||
description: "Kubernetes version to create the cluster from."
|
||||
|
Loading…
Reference in New Issue
Block a user