Skip to content

Dev

Dev #51

Workflow file for this run

name: Helm
on:
push:
branches:
- main
- master
pull_request: ~
jobs:
helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: KinD (Kubernetes in Docker) Action
uses: helm/[email protected]
- name: Testing
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
- name: kubectl
run: kubectl get pods -A
# - run: sudo apt-get update && sudo apt-get install iptables -y
# - uses: WyriHaximus/github-action-helm3@v2
- name: Install Helmsman
run: 'wget -c https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_linux_amd64.tar.gz -O - | tar -xz -C /usr/local/bin/'
# - run: which helmsman
# - run: ls /usr/local/bin/
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.9.3
# - uses: actions/setup-node@v2
# - uses: actions/setup-python@v2
- name: helm-diff
run: helm plugin install https://github.com/databus23/helm-diff
# - name: install helmsman
# run: 'curl -L https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_linux_amd64.tar.gz | tar zx && mv helmsman /usr/local/bin/helmsman'
# now you can run kubectl to see the pods in the cluster
- name: Add Helm dependency repos
run: |
helm repo add docker-registry https://helm.twun.io
helm repo add minio https://charts.min.io/
helm repo add redis https://charts.bitnami.com/bitnami
- name: update and build Helm dependency repos
run: |
helm dependency update charts/hypha
helm dependency build charts/hypha
- run: helm install --dry-run hypha --debug charts/hypha --dependency-update
- run: helm install hypha --debug charts/hypha
# - run: helm install --debug --generate-name charts/hypha