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. 29 Mar, 2017 1 commit
    • Alex Dadgar's avatar
      Fix variable capture and add tests · 45965421
      Alex Dadgar authored
      This PR fixes token revocation and adds tests to make sure it is
      working. The 0.5.6 RC1's token revocation does not work becasue the
      token's value is captured at the instantiation of the deferred
      stoprenewal statement rather than its exectution.
      45965421
  2. 28 Mar, 2017 1 commit
  3. 27 Mar, 2017 1 commit
  4. 26 Mar, 2017 1 commit
  5. 24 Mar, 2017 3 commits
  6. 11 Mar, 2017 1 commit
  7. 03 Mar, 2017 1 commit
  8. 02 Mar, 2017 1 commit
  9. 01 Mar, 2017 1 commit
  10. 28 Feb, 2017 1 commit
    • Alex Dadgar's avatar
      Fix two issues during client restore state · 4826d846
      Alex Dadgar authored
      This PR fixes two issues:
      
      1) A close of a nil stopCollection channel when restoring and prestart
      fails. The failure will cause the killCh to be triggered which will
      close collection before it has been initialized.
      
      2) Fixes a deadlock in which the handleWaitCh is never triggered since
      it is not initialized when there is an error in prestart and the killCh
      is triggered.
      
      Both fixes are by maintaining the loop invariant that the two channels
      are valid after there is a handle.
      4826d846
  11. 23 Feb, 2017 2 commits
  12. 10 Feb, 2017 1 commit
  13. 09 Feb, 2017 1 commit
    • Michael Schurter's avatar
      Fix upgrade path for created resources · c961e751
      Michael Schurter authored
      This *might* be a fix for #2295 -- I've been unable to reproduce the
      bug. However, this guard seems wise regardless. I should never be
      overwriting an intialized created resources with a nil.
      c961e751
  14. 31 Jan, 2017 1 commit
  15. 26 Jan, 2017 1 commit
  16. 21 Jan, 2017 1 commit
  17. 20 Jan, 2017 1 commit
  18. 19 Jan, 2017 2 commits
  19. 14 Jan, 2017 1 commit
  20. 13 Jan, 2017 1 commit
  21. 12 Jan, 2017 3 commits
  22. 09 Jan, 2017 1 commit
  23. 08 Jan, 2017 3 commits
  24. 06 Jan, 2017 1 commit
  25. 20 Dec, 2016 2 commits
  26. 16 Dec, 2016 1 commit
  27. 02 Dec, 2016 1 commit
    • Michael Schurter's avatar
      Add Driver.Prestart method · ee17940d
      Michael Schurter authored
      The Driver.Prestart method currently does very little but lays the
      foundation for where lifecycle plugins can interleave execution _after_
      task environment setup but _before_ the task starts.
      
      Currently Prestart does two things:
      
      * Any driver specific task environment building
      * Download Docker images
      
      This change also attaches a TaskEvent emitter to Drivers, so they can
      emit events during task initialization.
      ee17940d
  28. 05 Nov, 2016 1 commit
  29. 04 Nov, 2016 3 commits