github.com/kubeshop/testkube@v1.17.23/test/container-executor/executor-smoke/crd/playwright.yaml (about)

     1  apiVersion: tests.testkube.io/v3
     2  kind: Test
     3  metadata:
     4    name: container-executor-playwright-smoke-args
     5    labels:
     6      core-tests: executors
     7  spec:
     8    type: container-executor-playwright-v1.32.3-args/test
     9    content:
    10      type: git
    11      repository:
    12        type: git
    13        uri: https://github.com/kubeshop/testkube
    14        branch: develop
    15        path: test/playwright/executor-tests/playwright-project
    16        workingDir: test/playwright/executor-tests/playwright-project
    17    executionRequest:
    18      artifactRequest:
    19        storageClassName: standard
    20        volumeMountPath: /data/artifacts
    21        dirs:
    22          - ./
    23      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: 2Gi\n              cpu: 2\n"
    24      activeDeadlineSeconds: 600
    25      preRunScript: "npm ci"
    26      args:
    27        - "tests/smoke2.spec.js"
    28  ---
    29  apiVersion: tests.testkube.io/v3
    30  kind: Test
    31  metadata:
    32    name: container-executor-playwright-smoke
    33    labels:
    34      core-tests: executors
    35  spec:
    36    type: container-executor-playwright-v1.32.3/test
    37    content:
    38      type: git
    39      repository:
    40        type: git
    41        uri: https://github.com/kubeshop/testkube
    42        branch: main
    43        path: test/playwright/executor-tests/playwright-project
    44        workingDir: test/playwright/executor-tests/playwright-project
    45    executionRequest:
    46      artifactRequest:
    47        storageClassName: standard
    48        volumeMountPath: /data/artifacts
    49        dirs:
    50          - ./
    51      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: 2Gi\n              cpu: 2\n"
    52      activeDeadlineSeconds: 600