-
Notifications
You must be signed in to change notification settings - Fork 146
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
Import the kubernetes-csi/csi-release-tools subtree. #586
Conversation
@jeremyje: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Welcome @jeremyje! |
Hi @jeremyje. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the content in csi-release-tools is very specific to the way we test csi-sidecars and do sidecar releases, and are not applicable here, such as bringing up a kind cluster for CI, and deploying the hostpath driver.
Will it be confusing if we include those irrelevant parts here? We are mainly interested in the build rules and not much else right?
bringing up a kind cluster is also useful for linux case? I feel csi-release-tool is gives a very organized way for building and releasing part. So we can use this consistently for all csi related components. |
I don't think we can test pd driver in a kind cluster |
I agree reusing the make rules is useful, but I don't know about the rest, like prow.sh and sidecar_release_process |
another option is take the part we need from release-tool repo directly instead of vendering it if possible? |
The csi-release-tools codebase has specific instructions on how to import it into a codebase. https://github.com/kubernetes-csi/csi-release-tools#sharing-and-updating |
I find the flood of commits very distracting as it becomes harder to tell which commits are actually relevant to the driver. We're trying to move towards a model where all the commits imported from csi-release-tools are squashed, but the PR description contains all the commits that were imported |
git-subtree-dir: release-tools git-subtree-split: 60e1cd3
I agree. I checked release tool page again, I think with recent improvement in the tool such as multi-ach build and release, it is very useful and convenient to use. The tool itself seem quite light weight. So vendoring the whole tool seems ok to me. |
This is great! I'll look into this instead. For now I think based on the feedback given here and offline that I'll scale this change back to simply adding the release-tools directory. There's other PRs out for the shellcheck fixes and the |
@msau42 I've changed this PR to simply import the csi-release-tools subtree. The |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeremyje, msau42 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
*/ | ||
|
||
/* | ||
This command filters a JUnit file such that only tests with a name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattcary can you changes to combine the junit files be refactored now that it's actually imported in the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great point. It may be a little complicated as IIRC I made some changes to the junit-filter code which was built only as a command line tool and not a go library. But we should be able to dedup something, maybe by also extending the refactoring to the release tools.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Imports the kubernetes-csi/csi-release-tools repository to align the build with other CSI projects.
This PR simply adds the repository, it does not modify the current
Makefile
, that'll be done in a future PR.Which issue(s) this PR fixes:
#585
Special notes for your reviewer:
I have done limited testing some things are currently broken but that's expected. Notably the e2e tests.
Does this PR introduce a user-facing change?: