-
Notifications
You must be signed in to change notification settings - Fork 5
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
[FHIR] added workflow to lint and test charts #37
Conversation
45ffbfc
to
ff91bde
Compare
Signed-off-by: chgl <[email protected]>
ff91bde
to
c916f11
Compare
84e86fb
to
07177cd
Compare
Signed-off-by: chgl <[email protected]>
07177cd
to
c93e2c5
Compare
Because I had forgotten to update the README.md using helm-docs in my original commit, I just added a new job to run pre-commit (and therefore helm-docs) as part of the CI as well. Installation was a bit more involved since the https://github.com/pre-commit/action action is unfortunately deprecated. |
My thoughts:
|
I completely agree, for any production usage, there should be more than 1 replica. But I also think a default of 1 is reasonable. I've added #39 which is helpful in >1 replica scenarios.
Ah I see, thank you! This may be off-topic, but does setting |
Closes #36
Please note that this includes 3 changes which were arguably outside the scope of just adding a new workflow:
I had to reduce the default replicaCount to 1 because the hosted GitHub runners only have 7GiB of RAM by default (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners). Note that alternatively we could specify custom
values.yaml
files to be used by chart-testing if we want to keep the default at 2 replicas (see https://github.com/helm/chart-testing/blob/main/doc/ct_install.md). Or we could remove the resource requests entirely. Or reduce the replica count to 1 by default and remove the resource requests/limits - which is maybe a bit more common among the charts found in the wild.I added the
home
andtype
fields to the Chart.yaml - mostly because the chart-schema.yaml I copy-pasted had them set as required. The former adds aHomepage
to the list of links on artifacthub - which may be nice, the latter is just for completeness sake.I made the helm test job a bit more fault-tolerant by adding retries and increased timeouts. This should help avoiding flaky test behavior - this is related to the server becoming "ready" before the schema job has completed, see Add PostgreSQL as a subchart to simplify out-of-the-box installation #28 (comment)