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

🌱 config-gen: command docs no longer depend on local environment #2097

Merged

Conversation

estroz
Copy link
Contributor

@estroz estroz commented Mar 17, 2021

When creating CLI docs using cobra's docs generator,
this doc is generated inconsistently depending on what
environment the command is run. This PR fixes that
problem by using a static path and saying where the
dynamic part comes from.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 17, 2021
@estroz
Copy link
Contributor Author

estroz commented Mar 17, 2021

/cc @pwittrock

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 17, 2021
@estroz estroz added the skip-descriptiveness-check Skip the PR descriptiveness check label Mar 17, 2021
@estroz
Copy link
Contributor Author

estroz commented Mar 17, 2021

Not sure why coverage is falling by so much.

@pwittrock
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 17, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: estroz, pwittrock

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@estroz estroz force-pushed the docs/config-gen-static-cmd-docs branch from c123292 to ea29c0b Compare March 18, 2021 01:36
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 18, 2021
@estroz
Copy link
Contributor Author

estroz commented Mar 18, 2021

Making sure perms work

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 18, 2021
@estroz estroz force-pushed the docs/config-gen-static-cmd-docs branch from ea29c0b to aca589e Compare March 18, 2021 01:45
@estroz estroz force-pushed the docs/config-gen-static-cmd-docs branch from aca589e to f7b0ae3 Compare March 18, 2021 06:40
@estroz
Copy link
Contributor Author

estroz commented Mar 18, 2021

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 18, 2021
@pwittrock
Copy link
Contributor

/lgtm
/retest

+1 I like the checking more.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 18, 2021
@estroz estroz merged commit 646f742 into kubernetes-sigs:master Mar 18, 2021
@estroz estroz deleted the docs/config-gen-static-cmd-docs branch March 18, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. skip-descriptiveness-check Skip the PR descriptiveness check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants