57 - Revert speculative CI changes ahead of runner diagnosis
This commit is contained in:
parent
57fc40a8a9
commit
c945796530
1 changed files with 1 additions and 15 deletions
|
|
@ -14,9 +14,7 @@ jobs:
|
|||
|
||||
services:
|
||||
db:
|
||||
# Fully qualified, matching docker/dev/docker-compose.yml: the runner is
|
||||
# podman-backed and a bare name depends on unqualified-search-registries.
|
||||
image: docker.io/library/mysql:8.0
|
||||
image: mysql:8.0
|
||||
env:
|
||||
MYSQL_DATABASE: testing
|
||||
MYSQL_USER: incr_user
|
||||
|
|
@ -39,18 +37,6 @@ jobs:
|
|||
- name: Prepare environment
|
||||
run: cp .env.testing .env
|
||||
|
||||
# Temporary: db resolves but refuses :3306. Capture what the service
|
||||
# container is actually doing before assuming a cause.
|
||||
- name: Probe the db service
|
||||
continue-on-error: true
|
||||
run: |
|
||||
echo "--- ports responding on db ---"
|
||||
for p in 3306 33060 80; do
|
||||
php -r "\$f=@fsockopen('db',$p,\$n,\$e,2); echo '$p: '.(\$f?'open':\$e).PHP_EOL;"
|
||||
done
|
||||
echo "--- can we reach ourselves? (sanity) ---"
|
||||
php -r '$f=@fsockopen("127.0.0.1",1,$n,$e,1); echo "localhost:1 -> $e".PHP_EOL;'
|
||||
|
||||
- name: Wait for MySQL
|
||||
run: |
|
||||
for i in $(seq 1 30); do
|
||||
|
|
|
|||
Loading…
Reference in a new issue