k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/test-infra/test-infra-canaries.yaml (about)

     1  periodics:
     2  - name: ci-test-infra-benchmark-demo
     3    cluster: k8s-infra-prow-build
     4    interval: 24h
     5    decorate: true
     6    extra_refs:
     7    - org: kubernetes
     8      repo: test-infra
     9      base_ref: master
    10      path_alias: k8s.io/test-infra
    11    spec:
    12      containers:
    13      - image: gcr.io/k8s-staging-test-infra/benchmarkjunit:latest
    14        command:
    15        - /benchmarkjunit
    16        args:
    17        - --log-file=$(ARTIFACTS)/benchmark-log.txt
    18        - --output=$(ARTIFACTS)/junit_benchmarks.xml
    19        - --pass-on-error
    20        - ./experiment/dummybenchmarks/...
    21        resources:
    22          limits:
    23            cpu: 2
    24            memory: 4Gi
    25          requests:
    26            cpu: 2
    27            memory: 4Gi
    28    annotations:
    29      testgrid-alert-email: colew@google.com
    30      testgrid-dashboards: sig-testing-canaries
    31      testgrid-tab-name: benchmark-demo
    32      description: Demoing JUnit golang benchmark results.
    33  - interval: 1h
    34    name: ci-test-infra-multiple-container-test
    35    cluster: k8s-infra-prow-build
    36    decorate: true
    37    spec:
    38      containers:
    39      - name: test-1
    40        image: alpine
    41        command: ["/bin/echo"]
    42        args: ["I am first"]
    43        resources:
    44          requests:
    45            memory: "256Mi"
    46            cpu: "500m"
    47          limits:
    48            memory: "256Mi"
    49            cpu: "500m"
    50      - name: test-2
    51        image: alpine
    52        command: ["/bin/sh"]
    53        args:
    54        - -c
    55        - "sleep 60 && echo I && sleep 60 && echo am && sleep 60 && echo second"
    56        resources:
    57          requests:
    58            memory: "256Mi"
    59            cpu: "500m"
    60          limits:
    61            memory: "256Mi"
    62            cpu: "500m"
    63      - name: test-3
    64        image: alpine
    65        command: ["/bin/sh"]
    66        args:
    67        - -c
    68        - "sleep 120 && echo I && sleep 120 && echo am && sleep 120 && echo third"
    69        resources:
    70          requests:
    71            memory: "256Mi"
    72            cpu: "500m"
    73          limits:
    74            memory: "256Mi"
    75            cpu: "500m"
    76    annotations:
    77      testgrid-alert-email: anthonytong@google.com
    78      testgrid-dashboards: sig-testing-canaries
    79      testgrid-tab-name: multiple-container-test
    80      description: echo at different times from three different containers