]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/pkgtest: switch bad LXC builds to manual start
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 27 Jun 2022 08:37:13 +0000 (10:37 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 13 Jul 2022 09:22:04 +0000 (11:22 +0200)
We've been unable to progress with these failures for some time,
and it's not good to have them red in CI all the time.
Manual start should allow easier testing of future fixes,
without doing the futile runs automatically.

ci/pkgtest.yaml

index 87df49f9a7229ab0e0c94a6e02333bee72b7f0ea..96fc4b25f0260f0fe2d569d580041804b863cb0b 100644 (file)
@@ -40,6 +40,8 @@ stages:
 centos-7:pkgbuild:
   <<: *pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/centos-7
+  when: manual # this image fails to start now
+  allow_failure: true
   before_script:
     - export LC_ALL=en_US.UTF-8
     - git config --global user.name CI
@@ -78,6 +80,8 @@ debian-11:pkgbuild:
 fedora-34:pkgbuild:
   <<: *pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - dnf install -y rpm-build python3-pip
     - *apkgbuild
@@ -85,6 +89,8 @@ fedora-34:pkgbuild:
 fedora-35:pkgbuild:
   <<: *pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-35
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - dnf install -y rpm-build python3-pip
     - *apkgbuild
@@ -92,6 +98,8 @@ fedora-35:pkgbuild:
 opensuse-15.2:pkgbuild:
   <<: *pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/opensuse-15.2
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - zypper addrepo -G -f https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-build.repo
     - zypper install -y rpm-build python3-pip
@@ -100,6 +108,8 @@ opensuse-15.2:pkgbuild:
 opensuse-15.3:pkgbuild:
   <<: *pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/opensuse-15.3
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - zypper addrepo -G -f https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.3/home:CZ-NIC:knot-resolver-build.repo
     - zypper install -y rpm-build python3-pip
@@ -182,6 +192,8 @@ centos-7:pkgtest:
   needs:
     - centos-7:pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/centos-7
+  when: manual # this image fails to start now
+  allow_failure: true
   before_script:
     - export LC_ALL=en_US.UTF-8
   script:
@@ -229,6 +241,8 @@ fedora-34:pkgtest:
   needs:
     - fedora-34:pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-34
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - dnf install -y knot-utils findutils
     - dnf install -y $(find ./pkg/pkgs -name '*.rpm' | grep -v module | grep -v debug | grep -v devel)
@@ -240,6 +254,8 @@ fedora-35:pkgtest:
   needs:
     - fedora-35:pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/fedora-35
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - dnf install -y knot-utils findutils
     - dnf install -y $(find ./pkg/pkgs -name '*.rpm' | grep -v module | grep -v debug | grep -v devel)
@@ -251,6 +267,8 @@ opensuse-15.2:pkgtest:
   needs:
     - opensuse-15.2:pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/opensuse-15.2
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - zypper addrepo -G -f https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-build.repo
     - zypper install -y knot-utils
@@ -263,6 +281,8 @@ opensuse-15.3:pkgtest:
   needs:
     - opensuse-15.3:pkgbuild
   image: $CI_REGISTRY/labs/lxc-gitlab-runner/opensuse-15.3
+  when: manual # this image fails to start now
+  allow_failure: true
   script:
     - zypper addrepo -G -f https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.3/home:CZ-NIC:knot-resolver-build.repo
     - zypper install -y knot-utils