stackstorm-k8s
stackstorm-k8s copied to clipboard
Release Automation, CD
https://github.com/stackstorm/stackstorm-enterprise-ha/tree/gh-pages branch was taken to serve chart archives and index metadata via Github pages. See https://github.com/helm/helm/blob/master/docs/chart_repository.md#github-pages-example for more info how it was configured and CNAMEd as https://helm.stackstorm.com/ repo.
Currently it's all done manually as a temporary/fast way to deliver charts via https://helm.stackstorm.com/
The task here is to automate the CI/CD process with CircleCI. So every Github Release (initiated by engineer) will generate the Helm chart metadata in gh-pages.
Possibly look at https://github.com/sstarcher/helm-release for automating versioning based on git tags.
Slightest part of CI story is done via adding Helm & K8s lint checks: https://github.com/StackStorm/stackstorm-enterprise-ha/pull/25
TODO:
Automate the Helm chart deployment for every release release to Github pages via https://github.com/jupyterhub/chartpress
This is currently done manually.
Example: https://github.com/opsdroid/helm-chart/blob/25ffce4a0125823b92eca7f3e3415106d1d808c2/ci/deploy.sh#L17
This might be helpful too for further integration:
- https://github.com/helm/chart-releaser
- https://circleci.com/blog/deploying-documentation-to-github-pages-with-continuous-integration/
- https://circleci.com/developer/orbs/orb/pennlabs/helm-tools