chart-testing-action icon indicating copy to clipboard operation
chart-testing-action copied to clipboard

Directory 'charts' is not a valid chart directory. Skipping...

Open Anugrahchaturvedi opened this issue 2 years ago • 3 comments

not getting what the real problem I am getting this message while running the action is.

  • I had created a charts repo that contains all helm charts
  • but when I run wf it gave me this error
  if [[ -n "$changed" ]]; then
    echo "::set-output name=changed::true"
  fi
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/Anugrahchaturvedi/wftest/runs/6401328577?check_suite_focus=true#step:6:3).7.13/x6[4](https://github.com/Anugrahchaturvedi/wftest/runs/6401328577?check_suite_focus=true#step:6:4)
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.13/x64/lib
    CT_CONFIG_DIR: /opt/hostedtoolcache/ct/v3.[5](https://github.com/Anugrahchaturvedi/wftest/runs/6401328577?check_suite_focus=true#step:6:5).1/x8[6](https://github.com/Anugrahchaturvedi/wftest/runs/6401328577?check_suite_focus=true#step:6:6)_64/etc
    VIRTUAL_ENV: /opt/hostedtoolcache/ct/v3.5.1/x[8](https://github.com/Anugrahchaturvedi/wftest/runs/6401328577?check_suite_focus=true#step:6:8)6_64/venv
Directory 'charts' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates' is not a valid chart directory. Skipping...
Directory 'charts/templates/tests' is not a valid chart directory. Skipping...
Directory 'charts' is not a valid chart directory. Skipping...```


so I'm not getting what I am doing wrong , can anyone help?

Anugrahchaturvedi avatar May 12 '22 07:05 Anugrahchaturvedi

looks like you are missing the chart.yaml and maybe the directory structure is not correct. if you point out the repository i can take a look

cpanato avatar Sep 27 '22 12:09 cpanato

@cpanato Is this possible to pass the directory manually as argument ? or the tool can detect it automatically ? e.g. I have directory : charts/selenium-grid edit : It detected automatically. Thanks

amardeep2006 avatar Nov 07 '23 06:11 amardeep2006

may i know is chart.yaml file which this tool looks for in a directory ?

cometta avatar Mar 15 '24 11:03 cometta