summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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