Skip to content

Commit 6c64670

Browse files
committed
Create chart-testing config file
1 parent b0cfecf commit 6c64670

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Which branch this one will be merged into, i.e. ct will compare the working branch to this one to identify changes
2+
target-branch: master
3+
chart-dirs:
4+
- charts
5+
helm-extra-args: --timeout 600s

.github/workflows/validate-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@ jobs:
4949
- name: Set up chart-testing
5050
uses: helm/[email protected]
5151

52+
- name: Run chart-testing (lint)
53+
run: ct lint --config .github/chart-testing/ct-config.yaml
54+
5255
- name: Validate chart install
53-
run: ct install --chart-dirs $GITHUB_WORKSPACE --charts charts/couchbase-operator
56+
run: ct install --chart-dirs $GITHUB_WORKSPACE --config .github/chart-testing/ct-config.yaml --charts charts/couchbase-operator

tools/chart-testing-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
chart-dirs:
3+
- deploy/helm/charts
4+
helm-extra-args: --timeout 600s
5+
check-version-increment: false

0 commit comments

Comments
 (0)