Commit 2ceba19c authored by Ivan Vandot's avatar Ivan Vandot Committed by GitHub

K3d GitHub actions (#157)

parent 16d8bea6
...@@ -36,6 +36,7 @@ jobs: ...@@ -36,6 +36,7 @@ jobs:
docker push registry.localhost:5000/ethersphere/bee:latest docker push registry.localhost:5000/ethersphere/bee:latest
- name: Set bees - name: Set bees
run: | run: |
export LAST_BEE=$(($REPLICA-1))
until kubectl get svc traefik -n kube-system &> /dev/null; do echo "Waiting for the traefik service..."; sleep 1; done until kubectl get svc traefik -n kube-system &> /dev/null; do echo "Waiting for the traefik service..."; sleep 1; done
helm install bee -f .github/beekeper/bee.yaml ethersphere/bee --namespace bee --set image.repository=registry.localhost:5000/ethersphere/bee --set replicaCount="${REPLICA}" --set bootnode.enabled=true --wait helm install bee -f .github/beekeper/bee.yaml ethersphere/bee --namespace bee --set image.repository=registry.localhost:5000/ethersphere/bee --set replicaCount="${REPLICA}" --set bootnode.enabled=true --wait
until [[ "$(curl -s bee-${LAST_BEE}-debug.localhost/readiness | jq -r .status)" == "ok" ]] &> /dev/null; do echo "Waiting for the last bee..."; sleep 1; done until [[ "$(curl -s bee-${LAST_BEE}-debug.localhost/readiness | jq -r .status)" == "ok" ]] &> /dev/null; do echo "Waiting for the last bee..."; sleep 1; done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment