-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from getditto/kafka-no-prune
Add chart-testing workflow
- Loading branch information
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: chart-workflow | ||
|
||
on: | ||
workflow_call: | ||
pull_request: | ||
|
||
jobs: | ||
chart-testing: | ||
runs-on: [ubuntu-latest] | ||
container: | ||
image: quay.io/helmpack/chart-testing:v3.11.0 | ||
options: --user 1001 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
helm plugin install https://github.com/helm-unittest/helm-unittest.git | ||
- name: Run Helm Chart Testing | ||
run: | | ||
ct lint 2>&1 | tee chart-testing-output-ct-lint.txt | ||
- uses: mshick/add-pr-comment@v2 | ||
with: | ||
preformatted: true | ||
message-id: "${{ github.event.number }}" | ||
message-path: chart-testing-output-*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
apiVersion: v2 | ||
description: Setup a Kafka cluster | ||
description: Setup a Kafka cluster using Strimzi operator | ||
name: kafka | ||
version: 0.3.0 | ||
version: 0.3.1 | ||
type: application | ||
dependencies: [] | ||
keywords: | ||
- ditto | ||
- bigpeer | ||
- kafka | ||
- strimzi | ||
sources: | ||
- https://github.com/getditto/ditto-helm | ||
maintainers: | ||
- name: getditto | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
remote: origin | ||
target-branch: main | ||
exclude-deprecated: true | ||
chart-dirs: | ||
- charts | ||
|
||
helm-extra-args: --timeout 600s | ||
validate-maintainers: false | ||
additional-commands: | ||
- "helm unittest -f \"tests/*.yaml\" {{ .Path }}" |