ci: upgrade vagrant and Fedora version

The updates to the latest Vagrant version and from Fedora 32 to 33.

Also using --no-tty instead of > /dev/null for vagrant up.

Also run 'dnf upgrade -y' in out vagrant VM to get the latest kernel.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2021-01-29 19:20:48 +00:00 committed by Andrei Vagin
parent da2c83d871
commit bb2078f368

View file

@ -6,9 +6,9 @@
set -e
set -x
VAGRANT_VERSION=2.2.10
FEDORA_VERSION=32
FEDORA_BOX_VERSION=32.20200422.0
VAGRANT_VERSION=2.2.14
FEDORA_VERSION=33
FEDORA_BOX_VERSION=33.20201019.0
setup() {
if [ -n "$TRAVIS" ]; then
@ -54,9 +54,10 @@ setup() {
rm -f /sbin/ip6tables
cp /bin/true /sbin/ip6tables
fi
vagrant up --provider=libvirt > /dev/null
vagrant up --provider=libvirt --no-tty
mkdir -p /root/.ssh
vagrant ssh-config >> /root/.ssh/config
ssh default sudo dnf upgrade -y
ssh default sudo dnf install -y gcc git gnutls-devel nftables-devel libaio-devel \
libasan libcap-devel libnet-devel libnl3-devel make protobuf-c-devel \
protobuf-devel python3-flake8 python3-future python3-protobuf \