Goodsmileduck / helm-push-action

This action package a helm chart and publish it to your chartmuseum.
10 stars 24 forks source link

fail to push #24

Open denispeyrusaubes opened 2 years ago

denispeyrusaubes commented 2 years ago

I'm using your plugin in order to publish my helm to chart to ChartMuseum

I'e got this problem.

helm-error

It seems that generated chart is not found by the action. Something wrong ?

Thanks for your help

Goodsmileduck commented 2 years ago

@denispeyrusaubes do you set required params? CHART_FOLDER especially?

KrustyHack commented 2 years ago

Ay,

I got same problem : https://github.com/Goodsmileduck/helm-push-action/issues/25

Btw the problem is that my chart ins on a folder named XXX but the chart name is YYY :

+ helm package .
Successfully packaged chart and saved it to: /github/workspace/apps/myapp/infra/helm/myapp-0.1.0.tgz
+ helm cm-push 'apps/myapp/infra/helm-*' *** -u *** -p '***' -f
Goodsmileduck commented 2 years ago

also check example for action in this repo https://github.com/Goodsmileduck/helm-push-action/blob/master/.github/workflows/helm3.yml#L37-L45

gasparpn commented 1 year ago

@Goodsmileduck I belive https://github.com/Goodsmileduck/helm-push-action/pull/29 solves this one too.

yalattas commented 8 months ago

experiencing same issue

usgae

 - name: Upload Charts
        uses: goodsmileduck/helm-push-action@v2
        env:
          CHARTMUSEUM_URL: 'https://charts.company.com'
          CHARTMUSEUM_USER: '${{ secrets.CHARTMUSEUM_USER }}'
          CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }}
          FORCE: 'True'
          SOURCE_DIR: '.'
          CHART_FOLDER: charts/ambassador-crd   # this is coming here dynamically, hence I couldn't use SOURCE_DIR and CHART_FOLDER at the same time. Otherwise, I will have to adjust previous steps

error

Successfully packaged chart and saved it to: /github/workspace/charts/ambassador-crd/ambassador-crd-v2.0.2-pr-3.tgz
No requirements found in /github/workspace/charts/ambassador-crd/charts.
Error: stat charts/ambassador-crd-*: no such file or directory
Error: plugin "push" exited with error
gasparpn commented 7 months ago

@yalattas The correct setup for your case is:

 SOURCE_DIR: './charts/'
 CHART_FOLDER: 'ambassador-crd'