Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

explicitly set project name for tests's docker compose #289

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

remi-dupre
Copy link
Contributor

I've run into an issue with my current setup (on both laptops, so that's most likely an issue with docker-compose 2.2, and not specific to my new installation), tests are able to spawn docker containers but won't be able to find them.

I've filed an issue on lovelysystems/lovely-pytest-docker#27, but in the mean time we can explicitly set the project name in conftest.py. This will also spawn more human readable docker images during tests (idunn_test-mimir_es-1 instead of $HOME/path/to/idunn-mimir_es-1.

@remi-dupre remi-dupre requested a review from sdrll December 2, 2021 12:57
@remi-dupre remi-dupre merged commit cf35f45 into master Dec 3, 2021
@remi-dupre remi-dupre deleted the fix-docker-compose branch December 3, 2021 08:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants