Skip to content

Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.36.1-20241127180247-a33202765966.1 #119

Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.36.1-20241127180247-a33202765966.1

Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.36.1-20241127180247-a33202765966.1 #119

Workflow file for this run

name: E2E Testing with Kind
on:
workflow_call:
pull_request:
branches: ['main']
jobs:
e2e-test:
name: E2E Test Inventory API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Inventory Up - Kind Cluster
run: make inventory-up-kind
- name: View Test Pod Logs
run: |
TEST_POD=$(kubectl get pods --selector=job-name=e2e-inventory-http-tests -o jsonpath='{.items[0].metadata.name}')
for i in {1..50}; do
STATUS=$(kubectl get pods --selector=job-name=e2e-inventory-http-tests -o jsonpath='{.items[0].status.containerStatuses[0].state.terminated.reason}')
if [ "$STATUS" = "Completed" ]; then
echo "E2E test pod completed successfully."
kubectl logs $TEST_POD
kubectl get pods
kubectl get svc
exit 0
elif [ "$STATUS" = "Error" ]; then
echo "E2E test pod failed."
kubectl logs $TEST_POD
kubectl get pods
exit 1
fi
sleep 3
done
kubectl logs $TEST_POD
- name: Inventory Down - Kind Cluster
run: make inventory-down-kind