Log podman build failures in papr

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #875
Approved by: mheon
This commit is contained in:
Matthew Heon
2018-06-01 11:51:54 -04:00
committed by Atomic Bot
parent 727ecfeadf
commit c2e3058b3b
2 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,9 @@ timeout: 45m
tests:
- CONTAINER_RUNTIME="podman" sh .papr_prepare.sh
artifacts:
- build.log
context: "FAH28"
---
@ -36,6 +39,9 @@ timeout: 45m
tests:
- sh .papr_prepare.sh
artifacts:
- build.log
context: "CAH smoketested"

View File

@ -11,7 +11,7 @@ if [[ ${DIST} != "Fedora" ]]; then
fi
# Build the test image
${CONTAINER_RUNTIME} build -t ${IMAGE} -f Dockerfile.${DIST} .
${CONTAINER_RUNTIME} build -t ${IMAGE} -f Dockerfile.${DIST} . 2>build.log
# Run the tests
${CONTAINER_RUNTIME} run --rm --privileged --net=host -v $PWD:/go/src/github.com/projectatomic/libpod --workdir /go/src/github.com/projectatomic/libpod -e PYTHON=$PYTHON -e STORAGE_OPTIONS="--storage-driver=vfs" -e CRIO_ROOT="/go/src/github.com/projectatomic/libpod" -e PODMAN_BINARY="/usr/bin/podman" -e CONMON_BINARY="/usr/libexec/crio/conmon" -e DIST=$DIST $IMAGE sh .papr.sh