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

sig-storage: initial config for kubernetes-csi/csi-lib-utils #10309

Merged
merged 1 commit into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions config/jobs/kubernetes-csi/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
approvers:
- msau42
- saad-ali
reviewers:
- pohly
17 changes: 17 additions & 0 deletions config/jobs/kubernetes-csi/csi-lib-utils/csi-lib-utils-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
presubmits:
github.com/kubernetes-csi/csi-lib-utils:
Copy link
Member

@krzyzacy krzyzacy Dec 4, 2018

Choose a reason for hiding this comment

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

ooooops, drop github.com here 😂 (prow key jobs off org/repo pattern)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for debugging it. Fix is in #10340.

- name: pull-sig-storage-csi-lib-utils
always_run: true
decorate: true
skip_report: false
spec:
containers:
# This image was chosen over the more often used kubekins-e2e because
# it is smaller and has everything we need (basically just a Go environment).
- image: gcr.io/k8s-testimages/gcloud-in-go:v20180927-6b4facbe6
Copy link
Member

Choose a reason for hiding this comment

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

if you just need go, you can also choose to use something like golang:1.11.2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was trying to use something that might have been pulled already, i.e. something which is also used by other jobs. Not sure whether that makes sense?

But I agree, now that all of the special logic is handled by the pod-utils, a generic image should work just as well.

Either way, I'd like to get this merged and perhaps it can be tweaked further later on. We have quite a few repos under kubernetes-csi that might benefit from closer integration with Prow, so I expect that we'll come back to this.

Copy link
Member

Choose a reason for hiding this comment

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

You might want to control go versions explicitly - feel free to come back and tune this if you are hitting issues.

command:
- make
args:
- -k # report as many failures as possible (if any) before finally failing
- all # build...
- test # ... and test
3 changes: 3 additions & 0 deletions prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ plugins:
- wip
- yuks

kubernetes-csi/csi-lib-utils:
- trigger

kubernetes-incubator:
- approve
- assign
Expand Down