1. 29 Apr, 2020 1 commit
    • Michał Kępień's avatar
      Adjust Python packages installed on Debian · c1b933c6
      Michał Kępień authored
      The python-dnspython package was dropped from Debian "sid" and thus can
      no longer be installed on that system.  Since this move is a part of a
      larger initiative to remove Python 2 from Debian, there is little sense
      in trying to implement Dockerfile workarounds for this specific package.
      Instead, remove Python 2 packages from all our Debian Docker images
      except the "buster" one (to retain some Python 2 test coverage for BIND
      branches other than "master").
      c1b933c6
  2. 27 Apr, 2020 2 commits
    • Michal Nowak's avatar
      Build custom software in parallel · 494a7c88
      Michal Nowak authored
      Number of make jobs is the same as in the BIND repository.
      494a7c88
    • Michal Nowak's avatar
      Cache Kyua · de0f7f2a
      Michal Nowak authored
      Since image building happens in special Docker-in-Docker container, we
      can't use GitLab cache as-is but we need to get the extracted cache
      content first to the root/context directory where Docker build will take
      place and then to the image itself during the Docker build. After that
      updated content is copied out of the published image to a place where it
      can be cached by GitLab.
      de0f7f2a
  3. 25 Mar, 2020 3 commits
    • Michał Kępień's avatar
      39bdcd30
    • Ondřej Surý's avatar
      Rework the way we build and use Debian/Ubuntu images · 8a94d972
      Ondřej Surý authored
      Following changes have been made to the Makefile and Dockerfile for
      Debian/Ubuntu images:
      
      * With introduction of arm64 builder, we needed more fine grained
        switches that define whether to install specific software bundle into
        the image.  The switches are now defined as a tripplets:
        <software>_<version>_<architecture>, e.g. dnstap_buster_amd64
      
      * Change the install/no-install logic for abi-compliance-checker,
        shellcheck, and compiledb from Dockerfile to the Makefile
      
      * It was hard to test whether the images build correctly and not mess
        with production environment.  Now, the images are pushed only if the
        pipeline is run on the default repository branch (e.g. master).
      
      * Install only a single LLVM/Clang version - 10 at the time of this
        commit.  This has to match with bind9's .gitlab-ci.yml.
      
      * Don't install the LLVM/Clang to Debian sid, this is more often broken
        than it's not.
      
      * Pick a "base_image" in the bind9's .gitlab-ci.yml that will have the
        extra software.  At the time of writing this, The Debian amd64 buster
        image was picked.  This means needs to get the latest version of the
        clang, coccinelle, abicc, cppcheck and others.
      
      * If `@FOO@` in the `if [ -n "@FOO@" ]` construct didn't get replaced it
        would default to true.  Change this to `if [ "@FOO@" = "yes" ]` that
        defaults to false.
      
      * Install the abi-compliance-checker and it's dependencies from the git
        repository instead from the Debian buster repository.
      8a94d972
    • Ondřej Surý's avatar
      bcc828c9
  4. 23 Mar, 2020 1 commit
  5. 19 Mar, 2020 1 commit
  6. 18 Mar, 2020 1 commit
  7. 17 Mar, 2020 3 commits
    • Michal Nowak's avatar
      Use custom kyua · 13885225
      Michal Nowak authored
      Kyua has it's own expectations on where to find core file generated by
      a broken test. They do not suit us well as the common Linux core
      pattern setup places the core alongside the crashed binary with a
      'core.PID' pattern.
      
      Following Kyua fork adds the above mentioned expectation to the Kyua
      source code.
      13885225
    • Michał Kępień's avatar
      Fix broken @CLANG@ token · 2ce221b1
      Michał Kępień authored
      2ce221b1
    • Michał Kępień's avatar
      Enable use of HTTPS Clang repositories on Debian · 6cdeb04c
      Michał Kępień authored
      The apt.llvm.org package repository seems to have moved to HTTPS-only.
      Without the apt-transport-https package installed, apt appears to hang
      during routine operations (e.g. "apt-get update") when a repository like
      this is enabled in its configuration.  Fix by installing the
      apt-transport-https package whenever Clang repositories are to be used.
      6cdeb04c
  8. 16 Mar, 2020 1 commit
  9. 05 Mar, 2020 3 commits
  10. 20 Feb, 2020 1 commit
    • Michal Nowak's avatar
      sid: Add respdiff dependencies · 900f63d0
      Michal Nowak authored
      respdiff test depends on Python modules which currently can't be
      satisfied with sid packages, we need to grab them from PyPI.
      900f63d0
  11. 16 Feb, 2020 1 commit
  12. 14 Feb, 2020 1 commit
  13. 30 Jan, 2020 1 commit
  14. 27 Jan, 2020 1 commit
  15. 27 Nov, 2019 1 commit
  16. 18 Nov, 2019 5 commits
  17. 07 Nov, 2019 1 commit
  18. 24 Oct, 2019 1 commit
  19. 15 Oct, 2019 1 commit
    • Michał Kępień's avatar
      Ensure IO::Socket::INET6 is installed on Debian · 2fb2a8a9
      Michał Kępień authored
      libnet-dns-perl 1.15 dropped its dependency on libio-socket-inet6-perl
      and thus the latter is not automatically installed when libnet-dns-perl
      is installed on Debian 10 (Buster) and later Debian releases.  Ensure
      the IO::Socket::INET6 Perl module is available in all Debian Docker
      images to prevent certain IPv6-related system tests from being skipped
      on some operating systems.
      2fb2a8a9
  20. 30 Sep, 2019 2 commits
  21. 26 Sep, 2019 2 commits
  22. 11 Sep, 2019 2 commits
  23. 10 Sep, 2019 3 commits
  24. 17 Jul, 2019 1 commit