]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/distrotests: add fedora35, ubuntu2110 obs-knot-resolver-bs4hbr/deployments/1919
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 8 Nov 2021 15:07:26 +0000 (16:07 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 8 Nov 2021 15:07:51 +0000 (16:07 +0100)
.gitlab-ci.yml
ci/pkgtest.yaml
distro/tests/fedora35/Vagrantfile [moved from distro/tests/fedora33/Vagrantfile with 86% similarity]
distro/tests/fedora35/ansible.cfg [moved from distro/tests/fedora33/ansible.cfg with 100% similarity]
distro/tests/ubuntu2110/Vagrantfile [moved from distro/tests/ubuntu2104/Vagrantfile with 78% similarity]
distro/tests/ubuntu2110/ansible.cfg [moved from distro/tests/ubuntu2104/ansible.cfg with 100% similarity]

index 8ccedbc1220be5e929972da1812cf1fc0a89a6fa..cb0700ac124c6b9286b14e3440aee428534da40b 100644 (file)
@@ -639,19 +639,19 @@ obs:debian11:x86_64:
     DISTROTEST_NAME: debian11
     DISTROTEST_REPO: Debian_11
 
-obs:fedora33:x86_64:
+obs:fedora34:x86_64:
   <<: *distrotest
   variables:
     OBS_REPO: knot-resolver-latest
-    DISTROTEST_NAME: fedora33
-    DISTROTEST_REPO: Fedora_33
+    DISTROTEST_NAME: fedora34
+    DISTROTEST_REPO: Fedora_34
 
-obs:fedora34:x86_64:
+obs:fedora35:x86_64:
   <<: *distrotest
   variables:
     OBS_REPO: knot-resolver-latest
-    DISTROTEST_NAME: fedora34
-    DISTROTEST_REPO: Fedora_34
+    DISTROTEST_NAME: fedora35
+    DISTROTEST_REPO: Fedora_35
 
 obs:leap15:x86_64:
   <<: *distrotest
@@ -678,12 +678,12 @@ obs:ubuntu2004:x86_64:
     DISTROTEST_NAME: ubuntu2004
     DISTROTEST_REPO: xUbuntu_20.04
 
-obs:ubuntu2104:x86_64:
+obs:ubuntu2110:x86_64:
   <<: *distrotest
   variables:
     OBS_REPO: knot-resolver-latest
-    DISTROTEST_NAME: ubuntu2104
-    DISTROTEST_REPO: xUbuntu_21.04
+    DISTROTEST_NAME: ubuntu2110
+    DISTROTEST_REPO: xUbuntu_21.10
 
 .packagingtest: &packagingtest
   stage: pkgtest
index 3854a3da3400b68e9af37ed7233c4f377fdaf4f2..6efcc0271914269f86c28b77ba9f0d3d4519157a 100644 (file)
@@ -75,16 +75,16 @@ debian-11:pkgbuild:
   script:
     - *debpkgbuild
 
-fedora-33:pkgbuild:
+fedora-34:pkgbuild:
   <<: *pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-33
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
   script:
     - dnf install -y rpm-build python3-pip
     - *apkgbuild
 
-fedora-34:pkgbuild:
+fedora-35:pkgbuild:
   <<: *pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-35
   script:
     - dnf install -y rpm-build python3-pip
     - *apkgbuild
@@ -131,12 +131,12 @@ ubuntu-20.04:pkgbuild:
   script:
     - *debpkgbuild
 
-ubuntu-21.04:pkgbuild:
+ubuntu-21.10:pkgbuild:
   <<: *pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/ubuntu-21.04
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/ubuntu-21.10
   variables:
     OBS_REPO: knot-resolver-build
-    DISTROTEST_REPO: xUbuntu_21.04
+    DISTROTEST_REPO: xUbuntu_21.10
   script:
     - *debpkgbuild
 
@@ -221,22 +221,22 @@ debian-11:pkgtest:
   script:
     - *debpkgtest
 
-fedora-33:pkgtest:
+fedora-34:pkgtest:
   <<: *pkgtest
   needs:
-    - fedora-33:pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-33
+    - fedora-34:pkgbuild
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
   script:
     - dnf install -y knot-utils findutils
     - dnf install -y $(find ./pkg/pkgs -name '*.rpm' | grep -v module | grep -v debug | grep -v devel)
     - systemctl start kresd@1
     - kdig @127.0.0.1 nic.cz | grep -qi NOERROR
 
-fedora-34:pkgtest:
+fedora-35:pkgtest:
   <<: *pkgtest
   needs:
-    - fedora-34:pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
+    - fedora-35:pkgbuild
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-35
   script:
     - dnf install -y knot-utils findutils
     - dnf install -y $(find ./pkg/pkgs -name '*.rpm' | grep -v module | grep -v debug | grep -v devel)
@@ -301,14 +301,14 @@ ubuntu-20.04:pkgtest:
   script:
     - *debpkgtest
 
-ubuntu-21.04:pkgtest:
+ubuntu-21.10:pkgtest:
   <<: *pkgtest
   needs:
-    - ubuntu-21.04:pkgbuild
-  image: $CI_REGISTRY/labs/lxc-gitlab-runner/ubuntu-21.04
+    - ubuntu-21.10:pkgbuild
+  image: $CI_REGISTRY/labs/lxc-gitlab-runner/ubuntu-21.10
   variables:
     OBS_REPO: knot-resolver-build
-    DISTROTEST_REPO: xUbuntu_21.04
+    DISTROTEST_REPO: xUbuntu_21.10
   script:
     - *debpkgtest
 # }}}
similarity index 86%
rename from distro/tests/fedora33/Vagrantfile
rename to distro/tests/fedora35/Vagrantfile
index 7971439005448234f702fb281db1618d0a10b132..1fe18eccf8ed3e1d82736e7128c566940d1983ca 100644 (file)
@@ -5,10 +5,10 @@
 
 Vagrant.configure(2) do |config|
 
-    config.vm.box = "fedora/33-cloud-base"
+    config.vm.box = "fedora/35-cloud-base"
     config.vm.synced_folder ".", "/vagrant", disabled: true
 
-    config.vm.define "fedora33_knot-resolver"  do |machine|
+    config.vm.define "fedora35_knot-resolver"  do |machine|
         machine.vm.provision "ansible" do |ansible|
             ansible.playbook = "../knot-resolver-pkgtest.yaml"
             ansible.extra_vars = {
similarity index 78%
rename from distro/tests/ubuntu2104/Vagrantfile
rename to distro/tests/ubuntu2110/Vagrantfile
index fef50758e6b381105ee16f13a031ca1956f99f9f..441db271178ecb73b584f8a69bb03fd1ec3a9d44 100644 (file)
@@ -5,11 +5,10 @@
 
 Vagrant.configure(2) do |config|
 
-    # TODO: switch to generic/ubuntu2104 when available (has libvirt box)
-    config.vm.box = "ubuntu/hirsute64"
+    config.vm.box = "generic/ubuntu2110"
     config.vm.synced_folder ".", "/vagrant", disabled: true
 
-    config.vm.define "ubuntu2104_knot-resolver"  do |machine|
+    config.vm.define "ubuntu2110_knot-resolver"  do |machine|
         machine.vm.provision "ansible" do |ansible|
             ansible.playbook = "../knot-resolver-pkgtest.yaml"
             ansible.extra_vars = {