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. 22 Jul, 2021 8 commits
  2. 21 Jul, 2021 6 commits
  3. 20 Jul, 2021 3 commits
    • Nicholas Cioli's avatar
      ui: add parameterized dispatch interface (#10675) · 801a7324
      Nicholas Cioli authored
      * ui: add parameterized dispatch interface
      
      This commit adds a new interface for dispatching parameteried jobs, if
      the user has the right permissions. The UI can be accessed by viewing a
      parameterized job and clicking on the "Dispatch Job" button located in
      the "Job Launches" section.
      
      * fix failing lint test
      
      * clean up dispatch and remove meta
      
      This commit cleans up a few things that had typos and
      inconsistent naming. In line with this, the custom
      `meta` view was removed in favor of using the
      included `AttributesTable`.
      
      * ui: encode dispatch job payload and start adding tests
      
      * ui: remove unused test imports
      
      * ui: redesign job dispatch form
      
      * ui: initial acceptance tests for dispatch job
      
      * ui: generate parameterized job children with correct id format
      
      * ui: fix job dispatch breadcrumb link
      
      * ui: refactor job dispatch component into glimmer component and add form validation
      
      * ui: remove unused CSS class
      
      * ui: align...
      801a7324
    • Jai Bhagat's avatar
      refactoring for same regression in job versions · b09559eb
      Jai Bhagat authored
      In job versions, if you have an ACL token with a write policy
      you should be able to revert a job, however, that was not the
      case here. This is because we're using ember-can to check if
      the user can run a job. That permission relies on policiesSupportRunning
      which uses a function called namespaceIncludesCapability. We're going to
      need to refactor any cases that use this function.
      b09559eb
    • Mahmood Ali's avatar
      client: avoid acting on stale data after launch (#10907) · 3165ae81
      Mahmood Ali authored
      When the client launches, use a consistent read to fetch its own allocs,
      but allow stale read afterwards as long as reads don't revert into older
      state.
      
      This change addresses an edge case affecting restarting client. When a
      client restarts, it may fetch a stale data concerning its allocs: allocs
      that have completed prior to the client shutdown may still have "run/running"
      desired/client status, and have the client attempt to re-run again.
      
      An alternative approach is to track the indices such that the client
      set MinQueryIndex on the maximum index the client ever saw, or compare
      received allocs against locally restored client state. Garbage
      collection complicates this approach (local knowledge is not complete),
      and the approach still risks starting "dead" allocations (e.g. the
      allocation may have been placed when client just restarted and have
      already been reschuled by the time the client started. This approach
      here is effective again...
      3165ae81
  4. 19 Jul, 2021 1 commit
  5. 16 Jul, 2021 5 commits
  6. 15 Jul, 2021 2 commits
  7. 14 Jul, 2021 12 commits
  8. 13 Jul, 2021 3 commits