Skip to content

Commit

Permalink
custom container executor - cypress - artifacts (#3868)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed May 22, 2023
1 parent bb330fc commit c1f5b33
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 16 additions & 1 deletion test/container-executor/executor-smoke/crd/cypress.yaml
Expand Up @@ -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
Expand All @@ -50,4 +58,11 @@ spec:
type: basic
args:
- --env
- NON_CYPRESS_ENV=NON_CYPRESS_ENV_value
- NON_CYPRESS_ENV=NON_CYPRESS_ENV_value
- --config
- '{"screenshotsFolder":"/data/artifacts/screenshots","videosFolder":"/data/artifacts/videos"}'
artifactRequest:
storageClassName: standard
volumeMountPath: /data/artifacts
dirs:
- ./
4 changes: 3 additions & 1 deletion test/executors/container-executor-cypress.yaml
Expand Up @@ -7,4 +7,6 @@ spec:
image: cypress/included:12.7.0
executor_type: container
types:
- container-executor-cypress-v12.7.0/test
- container-executor-cypress-v12.7.0/test
features:
- artifacts

0 comments on commit c1f5b33

Please sign in to comment.