mirror of
https://github.com/containers/podman.git
synced 2025-07-03 17:27:18 +08:00
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:
@ -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"
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user