This commit is contained in:
@@ -6,7 +6,9 @@ test_dir=$(mktemp -d)
|
||||
trap 'rm -rf "$test_dir"' EXIT
|
||||
mkdir -p "$test_dir/bin"
|
||||
printf '%s\n' '#!/bin/sh' 'exit 0' > "$test_dir/bin/curl"
|
||||
printf '%s\n' '#!/bin/sh' 'exit 0' > "$test_dir/bin/docker"
|
||||
chmod +x "$test_dir/bin/curl"
|
||||
chmod +x "$test_dir/bin/docker"
|
||||
|
||||
PATH="$test_dir/bin:$PATH" API_HEALTH_URL=http://api.test/health WEB_BASE_URL=http://web.test \
|
||||
PUBLIC_SEARCH_URL=http://web.test/api/v1/public/search sh "$script_dir/smoke-production.sh" >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user