-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mateusz Urbanek <[email protected]>
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
config/jobs/kubernetes-sigs/container-object-storage-interface/cosi-driver-sample.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |