Commit Graph

12520 Commits

Author SHA1 Message Date
Preetha Appan
5cd8d1fe82 Some minor changes from code review 2018-09-04 16:10:11 -05:00
Preetha Appan
1340533c99 Fix after rename to ConstraintSetContainsAny 2018-09-04 16:10:11 -05:00
Preetha Appan
3d3a5aa4ad Fix linting 2018-09-04 16:10:11 -05:00
Preetha Appan
b5042067e7 Remove unnecessary reset 2018-09-04 16:10:11 -05:00
Preetha Appan
db7a8b691f test for setcontainsany, and treat set_contains same as set_contains_all 2018-09-04 16:10:11 -05:00
Preetha Appan
a236342caa Address some review feedback 2018-09-04 16:10:11 -05:00
Preetha Appan
3f7e0ffa4d Back out changes to propertyset that were not necessary for affinities 2018-09-04 16:10:11 -05:00
Preetha Appan
00924555a8 Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
Preetha Appan
f907c42ba5 More review comments 2018-09-04 16:10:11 -05:00
Preetha Appan
9aa07bd1f5 Fail validation if system job has affinities 2018-09-04 16:10:11 -05:00
Preetha Appan
25ad4643c3 Treat set_contains as a synonym of set_contains_all 2018-09-04 16:10:11 -05:00
Preetha Appan
09544f640c Include affinities in job and task diff, and more test cases 2018-09-04 16:10:11 -05:00
Preetha Appan
218ce28554 Refactor method to return affinity struct, and add extra test at task level 2018-09-04 16:10:11 -05:00
Preetha Appan
8895f0c1f8 Fix Copy method for job and task to include affinities 2018-09-04 16:10:11 -05:00
Preetha Appan
1774aa2526 Remove unused field 2018-09-04 16:10:11 -05:00
Preetha Appan
8f2d5742c4 Affinity parsing, api and structs 2018-09-04 16:10:11 -05:00
Preetha Appan
b9b75c8f97 Update changelog 2018-09-04 15:00:34 -05:00
Preetha
a78d0c32bc 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
fd827f8d0e Merge pull request #4627 from hashicorp/doc-rkt-group
docs: mention rkt group option
2018-09-04 10:21:47 -07:00
Preetha Appan
2d1c9d2a99 Use readlock 2018-09-04 11:45:05 -05:00
Michael Schurter
95855f068f 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
661502b31a 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
01d820bcfc add changelog line for npe fix 2018-08-31 14:45:38 -04:00
Preetha Appan
482e086d54 Use eval broker lock when reading/modifying delay heap 2018-08-31 10:59:48 -05:00
Michael Lange
130e951a37 Merge pull request #4600 from hashicorp/f-ui-job-writes
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
334358ad24 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
d824b70cee Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
c96c99aa37 Test coverage for the promote canary feature 2018-08-30 09:38:29 -07:00
Michael Lange
240eb6697c 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
dc48000da1 Update README.md 2018-08-28 15:08:59 -07:00
Alex Dadgar
ec2ecb4e90 launcher readme 2018-08-28 15:00:48 -07:00
Alex Dadgar
cd3cf01cc2 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
ee9d3cfe0e Add stats to launcher 2018-08-28 13:59:57 -07:00
Alex Dadgar
7d438219e6 Add stats to example plugin 2018-08-28 13:59:57 -07:00
Alex Dadgar
a0b01d16c6 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
5f03921a46 Merge pull request #4621 from hashicorp/f-device-stats
Device plugins expose device statistics
2018-08-28 13:59:24 -07:00
Michael Lange
f4ceb2264c 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
f79f037096 Add a confirmation loading state to the two-step-button component 2018-08-28 11:27:00 -07:00
Michael Lange
f09e9a41bc Switch stop/run job actions to EC tasks 2018-08-28 11:27:00 -07:00
Michael Lange
1b481a3b72 Test coverage for the Start Job behavior 2018-08-28 11:27:00 -07:00
Michael Lange
619376c3b8 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
916cc52812 Merge pull request #4612 from hashicorp/f-ui-job-edit
UI: Edit a job
2018-08-28 11:26:16 -07:00
Alex Dadgar
805d8cc841 gofmt -s 2018-08-28 10:32:03 -07:00
Michael Lange
42a30ab694 Update the info message about token storage 2018-08-28 10:05:36 -07:00
Michael Lange
12bdfbdf47 Switch token storage to localStorage from sessionStorage 2018-08-28 10:05:15 -07:00
Michael Schurter
064d7006a7 docs: mention rkt group option 2018-08-28 09:41:21 -07:00
Alex Dadgar
203fe30d18 add stats to device interface 2018-08-27 16:11:07 -07:00
Michael Schurter
ec1d3e1000 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
78ed7c05b8 Merge pull request #4614 from wyattanderson/wa-eligibility-docs
Add documentation for eligibility toggle endpoint
2018-08-27 10:48:47 -07:00
Preetha
ae82fef126 Merge pull request #4617 from hashicorp/docs-reord
Rebased docs reorg
2018-08-27 07:21:31 -07:00