.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
This commit is contained in:
parent
9cc0c8ae14
commit
40f01d56ab
12
.papr.sh
12
.papr.sh
|
|
@ -2,7 +2,7 @@
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
DIST=$(cat /etc/redhat-release | awk '{print $1}')
|
DIST=$(cat /etc/redhat-release | awk '{print $1}')
|
||||||
IMAGE=registry.fedoraproject.org/fedora:26
|
IMAGE=registry.fedoraproject.org/fedora:27
|
||||||
PACKAGER=dnf
|
PACKAGER=dnf
|
||||||
if [[ ${DIST} != "Fedora" ]]; then
|
if [[ ${DIST} != "Fedora" ]]; then
|
||||||
PACKAGER=yum
|
PACKAGER=yum
|
||||||
|
|
@ -10,11 +10,16 @@ if [[ ${DIST} != "Fedora" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "${INSIDE_CONTAINER:-}"; then
|
if test -z "${INSIDE_CONTAINER:-}"; then
|
||||||
|
source /etc/os-release
|
||||||
|
|
||||||
if [ -f /run/ostree-booted ]; then
|
if [ -f /run/ostree-booted ]; then
|
||||||
|
|
||||||
# by default, the root LV on AH is only 3G, but we need a
|
# by default, the root LV on AH is only 3G, but we need a
|
||||||
# bit more for our tests
|
# bit more for our tests. Only do resize on centos and fedora
|
||||||
lvresize -r -L +4G atomicos/root
|
# versions less than 27
|
||||||
|
if [[ "$VERSION_ID" != "27" ]]; then
|
||||||
|
lvresize -r -L +4G atomicos/root
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -e /var/tmp/ostree-unlock-ovl.* ]; then
|
if [ ! -e /var/tmp/ostree-unlock-ovl.* ]; then
|
||||||
ostree admin unlock
|
ostree admin unlock
|
||||||
|
|
@ -24,7 +29,6 @@ if test -z "${INSIDE_CONTAINER:-}"; then
|
||||||
systemctl restart docker
|
systemctl restart docker
|
||||||
|
|
||||||
# somewhat mimic the spec conditional
|
# somewhat mimic the spec conditional
|
||||||
source /etc/os-release
|
|
||||||
if [ "$ID" == fedora ]; then
|
if [ "$ID" == fedora ]; then
|
||||||
PYTHON=python3
|
PYTHON=python3
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,11 @@ branches:
|
||||||
- try
|
- try
|
||||||
|
|
||||||
host:
|
host:
|
||||||
distro: fedora/26/atomic
|
distro: fedora/27/atomic
|
||||||
specs:
|
specs:
|
||||||
ram: 8192
|
ram: 8192
|
||||||
|
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
timeout: 45m
|
timeout: 45m
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
|
|
@ -17,6 +16,7 @@ tests:
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- bats
|
- bats
|
||||||
|
- containernetworking-cni
|
||||||
---
|
---
|
||||||
|
|
||||||
inherit: true
|
inherit: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue