1. 23 Jul, 2018 1 commit
  2. 20 Jul, 2018 7 commits
    • Neil Williams's avatar
      Allow LAVA_DB_USER to contain hyphens · df14c92c
      Neil Williams authored
      Change-Id: If77b28ea3b9ecb622fe59504b5526a55b8af943e
      df14c92c
    • Neil Williams's avatar
      Simplify and rationalise log permissions · d54b7391
      Neil Williams authored
      Move similar calls into one place, change the directory to have
      setgid as setuid is ignored.
      Use python handlers instead of shells.
      Allow users in the 'adm' group to read all log files and
      start lava-server manage commands.
      Drop recursive mode and permission operations, use glob
      to act on all log files.
      
      Change-Id: I563b08a2cacfb6cf6fa4a213deaddb48b30e7c4d
      d54b7391
    • Neil Williams's avatar
      Create but not edit objects in admin interface · 839a14d0
      Neil Williams authored
      Device, DeviceType and Worker need to be created in the Django
      Admin Interface but not allow editing after creation.
      Change the editable field back but change admin.py to support
      changing the read_only status based on the call being create
      or edit.
      Move latest migration to replace non-editable key changes
      which are no longer required.
      
      Change-Id: Ie5f565d300408e4697738322ec1e42ec42b50ec9
      839a14d0
    • Rémi Duraffort's avatar
      worker: add a link to the admin page · 34cac858
      Rémi Duraffort authored
      Change-Id: I2655501e4352d7064e9ae940cdcfdb77eab6838a
      34cac858
    • Rémi Duraffort's avatar
      Cosmetics · f4c85dd2
      Rémi Duraffort authored
      Change-Id: If24c0e9fdc7c1fd01c1c7bb0590b00bee7b8fdc4
      f4c85dd2
    • Rémi Duraffort's avatar
      Revert "Make primary key non-editable" · 6978ad89
      Rémi Duraffort authored
      With this patch, it's impossible to create the corresponding objects from the
      admin UI.
      
      This reverts commit 6383230a.
      
      Change-Id: If6581e9085fbf0e5b84b538fe815188df116f3f7
      6978ad89
    • Neil Williams's avatar
      Output a validation error for missing commands: · a6c34e83
      Neil Williams authored
      If a misconfigured device lacks any commands: then
      connection.serial needs to report a validate() error
      instead of the current traceback.
      
      Change-Id: I6e3769189bc3388e6efd693356ec3b3cdcf2b6e2
      a6c34e83
  3. 19 Jul, 2018 1 commit
  4. 18 Jul, 2018 8 commits
  5. 17 Jul, 2018 6 commits
    • Matt Hart's avatar
      Add rk3328-rock64 device type · 0736d9d1
      Matt Hart authored
      Change-Id: I645df213647fa35a125389d883bb4732f01d14ad
      0736d9d1
    • Rémi Duraffort's avatar
      Remove lxc_cmd_prefix from Action class · faa65008
      Rémi Duraffort authored
      Make this an helper function, called when needed as this is only used by
      Android jobs.
      
      Change-Id: I10584f5f37d4edee5b6a8354bbcd5f393d3b4410
      faa65008
    • Neil Williams's avatar
      Add docs on adding devices in offline state · f770b045
      Neil Williams authored
      Fix a typo related to the meta-lava addition.
      
      Change-Id: I7fa39348910d63367c279c038a5ffd2c9b4ddc5e
      f770b045
    • Rémi Duraffort's avatar
      Fix notification token after 1a13b85e · 664977da
      Rémi Duraffort authored
      Bug found by meta-lava.
      
      Change-Id: Idf9a079d2bea30914cc502023d9795abec397573
      664977da
    • Rémi Duraffort's avatar
      Make primary key non-editable · 6383230a
      Rémi Duraffort authored
      This is confusing most admins because this is not doing what they expect.
      When modifying the primary_key of an object, Django will make a copy of the
      object and change the primary_key of the copy, keeping the original.
      
      For instance, when a TestJob is running on a Device, changing the Device
      hostname will create a copy of the Running Device without any TestJob attached
      to it.
      
      Change-Id: Ic7329156c5f45ccdeb42c1a128981d3e36a9d64d
      6383230a
    • Rémi Duraffort's avatar
      Prevent admins for creating some objects · 2b7e5768
      Rémi Duraffort authored
      TestJob, Query, TestCase, ... should never be created in the admin UI because
      this might break assumption about some links with other objects.
      
      Change-Id: Ia37374f21ad2a1ab94861c09e06642a4662e3ad2
      2b7e5768
  6. 16 Jul, 2018 10 commits
  7. 13 Jul, 2018 6 commits
  8. 12 Jul, 2018 1 commit
    • Guillaume Tucker's avatar
      device-types: convert tegra124-nyan-big to Depthcharge · ec8c147b
      Guillaume Tucker authored
      
      
      The standard bootloader for the tegra124-nyan-big Chromebook is
      Depthcharge, so update its device type accordingly now that it has
      been tested with LAVA with these firmware config values:
      
        CONFIG_BASE_ADDRESS=0x85000000
        CONFIG_HEAP_SIZE=0x00800000
        CONFIG_KERNEL_START=0x82000000
        CONFIG_KERNEL_SIZE=0x3000000
      
      This allows the device to boot using a FIT image with an initramfs and
      a mainline kernel built with multi_v7_defconfig.
      
      Change-Id: Ifc699769fe7e64311a764a47825cae689dd49e4f
      Signed-off-by: Guillaume Tucker's avatarGuillaume Tucker <guillaume.tucker@collabora.com>
      ec8c147b