-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
feat: dont prepare on list #346
Conversation
@yxxhero PTAL, list being slow is really painful for us :( |
@stek29 do you test this on your use case? Thanks very much. |
I think so. please do it. |
@yxxhero I did test it with my use case – our CI pipeline generation stage now runs in under 10 seconds, and it was taking about 5 minutes before, and about 1.5 minutes when running |
@stek29 can we add a option for this logic. example --skip-chart? |
@stek29 Please fix conflic. |
@yxxhero I'll fix the conflict and add a bool flag later today or tomorrow morning (so in next 24h or so) |
This changes list command so it doesn't run withPreparedCharts, and just lists releases instead Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
b0f78db
to
d9ea1ae
Compare
@yxxhero should be ready now. do you track changelog notes anywhere, should I add a note to changelog describing new flag? |
d9ea1ae
to
a40d8dd
Compare
@stek29 yes. Please add describtion for this flag for the next release changelog. |
with-prepared-charts? why not skip-prepared-charts |
@stek29 ping |
how do I do that?
because function is named |
@stek29 skip-charts is better? WDYT? |
@stek29 add changelog describtion in issue describtion. |
@yxxhero but there's no issue - you don't accept issues for feature requests, only discussions |
@stek29 PR describtion is ok. |
8c9ca18
to
7380354
Compare
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
7380354
to
cb780be
Compare
@yxxhero i've fixed linting error, changed flag to |
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
@yxxhero I've also just noticed there was another test for List, in app_test.go I've moved it to app_list_test.go and made it run with and without prepared charts |
@stek29 Thanks very much. |
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
@yxxhero I've changed WithPreparedCharts to SkipCharts in code too |
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.
LGTM
@stek29 Thanks very much. This is a great optimization. |
@stek29 can you create a PR for update https://github.com/helmfile/helmfile/blob/main/docs/index.md#cli-reference. Thanks very much. |
@yxxhero sure, will do any chance to get a release with this mr, btw? |
@stek29 wait for you doc PR. Thanks very much. |
This changes list command so it doesn't run withPreparedCharts, and just lists releases instead.
See discussion #344 for reasoning.
This might break environments which relied on
list
having to build everything - I can add a backwards compatible opt flag if that's an issuechangelog note for this PR
Add
--skip-charts
flag tolist
subcommand, to only list releases without preparing and templating charts for them