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

Helm plugin fails when no sources are found #11

Open
imanushin opened this issue Oct 13, 2023 · 0 comments
Open

Helm plugin fails when no sources are found #11

imanushin opened this issue Oct 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@imanushin
Copy link

imanushin commented Oct 13, 2023

Steps to reproduce:

  1. Create a project
  2. Don't add any sources under src/main/helm
  3. Run helmPackage (actually, or any other helm-specific task).

Expected result:
Plugin fails with error like "no charts are defined and no sources were found under the folder ..."

Actual result:
the following error appears:

A problem was found with the configuration of task ':helmFilterMainChartSources' (type 'HelmFilterSources').
  - In plugin 'com.citi.gradle.plugins.helm.command.HelmDownloadClientPlugin' type 'com.citi.gradle.plugins.helm.tasks.HelmFilterSources' property 'sourceDir' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'sourceDir'.
      2. Mark property 'sourceDir' as optional.
    
    For more information, please refer to https://docs.gradle.org/8.4/userguide/validation_problems.html#value_not_set in the Gradle documentation.
@magner669 magner669 added the enhancement New feature or request label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants