From: Vladimír Čunát Date: Wed, 26 Oct 2022 15:55:35 +0000 (+0200) Subject: ci pytests: migrate away from LXC runner X-Git-Tag: v5.6.0~14^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b08eb30387;p=thirdparty%2Fknot-resolver.git ci pytests: migrate away from LXC runner This reverts commit 15c1353544be, with some modifications. On LXC we've had issues with FileExistsError: [Errno 17] File exists: '/tmp/pytest-kresd-portdir' .. which disappear with this commit. (I don't know how/why.) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index affeb71d2..1a3aef00a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -368,21 +368,9 @@ pkgtest: - $SKIP_CI == "1" pytests: - # these are executed on LXC runners to increase stability - image: $CI_REGISTRY/knot/knot-resolver/ci/lxc-debian-11:knot-$KNOT_VERSION - only: - refs: - - branches@knot/knot-resolver - needs: [] - tags: - - lxc - - amd64 - before_script: - # build-asan artifacts can't be reused (different container is used) - - CC=clang CXX=clang++ CFLAGS=-fno-sanitize-recover=all CXXFLAGS=-fno-sanitize=undefined meson build_ci_asan --default-library=static --prefix=$PREFIX -Db_sanitize=address,undefined -Dextra_tests=enabled - - ninja -C build_ci_asan - - ninja -C build_ci_asan install >/dev/null - # END lxc specific section + <<: *test_flaky + needs: + - build-asan artifacts: when: always paths: