Bump fakeredis from 2.21.3 to 2.24.1 (#670) #1
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 Hypha Helm Chart | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'hypha/VERSION' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'hypha/VERSION' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Kubernetes cluster using KinD | |
uses: helm/[email protected] | |
with: | |
version: v0.20.0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.11.2 | |
- name: Create hypha namespace | |
run: kubectl create namespace hypha | |
- name: Copy .env-template to .env | |
run: cp helm-chart/.env-template helm-chart/.env | |
- name: Apply secrets | |
run: | | |
cd helm-chart | |
chmod +x apply-secrets.sh | |
./apply-secrets.sh | |
- name: Install Hypha Helm chart | |
run: helm install hypha-server ./helm-chart/hypha-server --namespace=hypha | |
# Skip the test for now | |
# - name: Wait for pods to be ready | |
# run: | | |
# kubectl wait --namespace=hypha \ | |
# --for=condition=ready pod \ | |
# --selector=app=hypha-server \ | |
# --timeout=300s | |
# - name: Test the webpage at / | |
# run: | | |
# SERVICE_IP=$(kubectl get svc hypha-server --namespace=hypha -o jsonpath='{.spec.clusterIP}') | |
# curl -f http://$SERVICE_IP:9520/ | |
- name: Uninstall Hypha Helm chart | |
run: helm uninstall hypha-server --namespace=hypha | |
- name: Delete namespace | |
run: kubectl delete namespace hypha |