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. 11 Oct, 2022 2 commits
    • Seth Hoenig's avatar
      helpers: lockfree lookup of nobody user on unix systems (#14866) · 9e9ddbdd
      Seth Hoenig authored
      * helpers: lockfree lookup of nobody user on linux and darwin
      
      This PR continues the nobody user lookup saga, by making the nobody
      user lookup lock-free on linux and darwin.
      
      By doing the lookup in an init block this originally broke on Windows,
      where we must avoid doing the lookup at all. We can get around that
      breakage by only doing the lookup on linux/darwin where the nobody
      user is going to exist.
      
      Also return the nobody user by value so that a copy is created that
      cannot be modified by callers of Nobody().
      
      * helper: move nobody code into unix file
      9e9ddbdd
    • Seth Hoenig's avatar
      servicedisco: implicit constraint for nomad v1.4 when using nsd checks (#14868) · 41be9cc2
      Seth Hoenig authored
      This PR adds a jobspec mutator to constrain jobs making use of checks
      in the nomad service provider to nomad clients of at least v1.4.0.
      
      Before, in a mixed client version cluster it was possible to submit
      an NSD job making use of checks and for that job to land on an older,
      incompatible client node.
      
      Closes #14862
      41be9cc2
  2. 10 Oct, 2022 3 commits
  3. 07 Oct, 2022 2 commits
  4. 06 Oct, 2022 19 commits
  5. 05 Oct, 2022 1 commit
  6. 04 Oct, 2022 5 commits
  7. 03 Oct, 2022 3 commits
    • Michael Schurter's avatar
      Fixing flaky TestOverlap test (#14780) · 617f2232
      Michael Schurter authored
      * test: ensure feasible node selected in overlap test
      
      * test: warn when getting close to retry limit
      617f2232
    • Elijah Voigt's avatar
      Docs(job-specification/periodic): Add enabled toggle (#14767) · 5fdcbf08
      Elijah Voigt authored
      This is probably undocumented for a reason, but the `enabled` toggle in the
      `periodic` stanza is very useful so I figured I try adding it to the docs.
      
      The feature has been secretly avaliable since #9142 and was called out in that
      PR as being a dubious addition, only added to avoid regressions.
      
      The use case for disabling a periodic job in this way is to prevent it from
      running without modifying the schedule. Ideally Nomad would make it more clear
      that this was the case, and allow you to force a run of the job, but even with
      those rough edges I think users would benefit from knowing about this toggle.
      5fdcbf08
    • Tim Gross's avatar
      internals documentation with diagrams (#14750) · 98deb8d8
      Tim Gross authored
      This changeset adds new architecture internals documents to the contributing
      guide. These are intentionally here and not on the public-facing website because
      the material is not required for operators and includes a lot of diagrams that
      we can cheaply maintain with mermaid syntax but would involve art assets to have
      up on the main site that would become quickly out of date as code changes happen
      and be extremely expensive to maintain. However, these should be suitable to use
      as points of conversation with expert end users.
      
      Included:
      * A description of Evaluation triggers and expected counts, with examples.
      * A description of Evaluation states and implicit states. This is taken from an
        internal document in our team wiki.
      * A description of how writing the State Store works. This is taken from a
        diagram I put together a few months ago for internal education purposes.
      * A description of Evaluation lifecycle, from registration to running
        All...
      98deb8d8
  8. 30 Sep, 2022 4 commits
  9. 29 Sep, 2022 1 commit
    • Phil Renaud's avatar
      [ui] Bugfix: reinstate the "this variable will be accessible by... · 50001d11
      Phil Renaud authored
      [ui] Bugfix: reinstate the "this variable will be accessible by $job/$group/$task" notification (#14741)
      
      * When we isolated the variable form path to within its component for isolation reasons, we lost the model-level checks for related entites at type-time
      
      * Be a little more functionally pure
      
      * Use Ember.set to appease mirage
      50001d11