jf helm package fails to collect build-info when Chart.yaml and packaged chart archive are in different directories.#501
Open
kumadee wants to merge 2 commits into
Open
jf helm package fails to collect build-info when Chart.yaml and packaged chart archive are in different directories.#501kumadee wants to merge 2 commits into
jf helm package fails to collect build-info when Chart.yaml and packaged chart archive are in different directories.#501kumadee wants to merge 2 commits into
Conversation
kumadee
requested review from
a team,
agrasth,
bhanurp,
itsmeleela,
naveenku-jfrog and
udaykb2
July 7, 2026 14:14
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
kumadee
added a commit
to kumadee/jfrog-cli
that referenced
this pull request
Jul 7, 2026
4 tasks
kumadee
added a commit
to kumadee/jfrog-cli
that referenced
this pull request
Jul 10, 2026
kumadee
added a commit
to kumadee/jfrog-cli
that referenced
this pull request
Jul 10, 2026
Collaborator
|
PR's branch is out of sync and all cli integration tests are failing, please fix these first. |
kumadee
added a commit
to kumadee/jfrog-cli
that referenced
this pull request
Jul 16, 2026
…n helm chart archive When `helm package /path/to/chart --destination /tmp/target` is executed, we need to filter out directories which doesn't contain Chart.yaml.
Author
|
I have rebased the PR branch with the default branch. Unit tests are passing on my local. Waiting for the integration tests to be executed on CI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original issue was raised as a part of Jfrog support ticket 426969.
Here is the problem statement:
When
jf helm packagecommand is executed with multiple options contains different paths e.g. chart directory path, chart archive destination path, keyring path and all of these path are different, then the command fails as it expects a Chart.yaml in each of these directories.In the below log the Chart.yaml is in
./target/my-app-chartand themy-app-384-SNAPSHOT.tgzis successfully created in./target/helm. For some reason, the jf cli expects the Chart.yaml to be always in the same directory as the Chart.yaml.Proposed solution: Filter out the different paths given in the
helm package CHART_DIR ....command. There can be only 1 chart directory in the command, which can be checked by the presence ofChart.yaml.