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

Update flux build to have parity with other flux commands #798

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Conversation

allenporter
Copy link
Owner

@allenporter allenporter commented Oct 8, 2024

This is a breaking change that updates the format of the flux build command to have parity with get and diff commands.

Example to build a single kustomziation:

$ flux-local build ks apps --path tests/testdata/cluster/

Example to inflate a single helm release:

$ flux-local build hr podinfo -n podinfo --path tests/testdata/cluster

The old behavior flux-local build tests/testdata/cluster/ can still be achieved with build all:

$ flux-local build all tests/testdata/cluster/

Fixes #795

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.40%. Comparing base (e59d232) to head (c08e376).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #798      +/-   ##
==========================================
+ Coverage   93.22%   93.40%   +0.17%     
==========================================
  Files          20       20              
  Lines        2229     2288      +59     
==========================================
+ Hits         2078     2137      +59     
  Misses        151      151              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@allenporter allenporter merged commit 95afdcf into main Oct 8, 2024
39 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.

sources flag also for flux-local build command
2 participants