mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-23 13:51:06 -05: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"
|
description: "The resource group to use"
|
||||||
required: false
|
required: false
|
||||||
test:
|
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
|
required: true
|
||||||
sonobuoyTestSuiteCmd:
|
sonobuoyTestSuiteCmd:
|
||||||
description: "The sonobuoy test suite to run."
|
description: "The sonobuoy test suite to run."
|
||||||
@ -50,7 +50,7 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Check input
|
- 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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "Invalid input for test field: ${{ inputs.test }}"
|
echo "Invalid input for test field: ${{ inputs.test }}"
|
||||||
@ -117,6 +117,11 @@ runs:
|
|||||||
# Test payloads
|
# 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
|
- name: Run sonobuoy quick test
|
||||||
if: inputs.test == 'sonobuoy quick'
|
if: inputs.test == 'sonobuoy quick'
|
||||||
uses: ./.github/actions/e2e_sonobuoy
|
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 quick"
|
||||||
- "sonobuoy full"
|
- "sonobuoy full"
|
||||||
- "autoscaling"
|
- "autoscaling"
|
||||||
|
- "nop"
|
||||||
required: true
|
required: true
|
||||||
kubernetesVersion:
|
kubernetesVersion:
|
||||||
description: "Kubernetes version to create the cluster from."
|
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 quick"
|
||||||
- "sonobuoy full"
|
- "sonobuoy full"
|
||||||
- "autoscaling"
|
- "autoscaling"
|
||||||
|
- "nop"
|
||||||
required: true
|
required: true
|
||||||
kubernetesVersion:
|
kubernetesVersion:
|
||||||
description: "Kubernetes version to create the cluster from."
|
description: "Kubernetes version to create the cluster from."
|
||||||
|
Loading…
Reference in New Issue
Block a user