stackstorm-k8s icon indicating copy to clipboard operation
stackstorm-k8s copied to clipboard

Release Automation, CD

Open arm4b opened this issue 7 years ago • 3 comments

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.

arm4b avatar Sep 10 '18 17:09 arm4b

Slightest part of CI story is done via adding Helm & K8s lint checks: https://github.com/StackStorm/stackstorm-enterprise-ha/pull/25

arm4b avatar Oct 01 '18 14:10 arm4b

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

arm4b avatar Apr 21 '20 20:04 arm4b

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

arm4b avatar Jun 01 '21 13:06 arm4b