This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 11 Apr, 2019 4 commits
  2. 23 Jan, 2019 1 commit
  3. 22 Jan, 2019 4 commits
  4. 12 Jan, 2019 6 commits
  5. 10 Jan, 2019 1 commit
  6. 08 Jan, 2019 2 commits
  7. 20 Dec, 2018 1 commit
  8. 19 Dec, 2018 2 commits
  9. 18 Dec, 2018 1 commit
  10. 11 Dec, 2018 1 commit
  11. 01 Dec, 2018 1 commit
    • Danielle Tomlinson's avatar
      client: Move fingerprint structs to pkg · da48a7ea
      Danielle Tomlinson authored
      This removes a cyclical dependency when importing client/structs from
      dependencies of the plugin_loader, specifically, drivers. Due to
      client/config also depending on the plugin_loader.
      
      It also better reflects the ownership of fingerprint structs, as they
      are fairly internal to the fingerprint manager.
      da48a7ea
  12. 30 Nov, 2018 1 commit
  13. 16 Nov, 2018 2 commits
    • Mahmood Ali's avatar
      address review comments · fd49039f
      Mahmood Ali authored
      fd49039f
    • Mahmood Ali's avatar
      Populate alloc stats API with device stats · 58cbafe9
      Mahmood Ali authored
      This change makes few compromises:
      
      * Looks up the devices associated with tasks at look up time.  Given
      that `nomad alloc status` is called rarely generally (compared to stats
      telemetry and general job reporting), it seems fine.  However, the
      lookup overhead grows bounded by number of `tasks x total-host-devices`,
      which can be significant.
      
      * `client.Client` performs the task devices->statistics lookup.  It
      passes self to alloc/task runners so they can look up the device statistics
      allocated to them.
        * Currently alloc/task runners are responsible for constructing the
      entire RPC response for stats
        * The alternatives for making task runners device statistics aware
      don't seem appealing (e.g. having task runners contain reference to hostStats)
      
      * On the alloc aggregation resource usage, I did a naive merging of task device statistics.
        * Personally, I question the value of such aggregation, compared to
      costs of struct duplication and bloating the response - but...
      58cbafe9
  14. 14 Nov, 2018 1 commit
  15. 13 Nov, 2018 2 commits
    • Mahmood Ali's avatar
      Prioritize checking consumer context cancellation · 6b8c6836
      Mahmood Ali authored
      Tests expect that as soon as eventer shuts down immediately on context
      cancellations; but golang does not guarantee priority when multiple
      pending channels are ready in a select statement.
      6b8c6836
    • Mahmood Ali's avatar
      Set clean config for mock driver · f9295631
      Mahmood Ali authored
      The default job here contains some exec task config (for setting
      command and args) that aren't used for mock driver.  Now, the alloc
      runner seems stricter about validating fields and errors on unexpected
      fields.
      
      Updating configs in tests so we can have an explicit task config
      whenever driver is set explicitly.
      f9295631
  16. 17 Oct, 2018 1 commit
  17. 16 Oct, 2018 2 commits
  18. 13 Sep, 2018 1 commit
  19. 13 Jun, 2018 1 commit
  20. 12 Jun, 2018 1 commit
  21. 31 May, 2018 1 commit
  22. 18 Apr, 2018 1 commit
  23. 12 Apr, 2018 2 commits