Skip to content

Commit

Permalink
Lint and release helm charts (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKora authored Dec 21, 2022
1 parent 163b1b8 commit bd91266
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/lint-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target-branch: "master"
14 changes: 14 additions & 0 deletions .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Helm lint

on:
push:

jobs:
helm-lint:
runs-on: ubuntu-22.04
steps:
- name: Lint Helm chart
uses: bakdata/ci-templates/actions/[email protected]
with:
lint-config-path: ".github/lint-config.yaml"
ref: ${{ github.ref_name }}
19 changes: 19 additions & 0 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Helm Charts

on:
push:
tags:
- "**"

jobs:
call-workflow-passing-data:
name: Release & Publish Helm chart
uses: bakdata/ci-templates/.github/workflows/[email protected]
with:
charts-path: "./charts"
subdirs: "['producer-app','producer-app-cleanup-job','rclone-copy','streams-app','streams-app-cleanup-job']"
gh-pages-branch: gh-pages
secrets:
github-username: ${{ secrets.GH_USERNAME }}
github-email: ${{ secrets.GH_EMAIL }}
github-token: ${{ secrets.GH_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.*
!.github
!.gitignore
build/
out/
13 changes: 1 addition & 12 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ Collection of commonly used charts associated with bakdata Kafka streaming appli
## Install

```
helm repo add bakdata-common https://raw.githubusercontent.com/bakdata/streams-bootstrap/<branch_name>/charts/
helm repo add bakdata-common https://bakdata.github.io/streams-bootstrap/
helm install bakdata-common/<chart_to_install>
```

## Development

You can add new charts in a separate folder or update existing ones. To update the helm repository please run:

```
cd <your-chart-dir>
helm package .
cd ..
helm repo index .
```

0 comments on commit bd91266

Please sign in to comment.