Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
feat(helm chart): updated openebs helm chart to support multiple stor…
Browse files Browse the repository at this point in the history
…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
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 41 deletions.
63 changes: 45 additions & 18 deletions .github/workflows/lint-test.yaml
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
25 changes: 23 additions & 2 deletions charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 2.9.0
apiVersion: v2
version: 2.9.1
name: openebs
appVersion: 2.9.0
description: Containerized Storage for Containers
Expand All @@ -17,3 +17,24 @@ maintainers:
email: kiran.mova@openebs.io
- name: prateekpandey14
email: prateek.pandey@openebs.io
dependencies:
- name: openebs-ndm
version: "1.4.1"
repository: "https://openebs.github.io/node-disk-manager"
condition: openebs-ndm.enabled
- name: localpv-provisioner
version: "2.9.0"
repository: "https://openebs.github.io/dynamic-localpv-provisioner"
condition: localpv-provisioner.enabled
- name: cstor
version: "2.9.0"
repository: "https://openebs.github.io/cstor-operators"
condition: cstor.enabled
- name: jiva
version: "2.9.0"
repository: "https://openebs.github.io/jiva-operator"
condition: jiva.enabled
- name: zfs-localpv
version: "1.7.0"
repository: "https://openebs.github.io/zfs-localpv"
condition: zfs-localpv.enabled
Loading

0 comments on commit 0e03830

Please sign in to comment.