SharingPlattform UnitTest Infrastruktur wieder zum laufen bringen
Ich habe die SharingPlattform Integrationstests wieder aktiviert.
Das Problem war/ist dass meine Implementierung eines Elastic-Search-Testservers nicht mehr funktioniert hat. Ich habe das deshalb auf testcontainers https://www.testcontainers.org/ umgestellt.
Dadurch braucht aber gitlab CI einen DinD service (siehe .gitlab-ci.yml).
- Unter git.uibk.ac.at scheint das zu funktionieren: https://git.uibk.ac.at/informatik/qe/codeability/austauschplattform/austauschplattform/-/jobs/144954
- auf unserem git-runnern aber nicht :-( https://sharing-codeability.uibk.ac.at/sharing/codeability-sharing-platform/-/jobs/5848
Dort scheitert der gitrunner letztendlich an
ERROR: Job failed (system failure): prepare environment: Error response from daemon: Cannot link to a non running container: /runner-cffzxw1j-project-3-concurrent-0-b2fe273ddb17bd5f-docker-0 AS /runner-cffzxw1j-project-3-concurrent-0-b2fe273ddb17bd5f-predefined-0/docker (exec.go:57:0s). Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
@Lukas: Kannst Du mal eruieren, was da die Unterschiede sind?