mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valera V Harseko
19 hours ago 918c09cff5d38128b1b6c22f18811f183a87a042
refs
author Valera V Harseko <vharseko@3a-systems.ru>
Monday, July 6, 2026 09:39 +0200
committer Valera V Harseko <vharseko@3a-systems.ru>
Monday, July 6, 2026 09:39 +0200
commit918c09cff5d38128b1b6c22f18811f183a87a042
tree 1f148ea047e0112565d4d3649446da96aadd7859 tree | zip | gz
parent d410901a08f760f7a199c29d67b30179ccc6da8b view | diff
CI: dump OpenDJ container logs when Docker image smoke tests fail

The build-docker and build-docker-alpine jobs start the packaged image and
probe it over LDAP, but never captured the container's own output. A failed
"Docker test" / "Docker test custom password" step therefore showed only the
client-side LDAP error (e.g. 32 No Such Entry, 81 Server Connection Closed)
with no visibility into run.sh / bootstrap/setup.sh, which run inside the
container and are where base-entry creation and startup actually happen.

Add an ERR trap to each of the four docker test steps that dumps
`docker logs` for the relevant container (test / test_custom) inside a
collapsible group and re-exits with the original status. The step still
fails exactly as before, but now with the container's setup output attached.
1 files modified
4 ■■■■ changed files
.github/workflows/build.yml 4 ●●●● diff | view | raw | blame | history