Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prow: cosi: add COSI Driver Sample and COSI monorepo config #34008

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TODO(retired): should we drop this?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From meeting today, we can drop references to old repos

presubmits:
kubernetes-sigs/container-object-storage-interface-api:
- name: pull-container-object-storage-interface-api-build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TODO(retired): should we drop this?
presubmits:
kubernetes-sigs/container-object-storage-interface-controller:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TODO(retired): should we drop this?
presubmits:
kubernetes-sigs/container-object-storage-interface-provisioner-sidecar:

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
presubmits:
kubernetes-sigs/container-object-storage-interface:
- name: pull-container-object-storage-interface-build
cluster: eks-prow-build-cluster
always_run: true
decorate: true
path_alias: sigs.k8s.io/container-object-storage-interface
annotations:
testgrid-dashboards: sig-storage-container-object-storage-interface
testgrid-tab-name: build
description: Build test in container-object-storage-interface repo.
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master
command:
- runner.sh
args:
- make
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi

- name: pull-container-object-storage-interface-unit
cluster: eks-prow-build-cluster
always_run: true
decorate: true
path_alias: sigs.k8s.io/container-object-storage-interface
annotations:
testgrid-dashboards: sig-storage-container-object-storage-interface
testgrid-tab-name: unit
description: Unit tests in container-object-storage-interface repo.
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master
command:
- runner.sh
args:
- make
- test
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
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
8 changes: 5 additions & 3 deletions config/testgrids/kubernetes/sig-storage/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ dashboards:
- name: sig-storage-csi-other
- name: sig-storage-lib-external-provisioner
- name: sig-storage-image-build
- name: sig-storage-container-object-storage-interface-api
- name: sig-storage-container-object-storage-interface-controller
- name: sig-storage-container-object-storage-interface-provisioner-sidecar
- name: sig-storage-container-object-storage-interface
- name: sig-storage-container-object-storage-interface-api # TODO(retired): should we drop this?
- name: sig-storage-container-object-storage-interface-controller # TODO(retired): should we drop this?
- name: sig-storage-container-object-storage-interface-provisioner-sidecar # TODO(retired): should we drop this?
- name: sig-storage-cosi-driver-sample