This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm chart): updated openebs helm chart to support multiple stor…
…age engine installation (#217) Some components and csi-drivers are added as a dependency. This will enable us to install multiple storage engines using this umbrella chart. openebs-ndm -> https://openebs.github.io/node-disk-manager localpv-provisioner -> https://openebs.github.io/dynamic-localpv-provisioner cstor -> https://openebs.github.io/cstor-operators jiva -> https://openebs.github.io/jiva-operator zfs-localpv -> https://openebs.github.io/zfs-localpv Signed-off-by: Shovan Maity <shovan.cse91@gmail.com>
- Loading branch information
Shovan Maity
authored
May 25, 2021
1 parent
1d6ddf7
commit 0e03830
Showing
3 changed files
with
390 additions
and
41 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 |
---|---|---|
@@ -1,33 +1,60 @@ | ||
name: Lint and Test Charts | ||
name: Chart Lint and Test | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
paths: | ||
- 'charts/openebs/**' | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'charts/openebs/**' | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart-testing (lint) | ||
id: lint | ||
uses: helm/chart-testing-action@v1.0.0-rc.2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
command: lint | ||
config: ct.yaml | ||
python-version: 3.7 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2.0.1 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --config ct.yaml) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/kind-action@v1.0.0-rc.1 | ||
with: | ||
installLocalPathProvisioner: true | ||
# Only build a kind cluster if there are chart changes to test. | ||
if: steps.lint.outputs.changed == 'true' | ||
uses: helm/kind-action@v1.0.0 | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
- name: Add dependency chart repos | ||
run: | | ||
helm repo add openebs-ndm https://openebs.github.io/node-disk-manager | ||
helm repo add openebs-localpv https://openebs.github.io/dynamic-localpv-provisioner | ||
helm repo add openebs-jiva https://openebs.github.io/jiva-operator | ||
helm repo add openebs-cstor https://openebs.github.io/cstor-operators | ||
helm repo add openebs-zfslocalpv https://openebs.github.io/zfs-localpv | ||
helm repo update | ||
- name: Run chart-testing (install) | ||
uses: helm/chart-testing-action@v1.0.0-rc.2 | ||
with: | ||
command: install | ||
config: ct.yaml | ||
run: ct install --config ct.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
Oops, something went wrong.