Skip to content

Commit

Permalink
tests - curl directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed Oct 10, 2023
1 parent 53f63d2 commit ac4f560
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/curl/executor-tests/crd/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ spec:
---
apiVersion: tests.testkube.io/v3
kind: Test
metadata:
name: curl-executor-smoke-directory
labels:
core-tests: executors
spec:
type: curl/test
content:
type: git
repository:
type: git
uri: https://github.com/kubeshop/testkube.git
branch: main
path: test/curl/executor-tests/
executionRequest:
args:
- "curl-smoke-test.json"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n"
activeDeadlineSeconds: 180
---
apiVersion: tests.testkube.io/v3
kind: Test
metadata:
name: curl-executor-smoke-negative
labels:
Expand Down
3 changes: 3 additions & 0 deletions test/suites/executor-curl-smoke-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ spec:
- stopOnFailure: false
execute:
- test: curl-executor-smoke
- stopOnFailure: false
execute:
- test: curl-executor-smoke-directory
- stopOnFailure: false
execute:
- test: curl-executor-smoke-negative

0 comments on commit ac4f560

Please sign in to comment.