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. 30 Aug, 2019 1 commit
  2. 24 Aug, 2019 2 commits
    • Mahmood Ali's avatar
      use circleci/golang images directly · b6bf83ad
      Mahmood Ali authored
      We currently use an container image for `test-devices` job only; while
      all other jobs use machine executor.
      
      This allows us to switch golang and protoc verions easily without
      manually managing Docker images (which requires building them manually
      on a dev machines, etc).  All that while, we install dependencies on
      every build in all other jobs..
      
      `test-devices` now is one of the fastest jobs and isn't a constraint or
      a bottleneck, so increasing its overhead by few seconds doesn't hurt the
      overall developer iteration.
      
      If we split tests effectively later, we can revisit.
      b6bf83ad
    • Mahmood Ali's avatar
      use a new image with proper protoc dependency · f4571cb9
      Mahmood Ali authored
      Fixes `test-devices` job
      f4571cb9
  3. 23 Aug, 2019 1 commit
  4. 14 Aug, 2019 1 commit
  5. 13 Aug, 2019 2 commits
    • Mahmood Ali's avatar
      Allow per-user local customizations of makefile · b3d2c872
      Mahmood Ali authored
      Allow users to customize their makefiles by adding custom
      targets/variables without checking them in.
      b3d2c872
    • Mahmood Ali's avatar
      Honor GO_TAGS env-var · 4e80282b
      Mahmood Ali authored
      Allow honoring `GO_TAGS` environment variable if set.  Currently, users
      must set variable as a makefile argument e.g. `make GO_TAGS=ui dev`, and
      this allows us to use env-var syntax (e.g. `GO_TAGS=ui make dev`) and
      make it convenient to set GO_TAGS globally.
      4e80282b
  6. 12 Aug, 2019 3 commits
  7. 02 Aug, 2019 1 commit
    • Mahmood Ali's avatar
      make: always honor GO_TAGS in dev · f3762abd
      Mahmood Ali authored
      Our build scripts pass `$(GO_TAGS)` to `-tags` go compile flags, except
      for `make dev`, where `$(NOMAD_UI_TAG)` is used.  This change ensures
      `make dev` is inline with the rest of makefile targets.
      
      I use the flag primarily to enable the nomad ui using the committed
      compiled assets without regenerating them, as I find using stale ui
      satisfactory most of the time.
      f3762abd
  8. 20 Jun, 2019 1 commit
  9. 28 Apr, 2019 1 commit
  10. 25 Apr, 2019 1 commit
  11. 21 Mar, 2019 1 commit
    • Mahmood Ali's avatar
      release: skip check step when cutting release · 8feb07ad
      Mahmood Ali authored
      `make check` runs very intensive linters that slow and seem to behave
      differently on different machines.
      
      Linting is still a part of our CI and we shouldn't be cutting a release
      when CI isn't green anyway.
      8feb07ad
  12. 18 Mar, 2019 1 commit
  13. 14 Mar, 2019 1 commit
  14. 30 Jan, 2019 3 commits
  15. 23 Jan, 2019 2 commits
  16. 17 Jan, 2019 1 commit
  17. 08 Jan, 2019 1 commit
  18. 16 Dec, 2018 1 commit
    • Mahmood Ali's avatar
      ci: use gotestsum for running tests · 8b53ff97
      Mahmood Ali authored
      `gotestsum` has user friendlier output that emits final summary, also it can emit junit xml file for
      automated analysis instead of current format that should significantly
      ease automated analysis of CI.
      8b53ff97
  19. 14 Dec, 2018 1 commit
    • Mahmood Ali's avatar
      dev: expand ... in go get · bb248e86
      Mahmood Ali authored
      workaround a regression in 1.11.3
      
      > We are aware of a functionality regression in "go get" when executed in GOPATH mode on an import path pattern containing "..." (e.g., "go get github.com/golang/pkg/..."), when downloading packages not already present in the GOPATH workspace. This is issue golang.org/issue/29241. It will be resolved in the next minor patch releases, Go 1.11.4 and Go 1.10.7, which we plan to release soon. We apologize for any disruption.
      bb248e86
  20. 11 Dec, 2018 1 commit
    • Mahmood Ali's avatar
      tests: Lower package runtime · 744aab57
      Mahmood Ali authored
      Lowering the runtime here to pre 7ca535aa expectations.
      
      The longest package at the time `client/driver` shrunk significantly,
      and now the longest packages take less than 5 minutes.
      
      We do have some long running timed out projects due to a stuck shutdown,
      but in completed jobs (though they failed), the longest packages took
      less than 5 minutes.  The longest running packages in
      https://travis-ci.org/hashicorp/nomad/jobs/464640776 were:
      
      ```
      FAIL  github.com/hashicorp/nomad/nomad                                   268.089s
      ok    github.com/hashicorp/nomad/drivers/docker                          203.903s  coverage:  68.8%   of  statements
      ok    github.com/hashicorp/nomad/drivers/rkt                             132.104s  coverage:  65.0%   of  statements
      ok    github.com/hashicorp/nomad/api                                     123.193s  coverage:  62.9%   of  statements
      ok    github.com/hashicorp/nomad/command/agent                           74.657s   coverage:  72.3%   of  statements
      ok    github.com/hashicorp/nomad/command                                 63.592s   coverage:  42.7%   of  statements
      ```
      744aab57
  21. 29 Nov, 2018 1 commit
  22. 20 Nov, 2018 1 commit
  23. 13 Nov, 2018 1 commit
    • Mahmood Ali's avatar
      increase timeout to 30 minutes · 7ca535aa
      Mahmood Ali authored
      nomad/client take very long and exceed 15m sometimes:
      
      In https://travis-ci.org/hashicorp/nomad/jobs/452990197 :
      
      ```
      panic: test timed out after 15m0s
      
      goroutine 4739 [running]:
      testing.(*M).startAlarm.func1()
      	/home/travis/.gimme/versions/go1.11.2.linux.amd64/src/testing/testing.go:1296 +0xfd
      ....
      goroutine 4665 [select]:
      github.com/hashicorp/nomad/vendor/google.golang.org/grpc.newClientStream.func5(0xc0003dd500, 0xc000420120, 0x2b3f86295588, 0xc000496810)
      	/home/travis/gopath/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/stream.go:287 +0xd7
      created by github.com/hashicorp/nomad/vendor/google.golang.org/grpc.newClientStream
      	/home/travis/gopath/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/stream.go:286 +0x842
      FAIL	github.com/hashicorp/nomad/client/driver	900.036s
      ```
      7ca535aa
  24. 07 Nov, 2018 2 commits
    • Alex Dadgar's avatar
      seperate struct and proto generation · 873cf30a
      Alex Dadgar authored
      873cf30a
    • Alex Dadgar's avatar
      Device manager · 57f40c7e
      Alex Dadgar authored
      Introduce a device manager that manages the lifecycle of device plugins
      on the client. It fingerprints, collects stats, and forwards Reserve
      requests to the correct plugin. The manager, also handles device plugins
      failing and validates their output.
      57f40c7e
  25. 08 Oct, 2018 1 commit
  26. 25 Sep, 2018 1 commit
  27. 19 Sep, 2018 3 commits
  28. 27 Aug, 2018 1 commit
  29. 06 Aug, 2018 1 commit
  30. 11 Jun, 2018 1 commit