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. 31 Oct, 2018 6 commits
  3. 01 Oct, 2018 1 commit
  4. 07 Aug, 2018 1 commit
  5. 20 Jul, 2018 2 commits
  6. 04 Oct, 2017 1 commit
    • Zeger-Jan van de Weg's avatar
      Construct git remote URL if CloneURL is configured · 67e3bc49
      Zeger-Jan van de Weg authored
      Previously, GitLab CE/EE exposed the clone/fetch url, however, in more
      complex situations where e.g. a firewall is in play this won't work.
      
      If the user configures a `CloneURL` this URL is used to construct a
      clone or fetch path. The URL _must_ start with `http` or `https`.
      67e3bc49
  7. 28 Sep, 2017 2 commits
  8. 18 Aug, 2017 1 commit
  9. 12 May, 2017 1 commit
  10. 30 Mar, 2017 1 commit
  11. 18 Mar, 2017 1 commit
  12. 16 Mar, 2017 2 commits
  13. 12 Dec, 2016 7 commits
  14. 15 Nov, 2016 1 commit
  15. 01 Sep, 2016 1 commit
  16. 18 Aug, 2016 1 commit