Commit Graph

12719 Commits

Author SHA1 Message Date
Preetha Appan dccb693221
test for setcontainsany, and treat set_contains same as set_contains_all 2018-09-04 16:10:11 -05:00
Preetha Appan 70bfd0c0cb
Address some review feedback 2018-09-04 16:10:11 -05:00
Preetha Appan 8685593ec0
Back out changes to propertyset that were not necessary for affinities 2018-09-04 16:10:11 -05:00
Preetha Appan 5eacd6ada4
Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
Preetha Appan c407e3626f
More review comments 2018-09-04 16:10:11 -05:00
Preetha Appan dbbb4a957a
Fail validation if system job has affinities 2018-09-04 16:10:11 -05:00
Preetha Appan 0bc030c6fb
Treat set_contains as a synonym of set_contains_all 2018-09-04 16:10:11 -05:00
Preetha Appan e85a721cfb
Include affinities in job and task diff, and more test cases 2018-09-04 16:10:11 -05:00
Preetha Appan f3c4eead91
Refactor method to return affinity struct, and add extra test at task level 2018-09-04 16:10:11 -05:00
Preetha Appan f06c7ab2ad
Fix Copy method for job and task to include affinities 2018-09-04 16:10:11 -05:00
Preetha Appan 4b3b618e4a
Remove unused field 2018-09-04 16:10:11 -05:00
Preetha Appan 9f0caa9c3d
Affinity parsing, api and structs 2018-09-04 16:10:11 -05:00
Preetha Appan a0e60afbdc
Update changelog 2018-09-04 15:00:34 -05:00
Preetha a76bb00105
Merge pull request #4632 from hashicorp/b-delay-heap-race
Use eval broker lock when reading/modifying delay heap
2018-09-04 13:58:04 -06:00
Michael Schurter 9bc34d8c7f
Merge pull request #4627 from hashicorp/doc-rkt-group
docs: mention rkt group option
2018-09-04 10:21:47 -07:00
Preetha Appan 9e29cfee76
Use readlock 2018-09-04 11:45:05 -05:00
Michael Schurter 36073157fb
Merge pull request #4620 from hashicorp/f-optional-race
Add a -race enabled build to Travis
2018-08-31 14:03:28 -07:00
Nick Ethier 3e82ad74f4
Merge branch 'master' of https://github.com/hashicorp/nomad
* 'master' of https://github.com/hashicorp/nomad: (59 commits)
  Test coverage for the promote canary feature
  Update README.md
  launcher readme
  Add stats to launcher
  Add stats to example plugin
  Example device plugin and helpers
  Fix the flickering issue with start/stop job
  Add a confirmation loading state to the two-step-button component
  Switch stop/run job actions to EC tasks
  Test coverage for the Start Job behavior
  Add Start Job action on the job overview page for when a job is dead
  gofmt -s
  Update the info message about token storage
  Switch token storage to localStorage from sessionStorage
  add stats to device interface
  Change the latest deployment component to include a Promote Canary button
  Support the promote deployment api action
  Simplify the data control flow around job.plan()
  statistics protos
  Acceptance tests for the edit behaviors on the job definition page
  ...
2018-08-31 14:46:20 -04:00
Nick Ethier 22c620e9f9
add changelog line for npe fix 2018-08-31 14:45:38 -04:00
Preetha Appan 062e5f1898
Use eval broker lock when reading/modifying delay heap 2018-08-31 10:59:48 -05:00
Alex Dadgar 845f75a45e Website docs 2018-08-30 14:20:32 -07:00
Alex Dadgar c0de218747 plugin dir parsing 2018-08-30 13:43:09 -07:00
Michael Lange 33da5ed14f
Merge pull request #4600 from hashicorp/f-ui-job-writes
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange ebe0e97b1a
Merge pull request #4615 from hashicorp/f-ui-restart-stopped-job
UI: Restart stopped job
2018-08-30 09:49:14 -07:00
Michael Lange 3c2e7b7dd3
Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange 62e9cf268b Test coverage for the promote canary feature 2018-08-30 09:38:29 -07:00
Alex Dadgar bff1669ee4 Plugin config parsing 2018-08-29 17:06:01 -07:00
Michael Lange f641a22e9c
Merge pull request #4628 from hashicorp/f-ui-use-ls-not-ss-for-tokens
UI: Use localStorage instead of sessionStorage to store ACL tokens
2018-08-28 15:27:09 -07:00
Alex Dadgar 6a1db58593
Update README.md 2018-08-28 15:08:59 -07:00
Alex Dadgar b7f3e24391 launcher readme 2018-08-28 15:00:48 -07:00
Alex Dadgar 63ad69ab91
Merge pull request #4598 from hashicorp/f-device-plugin-example
Example device plugin and helpers
2018-08-28 14:00:12 -07:00
Alex Dadgar e14fa23961 Add stats to launcher 2018-08-28 13:59:57 -07:00
Alex Dadgar 3e3ca1ac04 Add stats to example plugin 2018-08-28 13:59:57 -07:00
Alex Dadgar 83ad5afb69 Example device plugin and helpers
This PR introduces:
* An example device plugin that exposes files as devices for testing.
* Helpers for serving a device plugin
* A launcher binary that allows interacting with a device plugin without
needing a Nomad client.
2018-08-28 13:59:57 -07:00
Alex Dadgar 30d1635051
Merge pull request #4621 from hashicorp/f-device-stats
Device plugins expose device statistics
2018-08-28 13:59:24 -07:00
Michael Lange 182e020835 Fix the flickering issue with start/stop job
When the server doesn't respond immediately, there is a visible window
of time between the action being submitted and the blocking query coming
back with the new job status.
2018-08-28 11:27:00 -07:00
Michael Lange 37acc77c9c Add a confirmation loading state to the two-step-button component 2018-08-28 11:27:00 -07:00
Michael Lange c8492682e1 Switch stop/run job actions to EC tasks 2018-08-28 11:27:00 -07:00
Michael Lange 18d5efce1e Test coverage for the Start Job behavior 2018-08-28 11:27:00 -07:00
Michael Lange a4d951a757 Add Start Job action on the job overview page for when a job is dead 2018-08-28 11:27:00 -07:00
Michael Lange e9454e1b05
Merge pull request #4612 from hashicorp/f-ui-job-edit
UI: Edit a job
2018-08-28 11:26:16 -07:00
Alex Dadgar cefa806519 gofmt -s 2018-08-28 10:32:03 -07:00
Michael Lange 0142f97069 Update the info message about token storage 2018-08-28 10:05:36 -07:00
Michael Lange 0eb5e61e36 Switch token storage to localStorage from sessionStorage 2018-08-28 10:05:15 -07:00
Michael Schurter b8b641c8e1 docs: mention rkt group option 2018-08-28 09:41:21 -07:00
Alex Dadgar c394798106 add stats to device interface 2018-08-27 16:11:07 -07:00
Michael Schurter cb9663acf2 Add a -race enabled build to Travis
Allow it to fail for now with the goal of making it the default build in
the future.
2018-08-27 14:15:56 -07:00
Michael Schurter c4028769ad
Merge pull request #4614 from wyattanderson/wa-eligibility-docs
Add documentation for eligibility toggle endpoint
2018-08-27 10:48:47 -07:00
Preetha c6e3924758
Merge pull request #4617 from hashicorp/docs-reord
Rebased docs reorg
2018-08-27 07:21:31 -07:00
Preetha Appan 9863449ff3
Minor wording change 2018-08-27 09:19:22 -05:00