Skip to content

Add GitHub Actions to publish helm chart#257

Merged
mumoshu merged 14 commits intoactions:masterfrom
geek-cookbook:add-ci-workflow
Jan 24, 2021
Merged

Add GitHub Actions to publish helm chart#257
mumoshu merged 14 commits intoactions:masterfrom
geek-cookbook:add-ci-workflow

Conversation

@funkypenguin
Copy link
Copy Markdown
Contributor

Hey @summerwind!

Here's a PR for some GitHub actions I commonly use to test and publish helm charts using GitHub pages. If you create a branch gh-pages, then the action will publish your helm chart at https://summerwind.github.io/action-runner-controller (you can see https://geek-cookbook.github.io/actions-runner-controller for an example)

I've also made a handful of improvements to the helm chart to support kube-score static analysis, and chart linting/publishing via the helm "ct" tool.

Happy to field suggestions / change requests! :)

Cheers!
D

dindSidecarRepositoryAndTag: "docker:dind"
pullPolicy: IfNotPresent

kube_rbac_proxy:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nit but let me change this to kubeRBACProxy (lowerCamelCase) for consistency with other keys 🙏

@mumoshu
Copy link
Copy Markdown
Collaborator

mumoshu commented Jan 24, 2021

@summerwind Could you enable GitHub Pages on this repository? The preferable branch is gh-pages.

image

@summerwind
Copy link
Copy Markdown
Contributor

Enabled with gh-pages branch!

@mumoshu
Copy link
Copy Markdown
Collaborator

mumoshu commented Jan 24, 2021

@summerwind Thanks for quick response ☺️ I'll give it a shot soon!

@mumoshu mumoshu closed this Jan 24, 2021
@mumoshu mumoshu reopened this Jan 24, 2021
Copy link
Copy Markdown
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you so much for your contribution @funkypenguin!

@mumoshu mumoshu merged commit 1127c44 into actions:master Jan 24, 2021
@Puneeth-n
Copy link
Copy Markdown
Contributor

is it working? I am getting an error saying that the index.yaml does not exist.

➜  infra git:(feature/actions) ✗ helm repo add actions https://summerwind.github.io/action-runner-controller
Error: looks like "https://summerwind.github.io/action-runner-controller" is not a valid chart repository or cannot be reached: failed to fetch https://summerwind.github.io/action-runner-controller/index.yaml : 404 Not Found

@funkypenguin
Copy link
Copy Markdown
Contributor Author

funkypenguin commented Jan 26, 2021 via email

@funkypenguin funkypenguin deleted the add-ci-workflow branch January 26, 2021 23:10
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

Successfully merging this pull request may close these issues.

4 participants