diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..adb7ac4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Release Charts + +on: + push: + branches: + - '**' + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v3 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.5.0 + with: + charts_dir: scalarflow/charts + env: + CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/README.md b/README.md index 6308f6f..53cfa1f 100644 --- a/README.md +++ b/README.md @@ -1 +1,38 @@ -Helm chart for the ScalarFlow project +# Scalar Helm Charts Repository + +[![Release Charts](https://github.com/scalar-labs/scalarflow-helm-charts/actions/workflows/release.yml/badge.svg)](https://github.com/scalar-labs/scalarflow-helm-charts/actions/workflows/release.yml) + + +This directory contains the following helm charts. +* [ScalarFlow API](./scalarflow/charts/api/) +* [ScalarFlow Web](./scalarflow/charts/web/) + + +## Prerequisites + +* Helm 3.5+ + +## Supported Kubernetes versions + +* 1.25.x, 1.24.x, 1.23.x, 1.22.x, 1.21.x + +## Usage + +### Helm + +[Helm](https://helm.sh) must be installed to use the charts. +Please refer to Helm's [documentation](https://helm.sh/docs/) to get started. + +Once Helm is set up properly, add the repo as follows: + +```console +helm repo add scalarflow https://scalar-labs.github.io/scalarflow-helm-charts +``` + +You can then run `helm search repo scalarflow` to see the ScalarFlow charts. +Also, you can see all the versions by `helm search repo scalarflow --versions` command. + + +## Contributing + +This repo is mainly maintained by the Scalar Engineering Team, but of course we appreciate any help. diff --git a/index.yaml b/index.yaml new file mode 100644 index 0000000..e69de29 diff --git a/scalarflow/charts/api/Chart.yaml b/scalarflow/charts/api/Chart.yaml index d1e1df1..0060366 100644 --- a/scalarflow/charts/api/Chart.yaml +++ b/scalarflow/charts/api/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: "1.0.0-beta" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: "1.0.0" diff --git a/scalarflow/charts/web/Chart.yaml b/scalarflow/charts/web/Chart.yaml index 2ba82aa..02b950b 100644 --- a/scalarflow/charts/web/Chart.yaml +++ b/scalarflow/charts/web/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: "1.0.0-beta" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: "1.0.0"