fix(ci): verify Docker persistence inside container

This commit is contained in:
2026-08-12 16:46:35 +08:00
parent d2ea52b903
commit b49d86b67c
Vendored
+3 -3
View File
@@ -173,9 +173,9 @@ pipeline {
./scripts/ci-docker.sh exec "$smoke_name" curl -fsS -H 'Content-Type: application/json' \
--data '{"password":"ImageFind-Smoke-2026!"}' \
http://127.0.0.1:8765/api/v1/auth/login | grep -q 'csrf'
test -s .ci/docker-data/postgresql/PG_VERSION
test -s .ci/docker-data/postgres-client.conf
test -e .ci/docker-data/.imagefind-admin-initialized
./scripts/ci-docker.sh exec "$smoke_name" test -s /data/postgresql/PG_VERSION
./scripts/ci-docker.sh exec "$smoke_name" test -s /data/postgres-client.conf
./scripts/ci-docker.sh exec "$smoke_name" test -e /data/.imagefind-admin-initialized
./scripts/ci-docker.sh rm -f "$smoke_name"
'''
}