mirror of
https://github.com/versity/versitygw.git
synced 2026-01-05 11:24:52 +00:00
28 lines
513 B
Bash
Executable File
28 lines
513 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ -z "$VERSITYGW_TEST_ENV" ]] && [[ $BYPASS_ENV_FILE != "true" ]]; then
|
|
echo "Error: VERSITYGW_TEST_ENV parameter must be set, or BYPASS_ENV_FILE must be set to true"
|
|
exit 1
|
|
fi
|
|
|
|
# shellcheck source=./tests/.env.default
|
|
source "$VERSITYGW_TEST_ENV"
|
|
export RECREATE_BUCKETS
|
|
|
|
if ! ./tests/run.sh aws; then
|
|
exit 1
|
|
fi
|
|
if ! ./tests/run.sh s3; then
|
|
exit 1
|
|
fi
|
|
if ! ./tests/run.sh s3cmd; then
|
|
exit 1
|
|
fi
|
|
if ! ./tests/run.sh mc; then
|
|
exit 1
|
|
fi
|
|
if ! ./tests/run.sh user; then
|
|
exit 1
|
|
fi
|
|
exit 0
|