Skip to content

Releasing 0.4.0. Overrides previous commit #232

Releasing 0.4.0. Overrides previous commit

Releasing 0.4.0. Overrides previous commit #232

Workflow file for this run

name: Testsuite
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
kind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: azure/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: install
- name: Lint
run: helm lint
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
node_image: kindest/node:v1.21.14
- name: Display cluster settings
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
- name: Testing
run: |
kubectl create namespace helm-test
helm install example-infinispan . -n helm-test --set deploy.replicas=2
kubectl -n helm-test rollout status --watch --timeout=300s statefulset/example-infinispan
helm uninstall example-infinispan -n helm-test
kubectl delete namespace helm-test
- name: Testing TLS
run: |
kubectl create namespace helm-test
kubectl apply -f test/tls_secret.yaml -n helm-test
kubectl apply -f test/transport_tls_secret.yaml -n helm-test
helm install example-infinispan . -n helm-test -f values.yaml -f test/tls_values.snippet.yaml --set deploy.replicas=2
kubectl -n helm-test rollout status --watch --timeout=300s statefulset/example-infinispan
helm uninstall example-infinispan -n helm-test
kubectl delete namespace helm-test