1. 08 Jan, 2019 1 commit
    • Steve Azzopardi's avatar
      Use build timeout when shorter then session timeout · 5bac09cd
      Steve Azzopardi authored
      For `waitForTerminal` check if the build timeout is actually shorter
      then the terminal session timeout. If so, parse the time left, show it
      to the user and use it as a timeout as well.
      
      The reason `timeout` is being updated and used for `time.After` (in the
      select statement) is so we have a good seperation between when
      `ctx.Done` is being called because the user actually cancelled the build
      and when the context deadline is reached.
      
      Add `RoundDuration` which is the same as `time.duration.Round` but since
      we are using go1.8 it is missing.
      
      Add a test cases for each scenario `waitForTerminal` has.
      5bac09cd
  2. 26 Dec, 2018 1 commit
  3. 22 Dec, 2018 3 commits
  4. 19 Dec, 2018 2 commits
  5. 17 Dec, 2018 2 commits
  6. 12 Dec, 2018 3 commits
  7. 11 Dec, 2018 7 commits
  8. 10 Dec, 2018 1 commit
  9. 07 Dec, 2018 5 commits
  10. 06 Dec, 2018 3 commits
  11. 05 Dec, 2018 2 commits
  12. 23 Nov, 2018 1 commit
  13. 22 Nov, 2018 3 commits
  14. 21 Nov, 2018 3 commits
  15. 19 Nov, 2018 2 commits
  16. 16 Nov, 2018 1 commit