From c1f5b33e0105d4bcef97a5b769b00deccb7f09af Mon Sep 17 00:00:00 2001 From: Tomasz Konieczny Date: Mon, 22 May 2023 10:16:20 +0200 Subject: [PATCH] custom container executor - cypress - artifacts (#3868) --- .../executor-smoke/crd/cypress.yaml | 17 ++++++++++++++++- test/executors/container-executor-cypress.yaml | 4 +++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/test/container-executor/executor-smoke/crd/cypress.yaml b/test/container-executor/executor-smoke/crd/cypress.yaml index 5c4a208e1aa..227aa006ba4 100644 --- a/test/container-executor/executor-smoke/crd/cypress.yaml +++ b/test/container-executor/executor-smoke/crd/cypress.yaml @@ -24,6 +24,14 @@ spec: args: - --env - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value + - --config + - '{"screenshotsFolder":"/data/artifacts/screenshots","videosFolder":"/data/artifacts/videos"}' + artifactRequest: + storageClassName: standard + volumeMountPath: /data/artifacts + dirs: + - ./ + --- apiVersion: tests.testkube.io/v3 kind: Test @@ -50,4 +58,11 @@ spec: type: basic args: - --env - - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value \ No newline at end of file + - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value + - --config + - '{"screenshotsFolder":"/data/artifacts/screenshots","videosFolder":"/data/artifacts/videos"}' + artifactRequest: + storageClassName: standard + volumeMountPath: /data/artifacts + dirs: + - ./ \ No newline at end of file diff --git a/test/executors/container-executor-cypress.yaml b/test/executors/container-executor-cypress.yaml index fcb07217819..8e1848e5ce8 100644 --- a/test/executors/container-executor-cypress.yaml +++ b/test/executors/container-executor-cypress.yaml @@ -7,4 +7,6 @@ spec: image: cypress/included:12.7.0 executor_type: container types: - - container-executor-cypress-v12.7.0/test \ No newline at end of file + - container-executor-cypress-v12.7.0/test + features: + - artifacts \ No newline at end of file