-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adds ci tests Signed-off-by: ChrisJBurns <[email protected]> * fix: adds updated docs Signed-off-by: ChrisJBurns <[email protected]> * fix: versions Signed-off-by: ChrisJBurns <[email protected]> * bumo verison Signed-off-by: ChrisJBurns <[email protected]> * adds more postgres tests Signed-off-by: ChrisJBurns <[email protected]> --------- Signed-off-by: ChrisJBurns <[email protected]>
- Loading branch information
1 parent
47b1bbc
commit 05d9af0
Showing
7 changed files
with
76 additions
and
53 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,55 @@ | ||
name: Test Charts | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
check-readme: | ||
runs-on: ubuntu-latest | ||
env: | ||
GO111MODULE: on | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
|
||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # pin@v3 | ||
with: | ||
go-version: ^1 | ||
|
||
- name: Setup helm-docs | ||
run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest | ||
|
||
- name: Run pre-commit | ||
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # [email protected] | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # [email protected] | ||
with: | ||
version: 3.10.1 | ||
|
||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --config ct.yaml | ||
|
||
- name: Create KIND Cluster | ||
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # [email protected] | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config ct-install.yaml |
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
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
Empty file.
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,8 @@ | ||
postgresql: | ||
enabled: true | ||
|
||
# we enable postgres and allow the subchart to automatically generate the credentials | ||
# that backstage will use | ||
auth: | ||
existingSecret: "" | ||
password: "" |
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,8 @@ | ||
postgresql: | ||
enabled: true | ||
|
||
auth: | ||
existingSecret: "" | ||
# we provide a password for the subchart to use. | ||
# this is just a password for purposes of CI tests | ||
password: "mytestpassword" |