diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-03-31 05:27:20 +0300 |
---|---|---|
committer | Radostin Stoyanov <rstoyanov@fedoraproject.org> | 2022-08-14 07:46:13 +0300 |
commit | 3019db31a53810a7e3478092847c42d33496558f (patch) | |
tree | 014d3f4ed94f52ccdb965ead38337f76707732d9 | |
parent | 58fa2676369cba21f395c9a89168e3758cb51df9 (diff) |
ci/cirrus: add CentOS Stream 9
Mostly a copy-paste from the CentOS 8 task, with a few differences:
- Use dnf instead of yum
- Enable crb instead of powertools
- Different way of installing EPEL
- No need to switch to python3 as this is the default
- junit_xml is now available as an rpm
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
-rw-r--r-- | .cirrus.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 2b6903ddc..6a5d75149 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -20,6 +20,34 @@ task: make -C scripts/ci vagrant-fedora-no-vdso task: + name: CentOS Stream 9 based test + environment: + HOME: "/root" + CIRRUS_WORKING_DIR: "/tmp/criu" + + compute_engine_instance: + image_project: centos-cloud + image: family/centos-stream-9 + platform: linux + cpu: 4 + memory: 8G + + setup_script: | + ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto + dnf config-manager --set-enabled crb # Same as CentOS 8 powertools + dnf -y install epel-release epel-next-release + dnf -y install --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 python-devel python-PyYAML python-future python-protobuf python-junit_xml python-flake8 xmlto + systemctl stop sssd + # Even with selinux in permissive mode the selinux tests will be executed. + # The Cirrus CI user runs as a service from selinux point of view and is + # much more restricted than a normal shell (system_u:system_r:unconfined_service_t:s0). + # The test case above (vagrant-fedora-no-vdso) should run selinux tests in enforcing mode. + setenforce 0 + + build_script: | + make -C scripts/ci local SKIP_CI_PREP=1 CC=gcc CD_TO_TOP=1 ZDTM_OPTS="-x zdtm/static/socket-raw" + +task: name: Vagrant Fedora Rawhide based test environment: HOME: "/root" |