-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
k-s-testing/frameworks: Add protection & required checks #6363
k-s-testing/frameworks: Add protection & required checks #6363
Conversation
cc @spiffxp |
@krzyzacy There is no particular reason for travis, except I wanted to have a CI setup and that was the fastest way for me to do so. I have not much idea about prow but would be happy to integrate with that! Is there any docs on how to do so? Can we maybe merge this now (given my PR makes sense and is correct), so we are protected by CI for now, and then follow up on getting prow set up? |
@hoegaarden prow is a CI system runs on k8s, as long as you can write your test as a k8s pod. Your travis job can be easily rewritten as a prow job. I don't think |
Tide requires all status checks to be green before merging a PR so if there is a travis context on the PR it must be passing to merge serially. However, batch merges (where we test multiple PRs at once) are only tested with Prow jobs, so if you want batches to be tested the job will need to be a Prow job. The branch protection section controls which status contexts are marked as "Required" on Github. This only affects users who are allowed to click the merge button (which should be a small set of repo maintainers), but it also has the added benefit of requiring the context even if it hasn't been reported which prevents tide from merging a PR before status contexts have been marked with "Job triggered." |
/ok-to-test I suggested starting with travis first to allow CI to happen w/o going through setting up prow jobs Is explicitly adding the CLA check required? Asking for followup to a PR I've opened on CLA docs kubernetes/community#1649 |
Tide is configured to only merge PRs with the |
I am happy to look into creating a prow job to test our framework. I guess https://github.com/kubernetes/test-infra#create-a-new-job is the place to start from? I will try to dig around and hopefully add our prow job in antother PR. Regarding CLA check: I cannot really tell if the CLA check should be explicitely added or not. I added it because I thought it would be the safer option to do so. |
@hoegaarden the |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hoegaarden, spiffxp The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@hoegaarden: I updated Prow config for you! 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. |
Based on this discussion I'd like to enable travis as a required status check on kubernetes-sig-testing/frameworks.
I am not sure if I got everything right and if explicitly adding the CLA check is really needed.