From 4101474c2f11522e7c91b047e033cad6887aad14 Mon Sep 17 00:00:00 2001
From: Tomas Krizek <tomas.krizek@nic.cz>
Date: Fri, 4 Mar 2022 14:11:16 +0100
Subject: [PATCH] distro/tests: use rocky8 instead of centos8

---
 .gitlab-ci.yml                               | 5 ++---
 distro/tests/{centos8 => rocky8}/Vagrantfile | 4 ++--
 distro/tests/{centos8 => rocky8}/ansible.cfg | 0
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename distro/tests/{centos8 => rocky8}/Vagrantfile (87%)
 rename distro/tests/{centos8 => rocky8}/ansible.cfg (100%)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d78cc2dc7..e0cf5da07 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -632,12 +632,11 @@ obs:build:all:
     when:
       - script_failure
 
-obs:centos8:x86_64:
+obs:rocky8:x86_64:
   <<: *distrotest
-  allow_failure: true
   variables:
     OBS_REPO: knot-resolver-latest
-    DISTROTEST_NAME: centos8
+    DISTROTEST_NAME: rocky8
     DISTROTEST_REPO: CentOS_8_EPEL
 
 obs:debian9:x86_64:
diff --git a/distro/tests/centos8/Vagrantfile b/distro/tests/rocky8/Vagrantfile
similarity index 87%
rename from distro/tests/centos8/Vagrantfile
rename to distro/tests/rocky8/Vagrantfile
index e5b8f01d4..f82c194fb 100644
--- a/distro/tests/centos8/Vagrantfile
+++ b/distro/tests/rocky8/Vagrantfile
@@ -5,10 +5,10 @@
 
 Vagrant.configure(2) do |config|
 
-    config.vm.box = "centos/8"
+    config.vm.box = "generic/rocky8"
     config.vm.synced_folder ".", "/vagrant", disabled: true
 
-    config.vm.define "centos8_knot-resolver"  do |machine|
+    config.vm.define "rocky8_knot-resolver"  do |machine|
         machine.vm.provision "ansible" do |ansible|
             ansible.playbook = "../knot-resolver-pkgtest.yaml"
             ansible.extra_vars = {
diff --git a/distro/tests/centos8/ansible.cfg b/distro/tests/rocky8/ansible.cfg
similarity index 100%
rename from distro/tests/centos8/ansible.cfg
rename to distro/tests/rocky8/ansible.cfg
-- 
GitLab