jf helm push with build-info fails to set properties on virtual Helm OCI repositories (404)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 595
- Forks
- 307
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 17
Description
Is your feature request related to a problem? Please describe.
Yes. When jf helm push is run against a virtual Helm OCI repository with --build-name and --build-number, the Helm push succeeds, but the post-push build-info step fails to attach build properties and returns 404.
example:
jf helm push my-app-1.2.3.tgz \ oci://artifactory.example.com/helm-virtual \ --build-name my-app-build --build-number 42
Observed behavior:
-
OCI push succeeds.
-
CLI collects build info and resolves artifacts via AQL against helm-virtual.
-
CLI calls the Storage Properties API against the virtual repo key:
PUT /api/storage/helm-virtual/my-app/1.2.3?properties=build.name=...;build.number=... -
Artifactory returns 404 Not Found.
-
CLI logs:
Failed to set build properties on manifest folder: server response: 404 -
Build info is saved locally, but build properties are not attached to the artifacts.
The same command works when pushing directly to a local Helm OCI repo (helm-dev-local, helm-release-local), where the property PUT returns 204.
Describe the solution you'd like to see
When jf helm push is used with build-info flags against a virtual Helm OCI repository, the CLI should resolve the physical local repository before setting build properties — similar to existing behavior already supported in 'jf docker' in the CLI. ( for Docker in jfrog-cli-core PR #1393, which filters virtual-repo layer handling to the default deployment repository when setting build properties. Helm OCI build-info should follow the same principle.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the jf helm push build-info flow described in the issue, then compare how jf docker resolves a virtual repository before setting build properties, including the referenced jfrog-cli-core PR #1393. Reproduce the command against virtual and local Helm OCI repositories; done means the virtual-repository push attaches build properties without a 404 and local-repository behavior still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100