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

[all] Common structure for Greenhouse Plugins #400

Open
IvoGoman opened this issue Sep 18, 2024 · 0 comments
Open

[all] Common structure for Greenhouse Plugins #400

IvoGoman opened this issue Sep 18, 2024 · 0 comments

Comments

@IvoGoman
Copy link
Contributor

Priority

(Medium) I'm annoyed but I'll live

Is your feature request related to a problem?

Currently there is no common file structure for Plugins, which requires manually adding each new plugin into the ct.yaml and now also for running the Helm Chart Tests during PRs.
Also there are Dockerfiles for Plugins in the root of the repository, which all need to be registered in the GH actions manually.

This potentially requires touching 3 files when creating a new plugin, which is partially due to having different folder structures and names for different plugins.

Ideally, there is a common file structure for all plugins. Maybe something like:

my-plugin:
  chart:
    templates:
      tests:
    Chart.yaml
  dockerfiles:
    Dockerfile.<image-name>

Which could help automate the CI to run the lint on the chart contained in my-plugin/chart/**
Which could help automate the CI to way run chart tests if the Plugin changed in the PR contains a chart/template/tests folder.
Which could auto-discover all Dockerfiles.<image-name> and build them.

Additional context.

No response

Reference Issues

#389

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

1 participant