diff --git a/.cirrus.yml b/.cirrus.yml index dbfb899ff..914ceb72c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -104,7 +104,9 @@ task: setup_script: | ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto - yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core + # Do not fail if latest epel repository definition is already installed + yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm || : + yum install -y dnf-plugins-core yum config-manager --set-enabled powertools yum install -y --allowerasing asciidoc gcc git gnutls-devel libaio-devel libasan libcap-devel libnet-devel libnl3-devel libbsd-devel libselinux-devel make protobuf-c-devel protobuf-devel python3-devel python3-flake8 python3-PyYAML python3-future python3-protobuf python3-junit_xml xmlto alternatives --set python /usr/bin/python3 @@ -133,7 +135,8 @@ task: setup_script: | # EPEL is needed for python2-future, python2-junit_xml, python-flake8 and libbsd-devel. - yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + # Do not fail if latest epel repository definition is already installed + yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm || : ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto yum install -y findutils gcc git gnutls-devel iproute iptables libaio-devel libasan libcap-devel libnet-devel libnl3-devel libbsd-devel make procps-ng protobuf-c-devel protobuf-devel protobuf-python python python-flake8 python-ipaddress python2-future python2-junit_xml python-yaml python-six sudo tar which e2fsprogs python2-pip rubygem-asciidoctor libselinux-devel # Even with selinux in permissive mode the selinux tests will be executed