mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-11-05 06:39:49 +08:00
Fix $PATH when running tests using podman
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
@@ -75,6 +75,7 @@ db_container_name="${db_container_name}-$now"
|
||||
test_container_name="${test_container_name}-$now"
|
||||
|
||||
container_opts=(--rm -v "${volume_mount}" --name "$test_container_name")
|
||||
container_opts+=(-e PATH=/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
|
||||
|
||||
if [ -z "$no_tty" ]; then
|
||||
container_opts+=(-i -t)
|
||||
|
||||
Reference in New Issue
Block a user