From 371487a8ef22f667008962f243cacdd4a7e98a23 Mon Sep 17 00:00:00 2001 From: Tomasz Konieczny Date: Tue, 10 Oct 2023 16:23:05 +0200 Subject: [PATCH] tests - curl directory (#4454) --- test/curl/executor-tests/crd/smoke.yaml | 21 +++++++++++++++++++++ test/suites/executor-curl-smoke-tests.yaml | 3 +++ 2 files changed, 24 insertions(+) diff --git a/test/curl/executor-tests/crd/smoke.yaml b/test/curl/executor-tests/crd/smoke.yaml index 043a8c7ce4c..d844258adb6 100644 --- a/test/curl/executor-tests/crd/smoke.yaml +++ b/test/curl/executor-tests/crd/smoke.yaml @@ -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: diff --git a/test/suites/executor-curl-smoke-tests.yaml b/test/suites/executor-curl-smoke-tests.yaml index f15d84cb76b..a74127ac21f 100644 --- a/test/suites/executor-curl-smoke-tests.yaml +++ b/test/suites/executor-curl-smoke-tests.yaml @@ -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