diff --git a/.github/configs/cr.yaml b/.github/configs/cr.yaml index be7709e..fae098c 100644 --- a/.github/configs/cr.yaml +++ b/.github/configs/cr.yaml @@ -2,7 +2,7 @@ index-path: "./index.yaml" # PGP signing -sign: false +sign: true key: OpenIM Helm maintainers # keyring: # Set via env variable CR_KEYRING # passphrase-file: # Set via env variable CR_PASSPHRASE_FILE diff --git a/.github/workflows/release-test.yaml b/.github/workflows/release-test.yaml new file mode 100644 index 0000000..4aa27c5 --- /dev/null +++ b/.github/workflows/release-test.yaml @@ -0,0 +1,32 @@ +name: Release Charts + +on: + push: + branches: + - main + +jobs: + release: + # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions + # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - 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.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/charts/openim-admin/Chart.yaml b/charts/openim-admin/Chart.yaml index 3c4fedd..49e4275 100644 --- a/charts/openim-admin/Chart.yaml +++ b/charts/openim-admin/Chart.yaml @@ -15,7 +15,7 @@ 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.3 +version: 0.1.4 # 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 diff --git a/charts/openim-chat/Chart.yaml b/charts/openim-chat/Chart.yaml index ac09be9..50f41de 100644 --- a/charts/openim-chat/Chart.yaml +++ b/charts/openim-chat/Chart.yaml @@ -15,7 +15,7 @@ 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.3 +version: 0.1.4 # 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 diff --git a/charts/openim-server/Chart.yaml b/charts/openim-server/Chart.yaml index 7cddeda..4bcd25c 100644 --- a/charts/openim-server/Chart.yaml +++ b/charts/openim-server/Chart.yaml @@ -15,7 +15,7 @@ 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.3 +version: 0.1.4 # 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 diff --git a/charts/openim-web/Chart.yaml b/charts/openim-web/Chart.yaml index 02aa440..44062bd 100644 --- a/charts/openim-web/Chart.yaml +++ b/charts/openim-web/Chart.yaml @@ -15,7 +15,7 @@ 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.3 +version: 0.1.4 # 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 diff --git a/docs/version.md b/docs/version.md index 22a25cb..80462f0 100644 --- a/docs/version.md +++ b/docs/version.md @@ -9,7 +9,7 @@ Unlike traditional software version control that often relies on branch concepts - **Chart.yaml File**: Each chart contains a `Chart.yaml` file in its directory. This file is pivotal for managing the version of each individual chart. It holds the `version` key, which gets updated with every new release. ```yaml -version: 0.1.3 +version: 0.1.4 ``` - **Automated CICD**: Developers don't need to worry about managing branches, tags, or releases manually. These aspects are handled automatically through Continuous Integration and Continuous Deployment (CICD) systems. When a new chart version is pushed to the repository, the CICD pipeline is triggered.