Skip to content

Commit

Permalink
WIP add minikube testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartdohmann committed Oct 22, 2024
1 parent 9f08e8d commit 94f3ca4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,50 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --validate-maintainers=false --charts charts/vaas

- name: Install Minikube
uses: manusa/[email protected]
with:
minikube version: 'latest'
kubernetes version: 'latest'
start args: --addons ingress

- name: Set up kubectl
uses: azure/setup-kubectl@v3
with:
version: 'latest'

- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.13.3

- name: Deploy Helm Chart
run: |
cat <<EOF > values-local.yaml
global:
imagePullSecrets:
- registry
secret:
dockerconfigjson: "${{ secrets.DOCKER_CONFIG_JSON }}"
cloud:
hashLookup:
enabled: false
allowlistLookup:
enabled: false
EOF
helm.sh values-local.yaml
- name: Verify Pods
run: |
kubectl get pods
kubectl wait --for=condition=ready pod -n vaas --timeout=300s --all
- name: Verify Services
run: |
kubectl get svc
kubectl wait --for=condition=ready svc -n vaas --timeout=300s --all
- name: Push chart
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: appany/[email protected]
Expand Down

0 comments on commit 94f3ca4

Please sign in to comment.