Skip to content

Commit

Permalink
feat: CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielNathan12 authored Aug 23, 2024
1 parent 817e851 commit 373ca87
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ jobs:
eval $(minikube -p minikube docker-env)
echo "Minikube Docker environment configured"
- name: Install cert-manager
run: |
kubectl apply --validate=false -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.5/cert-manager.crds.yaml
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.12.5
kubectl wait --namespace cert-manager --for=condition=available deployment/cert-manager --timeout=120s
deploy:
runs-on: ubuntu-latest
needs: setup
Expand All @@ -81,6 +73,13 @@ jobs:
kubectl config use-context minikube || echo "No Minikube context found"
kubectl cluster-info
kubectl get nodes
- name: Install cert-manager
run: |
kubectl apply --validate=false -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.5/cert-manager.crds.yaml
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.12.5
kubectl wait --namespace cert-manager --for=condition=available deployment/cert-manager --timeout=120s
- name: Deploy with Helm
run: |
Expand Down

0 comments on commit 373ca87

Please sign in to comment.