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

docs: improve contribution guides #361

Merged
merged 5 commits into from
Jan 21, 2025
Merged

docs: improve contribution guides #361

merged 5 commits into from
Jan 21, 2025

Conversation

tiagolobocastro
Copy link
Contributor

Pull Request template

Why is this PR required? What issue does it fix?:
I had a bit of trouble running the tests and getting them to pass recently.
We can improve things.

What this PR does?:
Improves on the existing documentation.
Facilitates testing with a no-frills ready-made vm.

Does this PR require any upgrade changes?:
No

Checklist:

  • Fixes #
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

docs/developer-setup.md Outdated Show resolved Hide resolved
Adds a nixos shell for local testing.
This a headless vm with lvm installed and configured for testing,
as well as being a single node k3s cluster.

Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
Lint contributing doc
Improve development setup guide, including the nixos-shell k3s docs

Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
@tiagolobocastro tiagolobocastro force-pushed the lvm-vm branch 3 times, most recently from a102606 to 5fee227 Compare January 20, 2025 18:12
Use cli arguments to control cleanup rather than using
env variables which are more obscure.

Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
Rather than add static flags and use musl, do the same as zfs
and disable cgo

Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
@tiagolobocastro tiagolobocastro force-pushed the lvm-vm branch 3 times, most recently from bf28ed9 to cfab0cc Compare January 20, 2025 18:58
Add test role label for easier cleanup
Simplify jq command on cleanup
Also improves test duration by using retry loop rather than hardcoded sleep.

Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants