1. 16 Feb, 2020 2 commits
  2. 01 Feb, 2020 1 commit
    • Kevin Daudt's avatar
      docker-image: use proper platform designations · 9a262db5
      Kevin Daudt authored
      The platform argument for docker build uses different names for arches
      than the image prefix. For example, to pull an image for armv7, you need
      to use `arm32v7/alpine`, but to build an image for that arch, you should
      use `--platform arm`.
      
      Use a separate environment variable to designating the docker platform.
      9a262db5
  3. 31 Jan, 2020 1 commit
    • Kevin Daudt's avatar
      docker-image: use buildkit to set platform · 95cfc969
      Kevin Daudt authored
      We build armv7 and x86 images on a 64 bits host in 32 bits mode. Even
      though the images are 32 bits, docker still tags them as the host
      architecture.
      
      Docker has a way to specify the platform, but requries to enable
      experimental features on the daemon, but this is not ideal.
      
      An alternative is using buildkit, which has additional features for
      docker. This can be enabled by setting `DOCKER_BUILDKIT` to `1`. So lets
      use that so that we can specify `--platform` when running `docker build`.
      95cfc969
  4. 26 Jan, 2020 2 commits
    • Kevin Daudt's avatar
      c6c555a0
    • Kevin Daudt's avatar
      docker-image: add depedency from build to lint · 9b947362
      Kevin Daudt authored
      For some reason, whenever the verify stage fails, the build jobs are
      skipped (as expected), but the upload jobs are still attempted and fail
      because nothing is built.
      
      This could be due to dependencies set from upload jobs on build jobs,
      but build jobs not having any dependencies. It might be that an
      incomplete graph confuses gitlab and causes these jobs to run when they
      should not.
      
      Try to add dependencies from build jobs to the lint job as an attempt to
      fix this.
      9b947362
  5. 19 Jan, 2020 1 commit
    • Kevin Daudt's avatar
      docker-image/hadolint: ignore DL3006 · 126de76b
      Kevin Daudt authored
      We already ignore DL3007, which does not let you use ':latest'. DL3006
      checks if you use ':latest' implicitly by not using any tag, so lets
      ignore that one as well.
      126de76b
  6. 12 Jan, 2020 3 commits
  7. 10 Jan, 2020 2 commits
  8. 06 Jan, 2020 5 commits
  9. 05 Jan, 2020 2 commits
  10. 29 Dec, 2019 2 commits
  11. 23 Nov, 2019 1 commit
  12. 14 Oct, 2019 3 commits
  13. 12 Oct, 2019 3 commits
  14. 04 Oct, 2019 1 commit
  15. 26 Sep, 2019 1 commit
  16. 23 Sep, 2019 2 commits
  17. 22 Sep, 2019 1 commit
  18. 25 Aug, 2019 1 commit
  19. 24 Aug, 2019 1 commit
    • Kevin Daudt's avatar
      docker-image: use artifacts to persist images · 27a09cd0
      Kevin Daudt authored
      The docker-image ci job relies on docker to persist images so that they
      can be used in different stages. This only works when all stages are
      executed on the same host.
      
      This prevents the use of multiple runners, as different jobs may be
      executed on different runners.
      
      To fix this, we can use the artifacts feature of gitlab. We use `docker
      image save` to create a tar archive of the image, which is then
      persisted by gitlab for following stages.
      27a09cd0
  20. 21 Aug, 2019 4 commits
  21. 11 Aug, 2019 1 commit