alephdata / aleph

Search and browse documents and data; find the people and companies you look for.
http://docs.aleph.occrp.org
MIT License
1.99k stars 265 forks source link

Fix end-to-end tests in CI #3746

Closed tillprochaska closed 2 months ago

tillprochaska commented 2 months ago

The docker compose run command doesn’t support the --build-arg argument. Depending on the Docker Compose version installed, using the --build-arg argument would either exit with an error code or simply print the command help.

To achieve the desired outcome, we can first build the image with the build argument, then start the container. This has the additional advantage of separating the build logs from the logs of the actual command execution in the GitHub Actions UI.

Tested these changes: https://github.com/alephdata/aleph/actions/runs/9205541034/job/25321430312