Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
# Ensures the exact PR commit is checked out
ref: ${{ github.event.pull_request.head.sha }}

- name: Start minikube
run: minikube start --memory=max --cpus=max --vm-driver=docker --extra-config=apiserver.service-node-port-range=80-32000 --kubernetes-version=v1.28.9
Expand Down Expand Up @@ -62,6 +65,10 @@ jobs:
kubectl -n eda get eda eda-demo -o yaml
kubectl wait --for condition=Successful --timeout=-1s -f .ci/eda_v1alpha1_eda.${{ matrix.SCENARIO }}.ci.yaml

# - name: Wait for the EDA API pod to be ready
# run: |
# kubectl wait --for condition=Ready pod --timeout=-1s -l app.kubernetes.io/component=eda-api

- name: Test EDA API via API k8s service
run: |
kubectl port-forward service/eda-demo-api 8081:8000 &
Expand Down
3 changes: 2 additions & 1 deletion roles/eda/templates/eda-api.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,11 @@ spec:
mountPath: /var/cache/nginx
- name: nginx-run
mountPath: /var/run
restartPolicy: Always

{% if combined_api.resource_requirements is defined %}
resources: {{ combined_api.resource_requirements }}
{% endif %}
restartPolicy: Always
volumes:
{% if not ui_disabled %}
- name: static-files
Expand Down
Loading