Skip to content
Snippets Groups Projects

CI/CD overhaul

Merged Oto Šťáva requested to merge ci-overhaul-2 into master

This MR overhauls our CI/CD pipeline, moving the relevant Dockerfiles into the new knot/knot-resolver-ci repository, which builds the images in its own CI/CD pipeline, removing the need to build the images locally.

The images have been largely cleaned up, removing unnecessary layering, and have also been de-duplicated - different Knot DNS versions are built using the same parent image, which already has all the required dependencies, shortening the build times.

Another advantage is that the images are properly tagged, so we can use separate versions for different branches of Knot Resolver.

The pipeline in that repository is also ready for nightly rebuilds of Knot DNS master, so we can continously test against that (it currently fails, but !1509 (merged) should fix that). :white_check_mark:

Edited by Oto Šťáva

Merge request reports

Pipeline #125456 waiting for manual action

Pipeline: Knot Resolver

#125457

    Pipeline waiting for manual action for 86490903 on ci-overhaul-2

    Deployed to docs-develop/‎ci-overhaul-2‎ 10 months ago
    Approval is optional

    Merged by Oto ŠťávaOto Šťáva 10 months ago (May 14, 2024 8:59am UTC)

    Merge details

    • Changes merged into master with 23add1ad.
    • Deleted the source branch.

    Pipeline #125484 failed

    Pipeline failed for 23add1ad on master

    Deployed to docs-deve‎lop/master‎ 10 months ago

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
  • Oto Šťáva added 1 commit

    added 1 commit

    • d6d90dda - modules/*/meson.build: add missing dependencies

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 37cfc355 - modules/*/meson.build: add missing dependencies

    Compare with previous version

  • Oto Šťáva mentioned in merge request !1537 (merged)

    mentioned in merge request !1537 (merged)

  • Oto Šťáva added 16 commits

    added 16 commits

    • 37cfc355...c7f0032f - 3 commits from branch master
    • c7f0032f...b88e040c - 3 earlier commits
    • 369093f4 - .gitlab-ci: changed image name
    • 8e947ceb - .gitlab-ci: build against Knot DNS master as well
    • 6f3ad7ff - .gitlab-ci: reorganize Knots, fix master
    • df9737c8 - .gitlab-ci: use default image to build the docs
    • 888b8954 - .gitlab-ci: disable dnstap test for Debian 11
    • 1fa4bb3d - .gitlab-ci: make Knot master build failure less intimidating
    • 92cf3860 - ci/images: remove
    • a1a27b7b - .gitlab-ci: barebones image to request macOS build
    • 9b9145eb - Silence Clang-Tidy
    • 96e0d277 - EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 9fa779b9 - fixup! EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 2 commits

    added 2 commits

    • faaf7482 - fixup! .gitlab-ci: check if image is set to a Git tag
    • d6ef7643 - .gitlab-ci: get rid of scan-build

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • c8fa7864 - fixup! EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • d0aa1243 - .gitlab-ci: use tagged images

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 8dc9a709 - fixup! .gitlab-ci: check if image is set to a Git tag

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 9963fed0 - fixup! EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 17f2c6bf - fixup! EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • f1e737f7 - fixup! EXPERIMENT: try sanitizers with GCC and different settings

    Compare with previous version

  • Oto Šťáva added 12 commits

    added 12 commits

    • f1e737f7...a7f065c3 - 2 earlier commits
    • 5dc156ea - .gitlab-ci: build against Knot DNS master as well
    • cce477a9 - .gitlab-ci: reorganize Knots, fix master
    • 702d7710 - .gitlab-ci: use default image to build the docs
    • 5550f174 - .gitlab-ci: disable dnstap test for Debian 11
    • f251f5a4 - .gitlab-ci: make Knot master build failure less intimidating
    • f079c42a - ci/images: remove
    • 5687751d - .gitlab-ci: barebones image to request macOS build
    • cbf8faa2 - Silence Clang-Tidy
    • fca3481c - EXPERIMENT: try sanitizers with GCC and different settings
    • b86a76b0 - .gitlab-ci: get rid of scan-build

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 966c6a5a - tests/pytests: remove deprecated calls

    Compare with previous version

  • Oto Šťáva added 1 commit

    added 1 commit

    • 7c2516d4 - fixup! tests/pytests: remove deprecated calls

    Compare with previous version

  • Author Maintainer

    Outstanding issue: pkgtest - https://github.com/NixOS/nix/issues/10648

    Edited by Oto Šťáva
    • Author Maintainer
      Resolved by Vladimír Čunát

      Outstanding issue: pytests - This is something that has been happening consistently on newer distros for quite some time already. I don't think the behaviour of kresd is necessarily incorrect, it seems to close the TLS connection when the client sends garbage. It also happens on 6.x

      I believe we have these options:

      • Just make sure that kresd does not crash after it gets garbage from the client and adapt the test accordingly.
      • Stop kresd from closing the connection. This may not even be worth the effort, though, as it seems pretty unrealistic for actual good traffic to come after the garbage, which is what the test seems to be checking for.
      Edited by Oto Šťáva
  • Author Maintainer

    Outstanding issue: build-deb12-knot-master - Will be fixed by !1509 (merged). I already checked. :white_check_mark:

    Edited by Oto Šťáva
  • Oto Šťáva added 18 commits

    added 18 commits

    • 7c2516d4...fe607b35 - 3 commits from branch master
    • fe607b35...f5f423b4 - 5 earlier commits
    • e92888a3 - .gitlab-ci: reorganize Knots, fix master
    • 7ac7c768 - .gitlab-ci: use default image to build the docs
    • 50d31600 - .gitlab-ci: disable dnstap test for Debian 11
    • 09a490da - .gitlab-ci: make Knot master build failure less intimidating
    • 95a6403e - ci/images: remove
    • c77932a8 - .gitlab-ci: barebones image to request macOS build
    • 6f73a3d7 - Silence Clang-Tidy
    • b98b9e77 - EXPERIMENT: try sanitizers with GCC and different settings
    • 6f6311d6 - .gitlab-ci: get rid of scan-build
    • f2ca927c - tests/pytests: remove deprecated calls

    Compare with previous version

  • Oto Šťáva changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading