tryretool / retool-helm

MIT License
45 stars 57 forks source link

Set up CI action #98

Closed ryanartecona closed 1 year ago

ryanartecona commented 1 year ago

Add a github actions workflow to run some validations in CI.

Screen Shot 2023-05-24 at 4 11 07 PM

This was all heavily based on the setup in datadog's helm-charts repo, which seems to work well. I swapped kubeval for the newer, maintained kubeconform fork. I also copied ci/kubeconform-values.yaml from our reference values.yaml and edited the resources and filled in blank values so it can actually boot up.

To work with the chart-testing tool, we have to move our chart files into charts/<chartname>/. I saw that our support docs assume in some places that the reference values.yaml file lives at the top level of this repo. To avoid having 2 copies that diverge, for now I moved it into charts/retool/values.yaml and made the top level one a symlink pointing there. My thinking is this will keep links and code snippets working for now, and we can move docs references to point at charts/retool/values.yaml later. Open to suggestions on how to handle that better.