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
Regenerate docs (if necessary) during cherry-pick operations. #46993
Conversation
LGTM |
/retest |
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this |
1 similar comment
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this |
@kubernetes/test-infra-maintainers what am I missing here? The logs seem to indicate a flake. I can't imagine what from this change is causing any test failures. |
maybe #47135 |
@pwittrock Does this belong in the v1.7 milestone? |
Looks good, but I don't know much about generate docs state, or if we even still need it. |
/assign @steveperry-53 |
/unassign |
/retest |
1 similar comment
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: david-mcmahon, pwittrock Associated issue: 44533 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 |
Automatic merge from submit-queue |
if ! hack/generate-docs.sh; then | ||
echo | ||
echo "hack/generate-docs.sh FAILED to complete." | ||
exit 1 |
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.
this makes the cherry-pick script unnecessarily slow (for most changes which do not require docs updates) and fragile (on failure, it does not enter a retry loop like the conflict case above). I'd rather see this be opt-in.
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.
this also breaks cherry-picks to 1.6 and leaves them with lots of uncommitted generated docs in the working dir
This change ensures that cherrypicks are coupled with any related doc generation required.
closes #44533