api-testing/action.yml

25 lines
594 B
YAML

name: 'API testing with Kubernetes'
description: 'API testing with Kubernetes'
inputs:
pattern:
description: 'The pattern of the items'
required: true
default: 'testcase-*.yaml'
kustomization:
description: 'The kustomization file path'
required: true
waitNamespace:
description: 'waitNamespace'
required: true
waitResource:
description: 'waitResource'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.pattern }}
- ${{ inputs.kustomization }}
- ${{ inputs.waitNamespace }}
- ${{ inputs.waitResource }}