buildbarn / bb-deployments

Example deployments of Buildbarn on various platforms
Apache License 2.0
102 stars 70 forks source link

Kubernetes test: wait for 'traefik' to start #146

Closed stagnation closed 2 months ago

stagnation commented 3 months ago

This avoids rare race condition failures.

Use prebuilt protoc toolchain · buildbarn/bb-deployments@a2c16d0 https://github.com/buildbarn/bb-deployments/actions/runs/10471995753/job/29000455997?pr=139

...
++ kubectl get service --namespace=buildbarn frontend -o json
++ jq --raw-output '.status.loadBalancer.ingress[0].ip'
+ bb_frontend_ip=172.20.0.2
+ bb_frontend_address=grpc://172.20.0.2:8980
++ kubectl get service --namespace=kube-system traefik -o json
++ jq --raw-output '.status.loadBalancer.ingress[0].ip'
Error from server (NotFound): services "traefik" not found
...