1. 27 Mar, 2020 2 commits
    • Michał Kępień's avatar
      Fix dnstap installation conditions · c517bfea
      Michał Kępień authored
      dnstap dependencies are currently unconditionally included in Alpine
      Linux images.  Only install them if the relevant Makefile variable is
      set.
      
      Tweak the condition for installing dnstap dependencies on CentOS so that
      it matches its Debian counterpart.
      c517bfea
    • Michał Kępień's avatar
      Include vendor in optional installation variables · 0be3b668
      Michał Kępień authored
      Some Linux distributions (e.g. Alpine Linux) neither use release
      codenames nor include the distribution name in their Docker tags.  Since
      variable names like "dnstap_3.11_amd64" would cause confusion, include
      distribution names in the names of Makefile variables controlling
      conditional installations.
      0be3b668
  2. 26 Mar, 2020 5 commits
  3. 25 Mar, 2020 7 commits
    • Michal Nowak's avatar
      Drop Fedora 30 · 7ec026e7
      Michal Nowak authored
      7ec026e7
    • Michal Nowak's avatar
      Drop Alpine Linux 3.10 · e1efd647
      Michal Nowak authored
      e1efd647
    • Michał Kępień's avatar
      39bdcd30
    • Ondřej Surý's avatar
      ffdab6a5
    • 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
      e071c7b5
    • Ondřej Surý's avatar
      bcc828c9
  4. 24 Mar, 2020 1 commit
  5. 23 Mar, 2020 1 commit
  6. 19 Mar, 2020 1 commit
  7. 18 Mar, 2020 2 commits
  8. 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
  9. 16 Mar, 2020 1 commit
  10. 06 Mar, 2020 1 commit
  11. 05 Mar, 2020 5 commits
  12. 03 Mar, 2020 1 commit
  13. 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
  14. 16 Feb, 2020 1 commit
  15. 14 Feb, 2020 1 commit
  16. 10 Feb, 2020 2 commits
  17. 04 Feb, 2020 1 commit
    • Michał Kępień's avatar
      Add support for building OpenBSD QCOW2 images · 7cc2be6b
      Michał Kępień authored
      Unlike CentOS QCOW2 images, OpenBSD QCOW2 images are meant to be used
      for running build & test GitLab CI jobs for BIND, hence the extra
      packages being installed.  As there is no officially distributed version
      of gitlab-runner for OpenBSD, use a precompiled binary to avoid pulling
      the whole Go stack during the image building process.
      7cc2be6b
  18. 30 Jan, 2020 1 commit
  19. 28 Jan, 2020 2 commits
    • Michal Nowak's avatar
      Add missing packages to CentOS 7 & 8 · 781593e7
      Michal Nowak authored
      CentOS 7 when configuring ATF and lutok:
      
       ./configure: line 6754: /usr/bin/file: No such file or directory
      
      CentOS 8 when configuring libuv, ATF, and lutok:
      
       checking for a working dd... ./configure: line 7043: cmp: command not found
      ./configure: line 7043: cmp: command not found
      ...
       checking if gcc supports -fno-rtti -fno-exceptions... ./configure: line 8916: diff: command not found
      781593e7
    • Michal Nowak's avatar
      Build CentOS QCOW2 images with Packer · b7021a6e
      Michal Nowak authored
      This leverages Packer infrastructure for building QCOW2 images and adds
      CentOS 6, 7, and 8 jobs.  Each job starts Qemu/KVM virtual machine
      inside a Docker container.  The end result is installed and configured
      CentOS image, which is later wrapped into a Docker image and pushed to
      GitLab Container Registry.
      b7021a6e
  20. 27 Jan, 2020 1 commit