Skip to content

Commit c115e23

Browse files
committed
testing workaround
1 parent 1231550 commit c115e23

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

deps/compose.template

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,12 @@ services:
114114
depends_on:
115115
bootstrapper_l2:
116116
condition: service_completed_successfully
117-
entrypoint: [ "bash", "-c", "mongosh --host mongodb --eval 'load(\"/init.js\")'" ]
117+
entrypoint: entrypoint: [ "bash", "-c", "
118+
echo 'Checking init script...';
119+
ls -l /init.js || echo 'File not found';
120+
cat /init.js || echo 'Cannot read file';
121+
mongosh --host mongodb --eval 'load(\"/init.js\")';
122+
" ]
118123
volumes:
119124
- ./block_zero_workaround.js:/init.js
120125

0 commit comments

Comments
 (0)