Skip to content

Commit

Permalink
test: k8s patch coredns after test cluster creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tcp committed Feb 13, 2024
1 parent cf3ec3e commit 51633f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,9 @@ commands =
k3d cluster create $NODE_NAME -p "$NODE_PORT:80@loadbalancer" --registry-use k3d-registry.localhost || true \
k3d cluster start $NODE_NAME'

# Patches CoreDNS
tox -e dev.k8s.patch.coredns

bash -c 'NODE_NAME=testdomain1 NODE_PORT=9082 && \
cd packages/grid && \
(r=5;while ! \
Expand All @@ -736,9 +739,6 @@ commands =

sleep 30

# Patches CoreDNS
tox -e dev.k8s.patch.coredns

# wait for front end
bash packages/grid/scripts/wait_for.sh service frontend --context k3d-testdomain1 --namespace testdomain1
bash -c '(kubectl logs service/frontend --context k3d-testdomain1 --namespace testdomain1 -f &) | grep -q -E "Network:\s+https?://[a-zA-Z0-9.-]+:[0-9]+/" || true'
Expand Down

0 comments on commit 51633f3

Please sign in to comment.