Skip to content

Commit

Permalink
feat(docker): set COMPOSE_PROJECT_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
keskiju committed Dec 12, 2024
1 parent 0a7fa5e commit 51c1ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/docker/util-test-50
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if [[ ${taito_env} != "local" ]]; then
if [[ -f "./${docker_compose_test_file}" ]] && \
[[ $(grep "${container_test}" "./${docker_compose_test_file}") ]]; then
docker_compose="true"
compose_cmd="COMPOSE_HTTP_TIMEOUT=90 DOCKER_HOST_PATH=${DOCKER_HOST_PATH:-.} docker compose -f ./${docker_compose_test_file} run --rm ${docker_env_vars} ${container_test} sh -c 'sleep 5 && ${test_executable} SUITE ${test_filter}'"
compose_cmd="COMPOSE_HTTP_TIMEOUT=90 DOCKER_HOST_PATH=${DOCKER_HOST_PATH:-.} COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-} docker compose -f ./${docker_compose_test_file} run --rm ${docker_env_vars} ${container_test} sh -c 'sleep 5 && ${test_executable} SUITE ${test_filter}'"

# On CI mode we might use root user
if [[ ${taito_mode:-} == "ci" ]] && [[ $(whoami) != "taito" ]]; then
Expand Down

0 comments on commit 51c1ec3

Please sign in to comment.