k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-e2e.yaml (about) 1 # For more information on these tests, see 2 # https://github.com/kubernetes-sigs/hierarchical-namespaces/tree/master/hack/prow-run-e2e.sh. 3 # 4 # When updating this test, please update the periodics (below) in the same way 5 # if applicable. 6 postsubmits: 7 kubernetes-sigs/hierarchical-namespaces: 8 - name: hnc-postsubmit-test 9 cluster: eks-prow-build-cluster 10 annotations: 11 testgrid-dashboards: wg-multi-tenancy-hnc 12 testgrid-tab-name: postsubmit-tests 13 testgrid-alert-email: kubernetes-hnc-dev+alerts@googlegroups.com 14 always_run: false 15 decorate: true 16 decoration_config: 17 timeout: 1h 18 max_concurrency: 5 # No idea what this should be for HNC 19 path_alias: sigs.k8s.io/hierarchical-namespaces 20 run_if_changed: ".*" 21 labels: 22 preset-kind-volume-mounts: "true" 23 preset-dind-enabled: "true" 24 spec: 25 containers: 26 - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master 27 # workdir appears to be the base of the cloned repo 28 command: ["wrapper.sh", "hack/prow-run-e2e.sh"] 29 securityContext: 30 privileged: true # Required for docker-in-docker 31 resources: 32 limits: 33 cpu: 2 34 memory: 4Gi 35 requests: 36 cpu: 2 37 memory: 4Gi 38 39 # The periodics are the same as the postsubmits, but we run them occasionally 40 # to ensure there's no flakiness during periods where there aren't lots of 41 # submissions. Please keep them as closely in sync as possible. 42 periodics: 43 - name: hnc-periodic-test 44 cluster: eks-prow-build-cluster 45 annotations: 46 testgrid-dashboards: wg-multi-tenancy-hnc 47 testgrid-tab-name: periodic-e2e-tests 48 testgrid-alert-email: kubernetes-hnc-dev+alerts@googlegroups.com 49 testgrid-num-failures-to-alert: "1" 50 interval: 24h 51 decorate: true 52 decoration_config: 53 timeout: 1h 54 labels: 55 preset-kind-volume-mounts: "true" 56 preset-dind-enabled: "true" 57 extra_refs: 58 # For periodics, the first repo is the workdir: 59 # https://github.com/kubernetes/test-infra/blob/master/prow/pod-utilities.md#writing-a-prowjob-that-uses-pod-utilities 60 - org: kubernetes-sigs 61 repo: hierarchical-namespaces 62 base_ref: master 63 path_alias: sigs.k8s.io/hierarchical-namespaces 64 spec: 65 containers: 66 - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master 67 command: ["wrapper.sh", "hack/prow-run-e2e.sh"] 68 securityContext: 69 privileged: true # Required for docker-in-docker 70 resources: 71 limits: 72 cpu: 2 73 memory: 4Gi 74 requests: 75 cpu: 2 76 memory: 4Gi