-
Notifications
You must be signed in to change notification settings - Fork 210
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
Nothing to do. No chart changes detected #36
Comments
If I update my workflow to have
it seems to me that this tool cannot understand a single chart at the top-level of a repo? |
I think the problem is with this action's workflow Lines 186 to 188 in 9723794
I can probably fix this if you would accept a PR to be a bit more flexible about the layout and not assume |
I made some modifications in this fork and now things are getting even weirder:
Hmmm 🤔 |
I am observing a similar problem. I have my chart in |
Nice, I found similar issues with mine. My use case is kind of the same. I am creating a Rancher charts where the directory structures is: I was able to make it work by changing the filter to In @prologic 's case, it failed because the top directory of the charts must stay inside the repo because they filter it by using git diff (not current directory structures). Since your Chart.yml is directly in top directory the function I can make PR for this, but since it is directly specified in the helm docs that the charts structure must be Possible implementation
Can the maintainer comment on this? |
I (to be honest) didn't know this! Q: Would it break/hurt anything to update our repo's structure to match this requirement after the fact now? Would any tooling out there we don't know about |
@prologic yes, if you read the documentations, they are rather specific about this requirements: https://helm.sh/docs/chart_best_practices/conventions/
this requirement is mostly for the tooling to make the tar.gz archive for helm repo deployment (to a webserver or package). I'm not helm maintainer, but I suggest you make the directory structure match if you plan on creating official helm charts for public. |
Attempting to get helm/charts-releaser to detect changes to our charts and publish them. It seems the GHA expects this layout. See discussion: helm/chart-releaser-action#36 And default dir: https://github.com/helm/chart-releaser-action/blob/master/action.yml#L14 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Attempting to get helm/charts-releaser to detect changes to our charts and publish them. It seems the GHA expects this layout. See discussion: helm/chart-releaser-action#36 And default dir: https://github.com/helm/chart-releaser-action/blob/master/action.yml#L14 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Attempting to get helm/charts-releaser to detect changes to our charts and publish them. It seems the GHA expects this layout. See discussion: helm/chart-releaser-action#36 And default dir: https://github.com/helm/chart-releaser-action/blob/master/action.yml#L14 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
So this action simply doesn't work if the chart is in the root of the project? I tried the below resulting in the same "Nothing to do. No chart changes detected" as OP reports
|
In my case the Charts dir had a capital "C". The workflow is somehow case sensitive so I change it to: - name: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.0
with:
charts_dir: Charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
For me, I forgot to set
|
Hi,
I'm having a bit of trouble getting this workflow to work.
You can find my workflow here
Basically when I run this and make some chart changes I end up with:
See sample run
I'm not really sure what I'm doing wrong. The only way I was able ot get this to work was to put things in a directory layout like
charts/<name>/...
but we don't really want to change our helm chart repo structure.Thanks!
The text was updated successfully, but these errors were encountered: