From 4e2a83d27375d4b098b302271ea453f2c3c368a3 Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Thu, 19 Dec 2024 10:27:11 +0100 Subject: [PATCH] feat: add COSI Driver Sample config Signed-off-by: Mateusz Urbanek --- .../cosi-driver-sample.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 config/jobs/kubernetes-sigs/container-object-storage-interface/cosi-driver-sample.yaml diff --git a/config/jobs/kubernetes-sigs/container-object-storage-interface/cosi-driver-sample.yaml b/config/jobs/kubernetes-sigs/container-object-storage-interface/cosi-driver-sample.yaml new file mode 100644 index 000000000000..c4ed73f264e9 --- /dev/null +++ b/config/jobs/kubernetes-sigs/container-object-storage-interface/cosi-driver-sample.yaml @@ -0,0 +1,59 @@ +presubmits: + kubernetes-sigs/cosi-driver-sample: + + - name: pull-cosi-driver-sample-build + cluster: eks-prow-build-cluster + always_run: true + decorate: true + path_alias: sigs.k8s.io/cosi-driver-sample + annotations: + testgrid-dashboards: sig-storage-cosi-driver-sample + testgrid-tab-name: build + description: Build test in cosi-driver-sample repo. + labels: + # running a docker-based build requires docker-in-docker (DinD) + preset-dind-enabled: "true" # see config/prow/config.yaml - 'presets' section + spec: + containers: + # specified tags are periodically updated in bulk for all prow jobs + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master + command: + - runner.sh + args: + - bash + - -c + - | + make build + securityContext: + privileged: true # docker-in-docker needs privileged mode + resources: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 2 + memory: 4Gi + + - name: pull-cosi-driver-sample-unit + cluster: eks-prow-build-cluster + always_run: true + decorate: true + path_alias: sigs.k8s.io/cosi-driver-sample + annotations: + testgrid-dashboards: sig-storage-cosi-driver-sample + testgrid-tab-name: unit + description: Unit tests in cosi-driver-sample repo. + spec: + containers: + - image: public.ecr.aws/docker/library/golang:latest + command: + - make + args: + - test + resources: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 2 + memory: 4Gi