1. 01 Jul, 2019 3 commits
  2. 10 Jun, 2019 1 commit
  3. 17 May, 2019 4 commits
  4. 13 May, 2019 2 commits
  5. 10 May, 2019 1 commit
  6. 07 May, 2019 1 commit
  7. 26 Apr, 2019 1 commit
    • Rémi Duraffort's avatar
      Set lavaserver uid and gid to a known value · f9b5205d
      Rémi Duraffort authored
      When upgrading from one container version to another, the uid/gid should not changed.
      In fact, if uid/gid are changing, the files/directories lava service will fail
      to update the files/directories created by a previous container version (job
      logs, device dicts, ...)
      
      We are choosing a different value than the current (uid,gid) but this will be
      better if, in the future, more users are created.
      
      Closes #12Signed-off-by: Rémi Duraffort's avatarRémi Duraffort <remi.duraffort@linaro.org>
      f9b5205d
  8. 19 Apr, 2019 1 commit
  9. 15 Apr, 2019 1 commit
  10. 22 Mar, 2019 2 commits
    • Fathi Boudra's avatar
      Use debian slim variants as base images · 13753535
      Fathi Boudra authored
      To reduce images size and save bandwidth, use -slim variant as base
      images:
      * since there isn't backports slim variants on purpose (it's a one-liner
        to include stretch-backports to sources.list), add the one-liner to
        our images to enable backports.
      * switch from debian:stretch-backports to debian:stretch-slim
      * workaround postgresql-client package install failure due to lack of
        manpages directories.
      
      As a result:
      * lava-server     384MB -> 313MB
      * lava-dispatcher 597MB -> 493MB
      Signed-off-by: Fathi Boudra's avatarFathi Boudra <fathi.boudra@linaro.org>
      13753535
    • Fathi Boudra's avatar
      fix double square brackets is undefined on posix shell · be9f64fb
      Fathi Boudra authored
      [[ ]] is undefined on posix shell and returns errors on Debian
      since it's using dash:
        /root/test.sh: 35: /root/test.sh: [[: not found
      
      The error can be seen on lava-server-base.log file.
      Signed-off-by: Fathi Boudra's avatarFathi Boudra <fathi.boudra@linaro.org>
      be9f64fb
  11. 12 Mar, 2019 1 commit
  12. 07 Mar, 2019 2 commits
  13. 27 Feb, 2019 3 commits
  14. 26 Feb, 2019 1 commit
  15. 15 Feb, 2019 3 commits
  16. 14 Feb, 2019 1 commit
  17. 12 Feb, 2019 2 commits
  18. 11 Feb, 2019 6 commits
  19. 01 Feb, 2019 1 commit
  20. 31 Jan, 2019 1 commit
    • Dan Rue's avatar
      Add generic entrypoint.d for user init scripts · 4c75ac29
      Dan Rue authored
      Create /root/entrypoint.d directory. Any file mounted or copied into
      /root/entrypoint.d will be executed at runtime.
      
      Example use-cases:
      
      - lava-server: script to provision devices on start-up. Needs to run after
        lava-master has started.
      - lava-dispatcher: script to start ser2net, tftpd-hpa, etc.
      
      Note: It is reasonable for a user to build a new container on top of the
      official lava containers to install new software, but if they have to
      modify the entrypoint, they create a maintainability hazard because
      they're forced to copy entrypoint.sh into their environment and modify
      it, and then they would not get any future upstream entrypoint changes
      automatically.
      
      Modeled after postgres, create an init.d directory that can be used to
      run arbitrary files during docker run.
      
      See postgres's implementation at
      https://github.com/docker-library/postgres/blob/master/docker-entrypoint.sh#L145.
      Signed-off-by: Dan Rue's avatarDan Rue <dan.rue@linaro.org>
      4c75ac29
  21. 18 Jan, 2019 1 commit
    • Dan Rue's avatar
      Improve Dockerfiles · 7aecf21f
      Dan Rue authored
      Run all apt-get commands in the same docker layer. It's important to
      have update and install on the same layer - otherwise, the 'update'
      layer can get cached causing the 'install' layer to fail.
      Signed-off-by: Dan Rue's avatarDan Rue <dan.rue@linaro.org>
      7aecf21f
  22. 17 Jan, 2019 1 commit