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. 27 Sep, 2022 1 commit
  2. 23 Sep, 2022 1 commit
    • Jai's avatar
      test: watcher (#14674) · 0abc068e
      Jai authored
      * chore: update error message in client
      
      * test: test watchers
      0abc068e
  3. 16 Sep, 2022 1 commit
  4. 14 Sep, 2022 1 commit
    • Tim Gross's avatar
      E2E/UI: set `NOMAD_PROXY_ADDR` separately from `NOMAD_ADDR` (#14587) · 3c6167c5
      Tim Gross authored
      The Nomad UI will be proxied by the proxy job, but the test setup also requires
      making direct HTTP API requests that bypass the UI. For clusters with mTLS
      configured (ex. nightly), we need to bind-mount the user's mTLS certs picked up
      by the API client into the test runner.
      
      Includes a new README that explains the topology of the test environments in
      detail and provides some advice for running locally.
      3c6167c5
  5. 13 Sep, 2022 2 commits
  6. 06 Sep, 2022 1 commit
  7. 01 Sep, 2022 1 commit
  8. 26 Aug, 2022 1 commit
  9. 22 Aug, 2022 1 commit
    • Jai's avatar
      refactor: (#14216) · 3624eeec
      Jai authored
      * chore: remove execa and add axios
      
      * chore: add utilities for request payloads
      
      * util: create api-client helper function
      
      * refact: remove spawn child process for REST API calls
      
      * chore: fix line breaks
      
      * refact: edit request schema for  POST req
      3624eeec
  10. 18 Aug, 2022 3 commits
  11. 17 Aug, 2022 4 commits
    • Phil Renaud's avatar
      [ui] general keyboard navigation: 1.3.4 release (#14138) · 3bf56334
      Phil Renaud authored
      * Initialized keyboard service
      
      Neat but funky: dynamic subnav traversal
      
      :ghost:
      
      generalized traverseSubnav method
      
      Shift as special modifier key
      
      Nice little demo panel
      
      Keyboard shortcuts keycard
      
      Some animation styles on keyboard shortcuts
      
      Handle situations where a link is deeply nested from its parent menu item
      
      Keyboard service cleanup
      
      helper-based initializer and teardown for new contextual commands
      
      Keyboard shortcuts modal component added and demo-ghost removed
      
      Removed j and k from subnav traversal
      
      Register and unregister methods for subnav plus new subnavs for volumes and volume
      
      register main nav method
      
      Generalizing the register nav method
      
      12762 table keynav (#12975)
      
      * Experimental feature: shortcut visual hints
      
      * Long way around to a custom modifier for keyboard shortcuts
      
      * dynamic table and list iterative shortcuts
      
      * Progress with regular old tether
      
      * Delogging
      
      * Table Keynav tether fix, server and client navs, and fix to shiftless on modified arrow keys
      
      Go to Optimize keyboard link and storage key changed to g r
      
      parameterized jobs keyboard nav
      
      Dynamic numeric keynav for multiple tables (#13482)
      
      * Multiple tables init
      
      * URL-bind enumerable keyboard commands and add to more taskRow and allocationRows
      
      * Type safety and lint fixes
      
      * Consolidated push to keyCommands
      
      * Default value when removing keyCommands
      
      * Remove the URL-based removal method and perform a recompute on any add
      
      Get tests passing in Keynav: remove math helpers and a few other defensive moves (#13761)
      
      * Remove ember math helpers
      
      * Test fixes for jobparts/body
      
      * Kill an unneeded integration helper test
      
      * delog
      
      * Trying if disabling percy lets this finish
      
      * Okay so its not percy; try parallelism in circle
      
      * Percyless yet again
      
      * Trying a different angle to not have percy
      
      * Upgrade percy to 1.6.1
      
      [ui] Keyboard nav: "u" key to go up a level (#13754)
      
      * U to go up a level
      
      * Mislabelled my conditional
      
      * Custom lint ignore rule
      
      * Custom lint ignore rule, this time with commas
      
      * Since we're getting rid of ember math helpers elsewhere, do the math ourselves here
      
      Replace ArrowLeft etc. with an ascii arrow (#13776)
      
      * Replace ArrowLeft etc. with an ascii arrow
      
      * non-mutative helper cleanup
      
      Keyboard Nav: let users rebind their shortcuts (#13781)
      
      * click-outside and shortcuts enabled/disabled toggle
      
      * Trap focus when modal open
      
      * Enabled/disabled saved to localStorage
      
      * Autofocus edit button on variable index
      
      * Modal overflow styles
      
      * Functional rebind
      
      * Saving rebinds to localStorage for all majors
      
      * Started on defaultCommandBindings
      
      * Modal header style and cancel rebind on escape
      
      * keyboardable keybindings w buttons instead of spans
      
      * recording and defaultvalues
      
      * Enter short-circuits rebind
      
      * Only some commands are rebindable, and dont show dupes
      
      * No unused get import
      
      * More visually distinct header on modal
      
      * Disallowed keys for rebind, showing buffer as you type, and moving dedupe to modal logic
      
      willDestroy hook to prevent tests from doubling/tripling up addEventListener on kb events
      
      remove unused tests
      
      Keyboard Navigation acceptance tests (#13893)
      
      * Acceptance tests for keyboard modal
      
      * a11y audit fix and localStorage clear
      
      * Bind/rebind/localStorage tests
      
      * Keyboard tests for dynamic nav and tables
      
      * Rebinder and assert expectation
      
      * Second percy snapshot showing hints no longer relevant
      
      Weird issue where linktos with query props specifically from the task-groups page would fail to route / hit undefined.shouldSuperCede errors
      
      Adds the concept of exclusivity to a keycommand, removing peers that also share its label
      
      Lintfix
      
      Changelog and PR feedback
      
      Changelog and PR feedback
      
      Fix to rebinding in firefox by blurring the now-disabled button on rebind (#14053)
      
      * Secure Variables shortcuts removed
      
      * Variable index route autofocus removed
      
      * Updated changelog entry
      
      * Updated changelog entry
      
      * Keynav docs (#14148)
      
      * Section added to the API Docs UI page
      
      * Added a note about disabling
      
      * Prev and Next order
      
      * Remove dev log and unneeded comments
      3bf56334
    • Piotr Kazmierczak's avatar
      cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) · c4be2c60
      Piotr Kazmierczak authored
      Bumping compile time requirement to go 1.18 allows us to simplify our pointer helper methods.
      c4be2c60
    • Jai's avatar
      refact: conditional checks for token secret before fetch (#14134) · b9fec224
      Jai authored
      * refact: conditional checks for token secret before fetch
      
      * refact: guard all authRawReq calls
      
      * refact: safe-guard integration tests
      b9fec224
    • James Rasell's avatar
      8ebd21e9
  12. 16 Aug, 2022 16 commits
  13. 15 Aug, 2022 7 commits
    • Phil Renaud's avatar
      Handle conflict swith a cas qp on save and create (#14100) · 17005261
      Phil Renaud authored
      * Handle conflict swith a cas qp on save and create
      
      * Notify error and give them refresh or overwrite options
      
      * Merge conflict missed, resolved
      
      * Mirage fixture
      
      * Integration test
      
      * Bracket closed (thx jai)
      
      * Adjust tests to account for number of variables with auto-conflicter
      17005261
    • Tim Gross's avatar
      ACL: disallow missing `path` in secure variable policy (#14123) · b9d19522
      Tim Gross authored
      The HCL parser allows for labels that aren't needed, which makes it easy to
      accidentally write a `secure_variable` block that has the intended path as the
      label for that block instead of the innner `path` block. This can result in
      silent failure to lock down variables if an incorrectly specified block was used
      to reduce the scope of capabilities (for example, if another correctly-written
      rule allows access to `*`).
      
      We can't detect the extraneous label in the HCL API, but we can detect if we're
      missing `path` blocks entirely. Use this to block obvious user errors.
      b9d19522
    • Tim Gross's avatar
      api: document warnings for setting `api.ClientConnTimeout` (#14122) · fccc49a5
      Tim Gross authored
      HTTP API consumers that have network line-of-sight to client nodes can connect
      directly for a small number of APIs. But in environments where the consumer
      doesn't have line-of-sight, there's a long pause waiting for the
      `api.ClientConnTimeout` to expire. Warn about this in the API docs so that
      authors can avoid the extra timeout.
      fccc49a5
    • Charlie Voiselle's avatar
      SV CLI: var init (#13820) · 22194d43
      Charlie Voiselle authored
      * Nomad dep: add museli/reflow
      * SV CLI: var init
      22194d43
    • Jai's avatar
      refact: add parent check to boolean (#14115) · 7079692d
      Jai authored
      * refact: add parent check to boolean
      
      * chore:  add changelog entry
      7079692d
    • Phil Renaud's avatar
      UI variables made to be unique by namespace and path (#14072) · 9f51a5de
      Phil Renaud authored
      * Starting on namespaced id
      
      * Traversal for variables uniqued by namespace
      
      * Delog
      
      * Basic CRUD complete w namespaces included
      
      * Correct secvar breadcrumb joining and testfix now that namespaces are included
      
      * Testfixes with namespaces in place
      
      * Namespace-aware duplicate path warning
      
      * Duplicate path warning test additions
      
      * Trimpath reimplemented on dupe check
      
      * Solves a bug where slash was not being passed to the can write check
      
      * PR fixes
      
      * variable paths integration test fix now uses store
      
      * Seems far less hacky in retrospect
      
      * PR feedback addressed
      
      * test fixes after inclusion of path as local non-model var
      
      * Prevent confusion by dropping namespace from QPs on PUT, since its already in .data
      
      * Solves a harsh bug where you have namespace access but no secvars access (#14098)
      
      * Solves a harsh bug where you have namespace access but no secvars access
      
      * Lint cleanup
      
      * Remove unneeded co...
      9f51a5de
    • Tim Gross's avatar
      secure vars: filter by path in List RPCs (#14036) · ed55b97f
      Tim Gross authored
      The List RPCs only checked the ACL for the Prefix argument of the request. Add
      an ACL filter to the paginator for the List RPC.
      
      Extend test coverage of ACLs in the List RPC and in the `acl` package, and add a
      "deny" capability so that operators can deny specific paths or prefixes below an
      allowed path.
      ed55b97f