From 8da390746932f1a5dac553cb678e81229942d9e5 Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Sun, 7 Apr 2024 14:07:30 +0200 Subject: [PATCH] add pull-hydrophone-namespaced-run job --- .../hydrophone/hydrophone-periodic.yaml | 8 --- .../hydrophone/hydrophone-presubmit.yaml | 49 ++++++++++++++++--- 2 files changed, 41 insertions(+), 16 deletions(-) diff --git a/config/jobs/kubernetes-sigs/hydrophone/hydrophone-periodic.yaml b/config/jobs/kubernetes-sigs/hydrophone/hydrophone-periodic.yaml index 8ab8e20f8310..7de1c1f97b26 100644 --- a/config/jobs/kubernetes-sigs/hydrophone/hydrophone-periodic.yaml +++ b/config/jobs/kubernetes-sigs/hydrophone/hydrophone-periodic.yaml @@ -20,10 +20,6 @@ periodics: command: - runner.sh env: - - name: K8S_VERSION - value: "v1.29.1" - - name: KIND_VERSION - value: "v0.21.0" - name: CONFORMANCE value: "true" - name: EXPECTED_NUM_TESTS @@ -68,10 +64,6 @@ periodics: command: - runner.sh env: - - name: K8S_VERSION - value: "v1.29.1" - - name: KIND_VERSION - value: "v0.21.0" - name: EXTRA_ARGS value: "--parallel=25" - name: SKIP diff --git a/config/jobs/kubernetes-sigs/hydrophone/hydrophone-presubmit.yaml b/config/jobs/kubernetes-sigs/hydrophone/hydrophone-presubmit.yaml index b32a2569f3e8..8a60a7f3318a 100644 --- a/config/jobs/kubernetes-sigs/hydrophone/hydrophone-presubmit.yaml +++ b/config/jobs/kubernetes-sigs/hydrophone/hydrophone-presubmit.yaml @@ -80,10 +80,6 @@ presubmits: command: - runner.sh env: - - name: K8S_VERSION - value: "v1.29.1" - - name: KIND_VERSION - value: "v0.21.0" - name: FOCUS value: "Simple pod should contain last line of the log" - name: DRYRUN @@ -125,10 +121,6 @@ presubmits: command: - runner.sh env: - - name: K8S_VERSION - value: "v1.29.1" - - name: KIND_VERSION - value: "v0.21.0" - name: FOCUS value: "Simple pod should contain last line of the log" - name: CHECK_DURATION @@ -154,3 +146,44 @@ presubmits: annotations: testgrid-dashboards: sig-testing-misc testgrid-tab-name: hydrophone-simple-run + - name: pull-hydrophone-namespaced-run + cluster: eks-prow-build-cluster + always_run: true + decorate: true + path_alias: "sigs.k8s.io/hydrophone" + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240405-68dde9badf-master + command: + - runner.sh + env: + - name: FOCUS + value: "Simple pod should contain last line of the log" + - name: NAMESPACE + value: "e2e" + - name: CHECK_DURATION + value: "true" + - name: EXPECTED_NUM_TESTS + value: "1" # This is the number of specs expected to run. + args: + - bash + - -c + - | + make build + hack/run-e2e.sh + # docker-in-docker needs privileged mode + securityContext: + privileged: true + resources: + requests: + cpu: 2 + memory: 4Gi + limits: + cpu: 2 + memory: 4Gi + annotations: + testgrid-dashboards: sig-testing-misc + testgrid-tab-name: hydrophone-namespaced-run