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. 09 May, 2019 4 commits
  2. 30 Apr, 2019 10 commits
    • Mahmood Ali's avatar
      add nomad streaming exec core data structures and interfaces · 6d711d05
      Mahmood Ali authored
      In this commit, we add two driver interfaces for supporting `nomad exec`
      invocation:
      
      * A high level `ExecTaskStreamingDriver`, that operates on io reader/writers.
        Drivers should prefer using this interface
      * A low level `ExecTaskStreamingRawDriver` that operates on the raw stream of
        input structs; useful when a driver delegates handling to driver backend (e.g.
        across RPC/grpc).
      
      The interfaces are optional for a driver, as `nomad exec` support is opt-in.
      Existing drivers continue to compile without exec support, until their
      maintainer add such support.
      
      Furthermore, we create protobuf structures to represent exec stream entities:
      `ExecTaskStreamingRequest` and `ExecTaskStreamingResponse`.  We aim to reuse the
      protobuf generated code as much as possible, without translation to avoid
      conversion overhead.
      
      `ExecTaskStream` abstract fetching and sending stream entities.  It's influenced
      by the grpc bi-directional stream interface, to avoid needing any adapter.  I
      considered using channels, but the asynchronisity and concurrency makes buffer
      reuse too complicated, which would put more pressure on GC and slows exec operation.
      6d711d05
    • Mahmood Ali's avatar
      Add ACL capabilities for nomad exec · 4f7bd68f
      Mahmood Ali authored
      This adds `alloc-exec` capability to allow operator to execute command into a
      running task.  Furthermore, it adds `alloc-node-exec` capability, required when
      the alloc task is raw_exec or a driver with no FSIsolation.
      4f7bd68f
    • Mahmood Ali's avatar
      drivers/mock: extract command related operations · e79ce1f9
      Mahmood Ali authored
      Extract command parsing and execution mocking into a separate struct.  Also,
      allow mocking of different fs_isolation for testing.
      e79ce1f9
    • Mahmood Ali's avatar
      test helper for registering jobs with acl · 75349d64
      Mahmood Ali authored
      Test helper that allows registration of jobs when ACL is activated.
      75349d64
    • Mahmood Ali's avatar
      aux: helper method that returns token as well as ACL policy · 43cd7a71
      Mahmood Ali authored
      This helper returns the token as well as the ACL policy, to be used in a later
      commit for logging the token info associated with nomad exec invocation.
      43cd7a71
    • Charlie Voiselle's avatar
      Merge pull request #5630 from jweissig/patch-5 · 15d40ac2
      Charlie Voiselle authored
      Fixed typo
      15d40ac2
    • Mahmood Ali's avatar
      update 0.9.1 changelog · f94fd532
      Mahmood Ali authored
      f94fd532
    • Danielle's avatar
      Merge pull request #5614 from hashicorp/dani/we-released-a-hotfix · 90036dea
      Danielle authored
      Update CHANGELOG and version.go to reflect 0.9.1/0.9.2 split
      90036dea
    • Danielle Lancashire's avatar
      8179d4aa
    • Justin Weissig's avatar
      Fixed typo · 9f7703c5
      Justin Weissig authored
      Fixed typo: "dots wil be"/"dots will be".
      9f7703c5
  3. 29 Apr, 2019 5 commits
  4. 28 Apr, 2019 3 commits
  5. 26 Apr, 2019 13 commits
  6. 25 Apr, 2019 5 commits