Skip to content

Commit 36d6a83

Browse files
committed
WIP
1 parent cee314e commit 36d6a83

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/e2e-self-hosted.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,23 @@ jobs:
202202
working-directory: bitkit-e2e-tests
203203
timeout-minutes: 10
204204
run: |
205-
while ! nc -z '127.0.0.1' 60001; do sleep 1; done
206-
sudo bash -c "while [ ! -f docker/lnd/data/chain/bitcoin/regtest/admin.macaroon ]; do sleep 1; done"
207-
sudo chmod -R 777 docker/lnd
205+
echo "Waiting for Electrum server..."
206+
while ! nc -z '127.0.0.1' 60001; do
207+
echo "Electrum server not ready, waiting..."
208+
sleep 2
209+
done
210+
echo "Electrum server is ready!"
211+
212+
echo "Waiting for LND admin.macaroon..."
213+
while [ ! -f docker/lnd/data/chain/bitcoin/regtest/admin.macaroon ]; do
214+
echo "LND macaroon not ready, waiting..."
215+
sleep 2
216+
done
217+
echo "LND macaroon is ready!"
218+
219+
echo "Setting LND permissions..."
220+
chmod -R 755 docker/lnd
221+
echo "LND setup complete!"
208222
209223
# - name: Setup iOS Simulator
210224
# run: |

0 commit comments

Comments
 (0)