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

added --dev flag to the cli #1094

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Conversation

dannyzaken
Copy link
Contributor

@dannyzaken dannyzaken commented Apr 19, 2023

Explain the changes

  1. added --dev flag to noobaa CLI
  2. same as --mini but with higher resources requests tuned for a dev environment (mainly M1 macs)

Issues: Fixed #xxx / Gap #xxx

  1. Fixes Add a flag for developer resource #1017

Testing Instructions:

  • Doc added/updated
  • Tests added

@dannyzaken dannyzaken requested review from a team, vh05 and liranmauda and removed request for a team April 19, 2023 06:42
Copy link
Contributor

@vh05 vh05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just the comment in wrong place. apart from that lgtm

Copy link
Contributor

@liranmauda liranmauda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dannyzaken Why should we keep the MiniEnv (--mini) flag?

pkg/options/options.go Outdated Show resolved Hide resolved
pkg/options/options.go Outdated Show resolved Hide resolved
pkg/options/options.go Outdated Show resolved Hide resolved
pkg/options/options.go Show resolved Hide resolved
@shirady
Copy link
Contributor

shirady commented Apr 19, 2023

General comment - I think it is an example of why we should run linters (make lint & golangci-lint ) separated from the tests themselves (we could see that it doesn't break anything and we have just a lint error about a comment).

@shirady
Copy link
Contributor

shirady commented Apr 19, 2023

@dannyzaken, would you please add this issue #1017 as fixed in the description?

@dannyzaken
Copy link
Contributor Author

@dannyzaken Why should we keep the MiniEnv (--mini) flag?

it is used by our tests. at first I tried to increase the resources for --mini, but the images in the actions don't have enough resources

pkg/options/options.go Outdated Show resolved Hide resolved
Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@dannyzaken
Copy link
Contributor Author

dannyzaken commented Apr 19, 2023

General comment - I think it is an example of why we should run linters (make lint & golangci-lint ) separated from the tests themselves (we could see that it doesn't break anything and we have just a lint error about a comment).

actually, for the operator we do have a separate action for the linter, but it passed. don't know what are the differences from the makefile one

Edit: actually these are different checks. I agree we should run them as a preliminary check

@dannyzaken dannyzaken merged commit 5bbee99 into noobaa:master Apr 19, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a flag for developer resource
4 participants