summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-06-01 11:51:54 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-01 20:39:15 +0000
commitc2e3058b3b35695a134b1dfdb4167632a3c767cf (patch)
tree711cea1a638aa3404b0ab7c3bd4efabc246f9d34
parent727ecfeadf09edef520513513be78d7d93221a3b (diff)
downloadpodman-c2e3058b3b35695a134b1dfdb4167632a3c767cf.tar.gz
podman-c2e3058b3b35695a134b1dfdb4167632a3c767cf.tar.bz2
podman-c2e3058b3b35695a134b1dfdb4167632a3c767cf.zip
Log podman build failures in papr
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #875 Approved by: mheon
-rw-r--r--.papr.yml6
-rw-r--r--.papr_prepare.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/.papr.yml b/.papr.yml
index 5591a8213..e97fb38c1 100644
--- a/.papr.yml
+++ b/.papr.yml
@@ -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"
diff --git a/.papr_prepare.sh b/.papr_prepare.sh
index 6fa8eb84d..24f55c5b1 100644
--- a/.papr_prepare.sh
+++ b/.papr_prepare.sh
@@ -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