Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Jul 7, 2023
1 parent 0834fa5 commit f3ba2b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ jobs:
working-directory: ./examples/collatz
run: |
kubectl wait --for=condition=Available=True --timeout=90s Deployment -l serviceweaver/app_name=collatz
- name: Call the API
run: |
LOAD_BALANCER_NAME=$(kubectl get service -o=go-template \
--template='{{- range .items -}}{{- if eq .spec.type "LoadBalancer" -}}{{ .metadata.name }}{{- end -}}{{- end -}}')
kubectl run -i --rm --restart=Never --image=busybox:latest test-api \
--command wget -- -q -O - http://$(LOAD_BALANCER_NAME)/\?x\=10
- name: Display deployment logs
if: failure()
working-directory: ./examples/collatz
Expand Down

0 comments on commit f3ba2b9

Please sign in to comment.