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

fail to push #24

Open
denispeyrusaubes opened this issue Sep 18, 2022 · 6 comments
Open

fail to push #24

denispeyrusaubes opened this issue Sep 18, 2022 · 6 comments

Comments

@denispeyrusaubes
Copy link

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
Copy link
Owner

@denispeyrusaubes do you set required params? CHART_FOLDER especially?

@KrustyHack
Copy link

KrustyHack commented Sep 26, 2022

Ay,

I got same problem : #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
Copy link
Owner

@gasparpn
Copy link
Contributor

@Goodsmileduck I belive #29 solves this one too.

@yalattas
Copy link
Contributor

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
Copy link
Contributor

@yalattas The correct setup for your case is:

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

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

No branches or pull requests

5 participants