This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Allow to customize cluster and zookeeper timeout settings (#323) #111
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-StartupProbe | |
on: | |
push: | |
pull_request: | |
jobs: | |
test-startup-probee: | |
name: Test NiFi Helm Chart Startup Probe | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Minikube | |
uses: manusa/actions-setup-minikube@v2.7.2 | |
with: | |
minikube version: 'v1.28.0' | |
kubernetes version: 'v1.25.4' | |
github token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y jq | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm repo add dysnix https://dysnix.github.io/charts/ | |
helm repo update | |
helm dep up | |
- name: Install Nifi | |
run: helm install nifi . --set sts.startupProbe.enabled=true | |
- name: Confirm rollout waits until JettyServer starts | |
run: | | |
kubectl rollout status --watch statefulset/nifi --timeout=10m | |
kubectl logs pod/nifi-0 -c app-log | grep 'JettyServer NiFi has started' |