Files
qdrant-helm/.github/workflows/release-workflow.yaml
Bastian Hofmann ed31b29a39 Re-structure git repo and improve qdrant chart (#53)
* Re-structure git repo and improve qdrant chart

This allows us to host multiple helm charts in the future and to use the standard helm/chart-releaser-action and helm/chart-testing-action.

Additional changes:

* Fixed typos in README
* Added helm tests
* Change to use more standard ingress.tls values structure
* Use fixed versioning
* Added chart metadata
* Improve install notes
* Add LICENSE information

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Bump version

* Bump version

* Update Chart.yaml

* Add necessary permissions to flow

* Skip existing helm releases

* Remove Skip existing helm releases

* Update Chart.yaml

* Reset chart version for merge

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Remove BC break in .Values.image.tag

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix change detection for chart-releaser and chart-testing

---------

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-08-21 16:05:00 +02:00

47 lines
1.0 KiB
YAML

name: Release
on:
push:
branches:
- main
jobs:
Release:
name: Release Workflow
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "ghrunnerbot"
git config user.email "cloud-dev@qdrant.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Checkout to gh-pages
uses: actions/checkout@v3
with:
ref: gh-pages
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Generate index.html
run: |
go install github.com/halkeye/helm-repo-html@v0.2.0
/home/runner/go/bin/helm-repo-html
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update index.html"