Skip to content

Commit

Permalink
feat: add COSI Driver Sample config
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Dec 19, 2024
1 parent 9ab802c commit 4e2a83d
Showing 1 changed file with 59 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4e2a83d

Please sign in to comment.