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

Initial setup for automatic helm chart generation on release #29

Merged
merged 2 commits into from
May 30, 2024

Conversation

csotiistvan
Copy link
Collaborator

@csotiistvan csotiistvan commented May 30, 2024

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.

@csotiistvan csotiistvan requested a review from tence May 30, 2024 12:20
@csotiistvan csotiistvan added the enhancement New feature or request label May 30, 2024
@tence tence merged commit 1554061 into main May 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants