Skip to content

SplashtopInc/stp-o11y

Repository files navigation

stp-o11y

Release Helm Charts pages-build-deployment

Use this chart

helm repo add stp-o11y https://SplashtopInc.github.io/stp-o11y/

Normal release

  • Clone this project
    • git clone git@github.com:SplashtopInc/stp-o11y.git
  • Checkout new branch from master branch
    • git checkout -b feat-awesome-branch
  • make some magic 🪄
    • 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
  • Review by DevOps Team
  • After merged , git tag version v?.?.? will trigger workflow release to gh-pages branch
    • git tag v?.?.? && git push origin v?.?.?

Local build chart

git checkout master
helm dependency build --skip-refresh

## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨

Local package chart

## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨

helm package .

Local release chart

git switch gh-pages

git pull origin gh-pages

rm -rf charts

# --url "" is for `index.yaml` do not need complete repo url.
helm repo index --url "" .

git add .

## 🚨 🚨 🚨 only need commit `index.yaml` and `stp-o11y-x.x.x.tgz` 🚨 🚨 🚨
git status

git commit -a -m "release version"

git push origin gh-pages