Skip to content

Commit 31d01e3

Browse files
Test CI and add commented potential fix
1 parent a75099b commit 31d01e3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
kubectl -n eda get eda eda-demo -o yaml
6363
kubectl wait --for condition=Successful --timeout=-1s -f .ci/eda_v1alpha1_eda.${{ matrix.SCENARIO }}.ci.yaml
6464
65+
# - name: Wait for the EDA API pod to be ready
66+
# run: |
67+
# kubectl wait --for condition=Ready pod --timeout=-1s -l app.kubernetes.io/component=eda-api
68+
6569
- name: Test EDA API via API k8s service
6670
run: |
6771
kubectl port-forward service/eda-demo-api 8081:8000 &

roles/eda/templates/eda-api.deployment.yaml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,11 @@ spec:
399399
mountPath: /var/cache/nginx
400400
- name: nginx-run
401401
mountPath: /var/run
402+
restartPolicy: Always
403+
402404
{% if combined_api.resource_requirements is defined %}
403405
resources: {{ combined_api.resource_requirements }}
404406
{% endif %}
405-
restartPolicy: Always
406407
volumes:
407408
{% if not ui_disabled %}
408409
- name: static-files

0 commit comments

Comments
 (0)