Commit Graph

11566 Commits

Author SHA1 Message Date
Michael Lange 825d7c4512 Add WaitUntil and followUpEvaluation 2018-05-04 19:36:54 -07:00
Michael Lange 940a5325c7 New reschedule-event-row component
Intended to be used in a timeline view.
2018-05-04 19:36:54 -07:00
Michael Lange 46fc0cedc3 Add rescheduled icon to allocation row 2018-05-04 19:36:54 -07:00
Michael Lange 927caa441e Refactor allocation-row 2018-05-04 19:36:54 -07:00
Michael Lange 97db138ce8 Add follow up eval relationship to allocation 2018-05-04 19:36:54 -07:00
Michael Lange c2d860955f Add shortId properties to reschedule events model 2018-05-04 19:36:54 -07:00
Michael Lange d66ecd3402 New is-narrow modifier for slim table cells
Useful for actions, icons, and checkboxes
2018-05-04 19:36:54 -07:00
Michael Lange 3ff8a38972 New is-hollow modifer for boxed-sections
An open layout that makes its contents feel less cramped. Useful for
large visualizations.
2018-05-04 19:36:54 -07:00
Michael Lange 2cea40a894 New is-faded modifier for icons
For when the icon should be less prominent than the content around it
2018-05-04 19:36:54 -07:00
Michael Lange ca172e1fc2 Modeling alloc reschedule events 2018-05-04 19:36:54 -07:00
Michael Lange a5be5ea6e1 New icon for showing history/paper trail
layers.svg from Open Iconic
2018-05-04 19:36:54 -07:00
Michael Schurter 0d534d30d6
Merge pull request #4251 from hashicorp/f-grpc-checks
Support Consul gRPC Health Checks
2018-05-04 14:55:16 -07:00
Michael Schurter 70b02875b7
Merge pull request #4234 from hashicorp/b-4159
Fix race in StreamFramer and truncation in api/AllocFS.Logs
2018-05-04 14:24:07 -07:00
Michael Schurter 0a63a322a0 docs: try to make grpc explanation less confusing 2018-05-04 14:18:40 -07:00
Michael Schurter a4caf8208b tests: fix grpc fields in task diff 2018-05-04 11:08:45 -07:00
Michael Schurter 91b84608fe docs: document grpc health check support 2018-05-04 11:08:45 -07:00
Michael Schurter f6a4713141 consul: make grpc checks more like http checks 2018-05-04 11:08:11 -07:00
Michael Schurter 0996c7da4e vendor: update consul for grpc 2018-05-04 11:08:11 -07:00
Michael Schurter 382caec1e1 consul: initial grpc implementation
Needs to be more like http.
2018-05-04 11:08:11 -07:00
Michael Schurter 944f1f9481
Merge pull request #4247 from hashicorp/f-expand-drain-info
Expand drain info for node status command
2018-05-04 11:06:02 -07:00
Michael Schurter cc13e733ac cli: expand drain info for node status 2018-05-04 10:32:25 -07:00
Preetha Appan 7985c8df30
Update CHANGELOG.md 2018-05-04 10:18:27 -05:00
Preetha Appan 048b642aff
Update CHANGELOG 2018-05-04 10:14:36 -05:00
Preetha 3d54cc14af
Merge pull request #4250 from hashicorp/b-set-modifyindex-next-alloc
Update ModifyIndex of alloc when setting NextAllocation value
2018-05-04 10:11:29 -05:00
Preetha Appan 52b3b53181
Update ModifyIndex of alloc when setting NextAllocation value 2018-05-03 17:04:36 -05:00
Nick Ethier 715ad80184
Merge pull request #4248 from hashicorp/f-short-init
changelog: init -short option
2018-05-03 16:03:56 -04:00
Nick Ethier beebdbb0a1
changelogfmt 2018-05-03 16:00:20 -04:00
Nick Ethier e78850e5c9
changelog: add line for init command -short option 2018-05-03 15:35:26 -04:00
Nick Ethier 8d73d90cd7
command: remove all comments from short init jobspec 2018-05-03 15:34:56 -04:00
Nick Ethier 468baf9823
Merge pull request #4239 from hashicorp/f-short-init
command: init -short flag
2018-05-02 13:49:44 -04:00
Michael Schurter 8c2fb3a58a
Merge pull request #4235 from portworx/master
Add Portworx Blog link
2018-05-02 10:49:00 -07:00
Michael Schurter 526af6a246 framer: fix early exit/truncation in framer 2018-05-02 10:46:16 -07:00
Michael Schurter f1a6aa103a framer: fix race and remove unused error var
In the old code `sending` in the `send()` method shared the Data slice's
underlying backing array with its caller. Clearing StreamFrame.Data
didn't break the reference from the sent frame to the StreamFramer's
data slice.
2018-05-02 10:46:16 -07:00
Michael Schurter 5d6bf2938f client: use a bytes.Reader for reading a []byte 2018-05-02 10:46:16 -07:00
Michael Schurter 7360fe3a6d client: squelch errors on cleanly closed pipes 2018-05-02 10:46:16 -07:00
Michael Schurter ffff97e25f client: don't spin on read errors 2018-05-02 10:46:16 -07:00
Michael Schurter e00e265da5 client: ensure cancel is always called when func exits 2018-05-02 10:46:16 -07:00
Michael Schurter d21b749c68 client: give pipe conns meaningful names 2018-05-02 10:46:16 -07:00
Michael Schurter 5ef0a82e6e client: reset encoders between uses
According to go/codec's docs, Reset(...) should be called on
Decoders/Encoders before reuse:

https://godoc.org/github.com/ugorji/go/codec

I could find no evidence that *not* calling Reset() caused bugs, but
might as well do what the docs say?
2018-05-02 10:46:16 -07:00
Michael Schurter 949938534b api: never return EOF from Logs error chan
Closing the frames chan is the only race-free way to signal to receivers
that all frames have been sent and no errors have occurred.

If EOF is sent on error chan receivers may not receive the last frame
(or frames since the chan is buffered) before receiving the error.

Closing frames is the idiomatic way of signaling there is no more data
to be read from a chan.
2018-05-02 10:46:16 -07:00
Michael Schurter 6f0e2e808b tests: test logs from client<->api package 2018-05-02 10:46:16 -07:00
Preetha 77642579d5
Merge pull request #4240 from hashicorp/f-add-reschedule-tracker-allocslist
Add RescheduleTracker to allocs list stub struct
2018-05-01 15:19:50 -05:00
Preetha Appan 274bed1892
Add RescheduleTracker to allocs list stub struct 2018-05-01 14:53:47 -05:00
Nick Ethier 842ed14e3f
command: add '-short' flag to init command that emits minimal jobspec 2018-05-01 12:51:13 -04:00
Jeff Silberman c6c9d5a3ce Add Portworx Blog link 2018-04-30 17:25:59 -07:00
Michael Schurter e1cd5af0be
Merge pull request #4225 from cryptomeme/patch-1
Missed change to `alloc status` from `alloc-status`
2018-04-30 11:04:16 -07:00
Alex Dadgar de4af37249 version bump and remove generated 2018-04-27 11:10:00 -07:00
Alex Dadgar d1be37358f website bump 2018-04-27 11:07:23 -07:00
Alex Dadgar ba46a799a6
Release v0.8.3 2018-04-27 11:04:17 -07:00
Alex Dadgar 28b4681f7e Merge branch 'master' of github.com:hashicorp/nomad 2018-04-27 10:50:12 -07:00