Initial setup for automatic helm chart generation on release #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added workflow to make the repository into a helm chart repository.
The workflow is set up to run on each release and generate the relevant pages for the new version of each chart.
This will allow simply adding the repository to helm by running:
helm repo add tng-key-distribution https://worldhealthorganization.github.io/tng-key-distribution --username "${GITHUB_TOKEN}" --password "${GITHUB_TOKEN}"
Installing the desired chart:version can be done by simply running
helm install tng-key-distribution/tngkds-backend:1.6.0
As this is a private repository, adding a github token to the requests will be required both locally and while using in a workflow. Public access to only the chart repository (not the code itself) can be enabled here if necessary for testing.
The workflow is using the official helm chart-releaser-action and GitHub pages to release the chart. The branch
gh-pages
is required for this to work.