release/0.4.0 #60
1 changed files with 12 additions and 0 deletions
|
|
@ -37,6 +37,18 @@ jobs:
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: cp .env.testing .env
|
run: cp .env.testing .env
|
||||||
|
|
||||||
|
# Temporary: MySQL is unreachable at db:3306 under the prebuilt image,
|
||||||
|
# though the identical service block worked on catthehacker/ubuntu.
|
||||||
|
- name: Diagnose service networking
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
|
echo "--- /etc/hosts ---"; cat /etc/hosts || true
|
||||||
|
echo "--- /etc/resolv.conf ---"; cat /etc/resolv.conf || true
|
||||||
|
echo "--- php resolves db ---"; php -r 'var_dump(gethostbyname("db"));' || true
|
||||||
|
echo "--- php connect ---"; php -r '$e=null;$f=@fsockopen("db",3306,$n,$e,3);echo $f?"open\n":"fail: $e\n";' || true
|
||||||
|
echo "--- hostname/ip ---"; hostname -i 2>/dev/null || true
|
||||||
|
echo "--- env ---"; env | sort | grep -iE "host|service|port" || true
|
||||||
|
|
||||||
- name: Wait for MySQL
|
- name: Wait for MySQL
|
||||||
run: |
|
run: |
|
||||||
for i in $(seq 1 30); do
|
for i in $(seq 1 30); do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue