-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 book: refactor verification #6159
🌱 book: refactor verification #6159
Conversation
/assign @CecileRobertMichon |
/cherry-pick release-1.1 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.1 in a new PR and assign it to 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. |
5ce3e0e
to
89c1809
Compare
For some reason this doesn't seem to work for me with |
What are you running, in which sense doesn't it work? This PR drops the verify target because it never really was a link checker, it just built the book :) Our actual link checker is run as GitHub action (lint-docs.yaml) |
Right - that's what I was missing. I can run |
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.
/lgtm
A nice info, another linkchecker, I wasn't aware of that one :) @CecileRobertMichon What do you think, should we keep that one or remove it too? /hold |
This one is installed in that make target I'm pretty sure |
Here is one thought:
|
In general +1. It just seems like the GitHub action we have works pretty nicely. So I'm not sure if we should built a target which does the same as the GithubAction and then run make as a GithubAction. Maybe we should keep the GitHub action as is and add a target which does the same as the action? (tl;dr I'm not sure if it's worth enforcing to run make in CI as GitHub actions are usually nicely integrated with GitHub, e.g. see the nicely minimal GitHub action config) |
+1 @sbueringer |
Signed-off-by: Stefan Büringer [email protected]
89c1809
to
7cdce7c
Compare
Dropped the other linkchecker too. Ashutosh and I talked somewhere in Slack, the idea would be for now to only have the GitHub action as linkchecker. If there is demand we can always add a new make target to make it locally runnable. But up until now that wasn't really necessary. |
/cc @fabriziopandini |
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.
/lgtm
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
/hold cancel |
@sbueringer: #6159 failed to apply on top of branch "release-1.1":
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. |
manual cherry-pick: #6204 |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
This PR refactors our book verification/build as described in #6141.
The
verify-book-links
target never really verified book links in the sense of checking for broken links.After this PR we have
make book-build
target which is run on PRs as part of the build job.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Implements part of #6141