mirror of
https://github.com/containers/podman
synced 2024-10-22 02:03:38 +00:00
773aa61f66
Upstream md2man is working again. We can revert to using it instead of a specific commit id. Also, add make integration.CentOS for testing Signed-off-by: baude <bbaude@redhat.com> Closes: #320 Approved by: rhatdan
17 lines
620 B
Bash
17 lines
620 B
Bash
#!/bin/bash
|
|
set -xeuo pipefail
|
|
|
|
DIST=${DIST:=Fedora}
|
|
IMAGE=fedorapodmanbuild
|
|
PYTHON=python3
|
|
if [[ ${DIST} != "Fedora" ]]; then
|
|
IMAGE=centospodmanbuild
|
|
PYTHON=python
|
|
fi
|
|
|
|
# Build the test image
|
|
docker build -t ${IMAGE} -f Dockerfile.${DIST} .
|
|
|
|
# Run the tests
|
|
docker run --rm --privileged -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
|