File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1717jobs :
1818 deploy-infrastructure :
1919 runs-on : ubuntu-latest
20+ timeout-minutes : 30 # Add timeout to prevent infinite runs
2021 steps :
2122 - uses : actions/checkout@v3
22-
23- - name : Set up Python
24- uses : actions/setup-python@v4
25- with :
26- python-version : ' 3.13'
2723
2824 - name : Azure Login
2925 uses : azure/login@v2
4036 cd infra/azure
4137 terraform init
4238
39+ - name : Terraform Plan
40+ run : |
41+ cd infra/azure
42+ terraform plan -var="environment=${{ env.ENVIRONMENT }}" \
43+ -var="memgraph_username=${{ secrets.MEMGRAPH_USERNAME }}" \
44+ -var="memgraph_password=${{ secrets.MEMGRAPH_PASSWORD }}" \
45+ -var="subscription_id=${{ secrets.AZURE_SUBSCRIPTION_ID }}"
46+
4347 - name : Terraform Apply
4448 run : |
4549 cd infra/azure
6973 run : |
7074 kubectl get pods
7175 kubectl get services
72-
73- - name : Run Tests
74- run : |
75- source .venv/bin/activate
76- pytest tests/ --cov=src
76+ kubectl wait --for=condition=ready pod -l app=memgraph --timeout=5m
You can’t perform that action at this time.
0 commit comments