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. 17 Feb, 2022 1 commit
  2. 16 Feb, 2022 1 commit
    • Seth Hoenig's avatar
      build: respect GOBIN when using make targets · 06613d65
      Seth Hoenig authored
      This PR updates GNUMakefile to respect $GOBIN if it is set in the
      environment or via an $GOENV file. Previously we hard-coded the output
      to $GOPATH/bin, which is not necessarily the desired behavior.
      06613d65
  3. 14 Feb, 2022 1 commit
  4. 10 Feb, 2022 1 commit
  5. 01 Feb, 2022 1 commit
  6. 28 Jan, 2022 1 commit
  7. 24 Jan, 2022 1 commit
    • Seth Hoenig's avatar
      build: upgrade and speedup circleci configuration · 8492c657
      Seth Hoenig authored
      This PR upgrades our CI images and fixes some affected tests.
      
      - upgrade go-machine-image to premade latest ubuntu LTS (ubuntu-2004:202111-02)
      
      - eliminate go-machine-recent-image (no longer necessary)
      
      - manage GOPATH in GNUMakefile (see https://discuss.circleci.com/t/gopath-is-set-to-multiple-directories/7174)
      
      - fix tcp dial error check (message seems to be OS specific)
      
      - spot check values measured instead of specifically 'RSS' (rss no longer reported in cgroups v2)
      
      - use safe MkdirTemp for generating tmpfiles
      
      NOT applied: (too flakey)
      
      - eliminate setting GOMAXPROCS=1 (build tools were also affected by this setting)
      
      - upgrade resource type for all imanges to large (2C -> 4C)
      8492c657
  8. 19 Jan, 2022 1 commit
  9. 06 Jan, 2022 1 commit
    • Charlie Voiselle's avatar
      Make number of scheduler workers reloadable (#11593) · 6e61606e
      Charlie Voiselle authored
      
      ## Development Environment Changes
      * Added stringer to build deps
      
      ## New HTTP APIs
      * Added scheduler worker config API
      * Added scheduler worker info API
      
      ## New Internals
      * (Scheduler)Worker API refactor—Start(), Stop(), Pause(), Resume()
      * Update shutdown to use context
      * Add mutex for contended server data
          - `workerLock` for the `workers` slice
          - `workerConfigLock` for the `Server.Config.NumSchedulers` and
            `Server.Config.EnabledSchedulers` values
      
      ## Other
      * Adding docs for scheduler worker api
      * Add changelog message
      Co-authored-by: default avatarDerek Strickland <1111455+DerekStrickland@users.noreply.github.com>
      6e61606e
  10. 13 Dec, 2021 1 commit
  11. 24 Nov, 2021 1 commit
  12. 22 Nov, 2021 1 commit
  13. 16 Nov, 2021 1 commit
  14. 15 Oct, 2021 1 commit
    • Mahmood Ali's avatar
      ease building Linux binaries on macOS (#11329) · c46c530a
      Mahmood Ali authored
      Meant for development purposes only, so one can compile binary on a
      macos host then start a Docker container or scp the binary to a linux
      host easily.
      
      The resulting binary is statically linked and has very subtle
      differences. e.g. static binaries use go native network stack that
      honor /etc/hosts and /etc/resolve differently from the glibc
      implementation. In development environment, I don't expect these to
      materially change our experience.
      c46c530a
  15. 14 Oct, 2021 2 commits
  16. 20 Sep, 2021 1 commit
  17. 01 Sep, 2021 1 commit
    • Mahmood Ali's avatar
      Format Terraform files (#11099) · cd591721
      Mahmood Ali authored
      Also format terraform scripts with hclfmt, equivalent to terraform fmt.
      
      I opted not to use terraform fmt, because I didn't want to introduce dev dependency on the terraform CLI.
      
      Also, I've optimized the find command to ignore spurious directories (e.g. .git, node_modules) that seem to be populated with too many files! make hclfmt takes 0.3s on my mac down from 7 seconds!
      cd591721
  18. 31 Aug, 2021 1 commit
  19. 09 Aug, 2021 1 commit
  20. 29 Jul, 2021 1 commit
  21. 14 Jul, 2021 1 commit
    • Seth Hoenig's avatar
      build: no longer use vendor directory · 8869c4dd
      Seth Hoenig authored
      This PR removes the vendor directory from the Nomad repository.
      Contributers will no longer need to deal with our `make sync`
      step when working on Nomad, which was suprising when making changes
      to the api. It also causes huge diffs in PRs that nobody looks at.
      8869c4dd
  22. 06 Jul, 2021 1 commit
  23. 06 Apr, 2021 1 commit
    • Seth Hoenig's avatar
      build: install buf during bootstrap · c85bbbee
      Seth Hoenig authored
      Previously installing buf was left out of `make bootstrap` because it
      had conflicts with the `tools/go.mod` file and dependencies used by
      other tools. With Go 1.16 we eliminated that `go.mod` file, and can
      now just install `buf` with `go install` like everything else.
      c85bbbee
  24. 03 Apr, 2021 1 commit
  25. 02 Apr, 2021 1 commit
    • Mahmood Ali's avatar
      Tweak cross compilation Make · caaeaa02
      Mahmood Ali authored
      Only use cross compile if not compiling in target architecture.
      
      Also, use the latest gcc for cross compilation.
      caaeaa02
  26. 01 Apr, 2021 1 commit
    • Mahmood Ali's avatar
      dev: ignore msgpack codegen code in dev by default · c868444b
      Mahmood Ali authored
      This change disables using msgpack generated serializers in dev by
      default.
      
      In released binaries, we use code-generated msgpack serializers to
      improve performance.  However, in development, code generated
      serializers are a pain. If a developer forgets to re-generate code, the
      code generated gets out of sync with the go structs, and result into
      subtle bugs where some values appear not to persist as expected.
      
      The CI and release scripts will continue to use the msgpack
      code-generation. Devs who want to test locally can set
      `GO_TAGS=codegen_generated` as well.
      c868444b
  27. 09 Mar, 2021 1 commit
  28. 01 Feb, 2021 2 commits
  29. 12 Jan, 2021 2 commits
  30. 18 Dec, 2020 1 commit
    • Kris Hicks's avatar
      makefile: Re-scope VERBOSE=true, update build warnings (#9675) · 19d5cd02
      Kris Hicks authored
      * Set 'only' ALL_TARGETS rather than append
      
      This is functionally no different than before, but it's more correct.
      
      * Re-scope VERBOSE=true
      
      Previously this was only set when the OS was Linux; this was added in
      805ade7d.
      
      * Warn about unsupported OS rather than error
      
      Also:
      
      * Only print the warning when trying to build Nomad
      * Print correct list of supported OSes
      19d5cd02
  31. 16 Dec, 2020 1 commit
  32. 15 Dec, 2020 1 commit
    • Seth Hoenig's avatar
      build: add build target for darwin/arm64 · 25cf8b26
      Seth Hoenig authored
      Add a build target for Apple Silicon (m1) macs.
      
      Note that Go must have been built with c4f497da6f for
      Nomad to work on darwin/arm64 (i.e. wait for go1.16).
      
      Closes #9408
      25cf8b26
  33. 14 Dec, 2020 2 commits
  34. 23 Nov, 2020 1 commit
  35. 20 Nov, 2020 2 commits
    • Mahmood Ali's avatar
      lint protobuf files · dbf201b2
      Mahmood Ali authored
      dbf201b2
    • Mahmood Ali's avatar
      Parameterize buf compatibility target · c4a83f79
      Mahmood Ali authored
      Parameterize it so we can arbitrary target other versions, if we
      are doing some manual checking, specially in the beginning when we may
      want to validate compatibilities for skip release upgrades.
      
      Also, introduce `checkbuf` target so we can run buf linter without the
      rest.
      
      use beta
      c4a83f79