-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update chart testing Signed-off-by: Allison Richardet <[email protected]> * update version to 0.3.0 Signed-off-by: Allison Richardet <[email protected]> --------- Signed-off-by: Allison Richardet <[email protected]>
- Loading branch information
1 parent
89807da
commit dc9e083
Showing
5 changed files
with
28 additions
and
85 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 |
---|---|---|
|
@@ -3,31 +3,35 @@ name: Lint and Test Charts | |
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
env: | ||
CI_VALUES_FILE: ${{ secrets.CI_VALUES_FILE }} | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
k8s: ["1.19.16", "1.21.14", "1.22.9", "1.23.12", "1.24.7", "1.25.2"] | ||
k8s: ["1.25.2", "1.26.15", "1.27.16"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use Repo Secret CI_VALUES_FILE as charts/lucenia/ci/test-values.yaml | ||
run: echo "${{ secrets.CI_VALUES_FILE }}" > charts/lucenia/ci/test-values.yaml | ||
|
||
- name: Install Helm | ||
uses: azure/[email protected] | ||
# as of 2022/12 the set-output still not fixed in this action | ||
# https://github.com/Azure/setup-helm/issues/103 | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.7.0 | ||
version: v3.16.3 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install chart-testing | ||
uses: helm/chart-testing-action@v2.1.0 | ||
uses: helm/chart-testing-action@v2.6.1 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
|
@@ -41,7 +45,7 @@ jobs: | |
run: ct lint --config ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/kind-action@v1.4.0 | ||
uses: helm/kind-action@v1.10.0 | ||
with: | ||
node_image: kindest/node:v${{ matrix.k8s }} | ||
kubectl_version: v${{ matrix.k8s }} | ||
|
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 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,14 @@ | ||
# singleNode is a boolean that determines if the cluster will be created with 1 replica | ||
# Set to true if Lucenia cluster config discovery.type is set to single-node | ||
# If true, the cluster will be created with 1 replica by default | ||
# If false, the cluster will be created the replicaCount number of nodes | ||
singleNode: true | ||
|
||
# config is used to set `lucenia.yml` and other configuration | ||
config: | ||
lucenia.yml: | | ||
cluster.name: lucenia-cluster | ||
# Bind to all interfaces because we don't know what IP address Docker will assign to us. | ||
network.host: 0.0.0.0 | ||
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,4 +1,3 @@ | ||
# See https://github.com/helm/chart-testing#configuration | ||
target-branch: main | ||
helm-extra-args: --timeout 1000s | ||
helm-lint-extra-args: --f 'standard' | ||
debug: true |