aboutsummaryrefslogtreecommitdiff
path: root/.papr.sh
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-12 14:39:44 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-13 21:38:36 +0000
commit40f01d56aba23045d2c5077b2ea4e9f7fdfa3249 (patch)
tree8f8ae39d85a09d15dfc452b9aa5fa1e124ca4f1c /.papr.sh
parent9cc0c8ae143070c4d4ee691cab6a0fd0ebcaa538 (diff)
downloadpodman-40f01d56aba23045d2c5077b2ea4e9f7fdfa3249.tar.gz
podman-40f01d56aba23045d2c5077b2ea4e9f7fdfa3249.tar.bz2
podman-40f01d56aba23045d2c5077b2ea4e9f7fdfa3249.zip
.papr.yml
Add CNI networking packages to our test hosts. Also upgrade to f27 where possible Signed-off-by: baude <bbaude@redhat.com> Closes: #127 Approved by: baude
Diffstat (limited to '.papr.sh')
-rwxr-xr-x.papr.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/.papr.sh b/.papr.sh
index a1e1fe1db..2e2b43f7a 100755
--- a/.papr.sh
+++ b/.papr.sh
@@ -2,7 +2,7 @@
set -xeuo pipefail
DIST=$(cat /etc/redhat-release | awk '{print $1}')
-IMAGE=registry.fedoraproject.org/fedora:26
+IMAGE=registry.fedoraproject.org/fedora:27
PACKAGER=dnf
if [[ ${DIST} != "Fedora" ]]; then
PACKAGER=yum
@@ -10,11 +10,16 @@ if [[ ${DIST} != "Fedora" ]]; then
fi
if test -z "${INSIDE_CONTAINER:-}"; then
+ source /etc/os-release
+
if [ -f /run/ostree-booted ]; then
# by default, the root LV on AH is only 3G, but we need a
- # bit more for our tests
- lvresize -r -L +4G atomicos/root
+ # bit more for our tests. Only do resize on centos and fedora
+ # versions less than 27
+ if [[ "$VERSION_ID" != "27" ]]; then
+ lvresize -r -L +4G atomicos/root
+ fi
if [ ! -e /var/tmp/ostree-unlock-ovl.* ]; then
ostree admin unlock
@@ -24,7 +29,6 @@ if test -z "${INSIDE_CONTAINER:-}"; then
systemctl restart docker
# somewhat mimic the spec conditional
- source /etc/os-release
if [ "$ID" == fedora ]; then
PYTHON=python3
else