github.com/kubeshop/testkube@v1.17.23/test/executors/container-executor-large-artifacts.yaml (about)

     1  apiVersion: executor.testkube.io/v1
     2  kind: Executor
     3  metadata:
     4    name: container-executor-1gb-artifact
     5  spec:
     6    types:
     7      - container-executor-1gb-artifact/test
     8    executor_type: container
     9    image: alpine:3.17.2
    10    command:
    11      - /bin/sh
    12      - -c
    13      - cd /share; mkdir artifacts; cd artifacts; dd if=/dev/zero of=1g.img bs=1 count=0 seek=1G; ls -lah
    14    features:
    15      - artifacts
    16  ---
    17  apiVersion: executor.testkube.io/v1
    18  kind: Executor
    19  metadata:
    20    name: container-executor-1mb-artifact
    21  spec:
    22    types:
    23      - container-executor-1mb-artifact/test
    24    executor_type: container
    25    image: alpine:3.17.2
    26    command:
    27      - /bin/sh
    28      - -c
    29      - cd /share; mkdir artifacts; cd artifacts; dd if=/dev/zero of=1mb.img bs=1024 count=0 seek=1024; ls -lah
    30    features:
    31      - artifacts
    32  ---
    33  apiVersion: executor.testkube.io/v1
    34  kind: Executor
    35  metadata:
    36    name: container-executor-1gb-urandom-artifact
    37  spec:
    38    types:
    39      - container-executor-1gb-urandom-artifact/test
    40    executor_type: container
    41    image: alpine:3.17.2
    42    command:
    43      - /bin/sh
    44      - -c
    45      - cd /share; mkdir artifacts; cd artifacts; dd if=/dev/urandom of=1g.img bs=64M count=16; ls -lah
    46    features:
    47      - artifacts
    48  ---
    49  apiVersion: executor.testkube.io/v1
    50  kind: Executor
    51  metadata:
    52    name: container-executor-1mb-urandom-artifact
    53  spec:
    54    types:
    55      - container-executor-1mb-urandom-artifact/test
    56    executor_type: container
    57    image: alpine:3.17.2
    58    command:
    59      - /bin/sh
    60      - -c
    61      - cd /share; mkdir artifacts; cd artifacts; dd if=/dev/urandom of=1mb.img bs=1024 count=0 seek=1024; ls -lah
    62    features:
    63      - artifacts
    64  ---
    65  apiVersion: executor.testkube.io/v1
    66  kind: Executor
    67  metadata:
    68    name: container-executor-1gb-openssl-artifact
    69  spec:
    70    types:
    71      - container-executor-1gb-openssl-artifact/test
    72    executor_type: container
    73    image: alpine/openssl:latest
    74    command:
    75      - /bin/sh
    76      - -c
    77      - cd /share && mkdir artifacts && cd artifacts && openssl rand -out 1g.txt -base64 $(( 2**30 * 3/4 )) ; ls -lah && echo "File generated - OK"
    78    features:
    79      - artifacts