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

Various local testing improvements #609

Merged
merged 6 commits into from
Jan 8, 2025
Merged

Various local testing improvements #609

merged 6 commits into from
Jan 8, 2025

Conversation

tiagolobocastro
Copy link
Contributor

What this PR does?:
Add cleanup to the ci test.sh
Git Ignore coverage results
Fixup pulled go packages version
Allow running tests without sudo. Tests is invoking the actual zfs
pkg code, which does not use sudo. For now I've duplicated the code
though we probably need to refactor this.
set correct pullPolicy and default namespace
Set the correct helm variable
Default openebs namespace
Ensure make clean works
ci(gha): add missing go env vars
enhance local shell environment
run shellcheck on ci script

Does this PR require any upgrade changes?:

If the changes in this PR are manually verified, list down the scenarios covered::

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

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/website is used to track them:

Set the correct helm variable
Default openebs namespace
Ensure make clean works

Signed-off-by: Tiago Castro <[email protected]>
Add cleanup to the ci test.sh
Git Ignore coverage results
Fixup pulled go packages version
Allow running tests without sudo. Tests is invoking the actual zfs
pkg code, which does not use sudo. For now I've duplicated the code
though we probably need to refactor this.

Signed-off-by: Tiago Castro <[email protected]>
tests/utils.go Show resolved Hide resolved
Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro tiagolobocastro merged commit c239bc7 into develop Jan 8, 2025
6 checks passed
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