github.imxd.top/openshift/source-to-image@v1.2.0/hack/test-dockerfile.sh (about)

     1  #!/bin/bash
     2  
     3  set -o errexit
     4  set -o nounset
     5  set -o pipefail
     6  
     7  readonly S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
     8  
     9  s2i::cleanup() {
    10    echo
    11    echo "Complete"
    12  }
    13  
    14  trap s2i::cleanup EXIT SIGINT
    15  
    16  echo
    17  echo "Running dockerfile integration tests ..."
    18  echo
    19  
    20  S2I_TIMEOUT="-timeout 600s" "${S2I_ROOT}/hack/test-go.sh" test/integration/dockerfile -v -tags "integration" "${@:1}"