1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 03:45:02 +01:00
Files
source-to-image/hack/test-dockerfile.sh

21 lines
372 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
readonly S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
s2i::cleanup() {
echo
echo "Complete"
}
trap s2i::cleanup EXIT SIGINT
echo
echo "Running dockerfile integration tests ..."
echo
S2I_BUILD_TAGS="integration" S2I_TIMEOUT="-timeout 600s" "${S2I_ROOT}/hack/test-go.sh" test/integration/dockerfile -v "${@:1}"