Wrote structure for e2e test

This commit is contained in:
miampf 2025-02-13 13:55:09 +01:00
parent 8d76abc1ac
commit bd3c2595ac
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C
2 changed files with 24 additions and 1 deletions

View File

@ -56,7 +56,7 @@ inputs:
description: "Azure credentials authorized to create an IAM configuration."
required: true
test:
description: "The test to run. Can currently be one of [sonobuoy full, sonobuoy quick, sonobuoy conformance, autoscaling, lb, perf-bench, verify, recover, malicious join, nop, upgrade]."
description: "The test to run. Can currently be one of [sonobuoy full, sonobuoy quick, sonobuoy conformance, autoscaling, lb, perf-bench, verify, recover, malicious join, nop, upgrade, emergency ssh]."
required: true
sonobuoyTestSuiteCmd:
description: "The sonobuoy test suite to run."
@ -444,3 +444,7 @@ runs:
s3AccessKey: ${{ inputs.s3AccessKey }}
s3SecretKey: ${{ inputs.s3SecretKey }}
githubToken: ${{ inputs.githubToken }}
- name: Run emergency ssh test
if: inputs.test == 'emergency ssh'
uses: ./.github/actions/e2e_emergency_ssh

19
.github/workflows/e2e-ssh.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: e2e test emergency ssh
on:
workflow_dispatch:
push:
paths:
- cli/internal/cmd/ssh*.go
- terraform/infrastructure/aws/**
- terraform/infrastructure/azure/**
- terraform/infrastructure/gcp/**
jobs:
ssh:
strategy:
matrix:
csp: [aws, azure, gcp]
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2