Alex Dadgar
f95230028d
Fix typos
2018-05-07 14:50:01 -05:00
Alex Dadgar
b8aa63a780
Add test where deployment is marked as complete when done even with failed allocs
2018-05-07 14:50:01 -05:00
Alex Dadgar
011a084ab4
Test fixes
2018-05-07 14:50:01 -05:00
Alex Dadgar
be3e3eadf6
fix reconcile tests
2018-05-07 14:50:01 -05:00
Alex Dadgar
b1df4611fe
Only reschedule allowed deployment allocs
2018-05-07 14:50:01 -05:00
Alex Dadgar
91402ed0d1
Set Reschedule from deployment watcher
2018-05-07 14:50:01 -05:00
Alex Dadgar
062f236683
Use UpdateAllocDesiredTransistion instead of UpsertEval but no transistions yet
2018-05-07 14:50:01 -05:00
Alex Dadgar
2d6264e75d
rework where time gets set
2018-05-07 14:50:01 -05:00
Alex Dadgar
1050b89ac3
small review feedback fixes
2018-05-07 14:50:01 -05:00
Alex Dadgar
c3b9a9c94e
Small test fix
2018-05-07 14:50:01 -05:00
Alex Dadgar
04a4b1fc00
Drop file
2018-05-07 14:50:01 -05:00
Alex Dadgar
0e2866db4f
add latest eval back
2018-05-07 14:50:01 -05:00
Alex Dadgar
e424a11223
Pass through timestamp
2018-05-07 14:50:01 -05:00
Alex Dadgar
54f9e1b1eb
Handle progressed deployments and tests
2018-05-07 14:50:01 -05:00
Alex Dadgar
2bb9ada69c
Deployment watcher based on deployment having progress deadline
2018-05-07 14:50:01 -05:00
Alex Dadgar
bcaaa10d27
Progress deadline in deployment state
2018-05-07 14:50:01 -05:00
Alex Dadgar
16276753bf
Fix tests
2018-05-07 14:50:01 -05:00
Alex Dadgar
15c3abf816
Initial implementation
2018-05-07 14:50:01 -05:00
Michael Lange
f92d3641aa
Merge pull request #4201 from hashicorp/f-ui-fuzzy-job-search
...
UI: fuzzy and tokenized job search
2018-05-05 09:56:15 -07:00
Michael Lange
4f260e29df
Clean up computed property by inverting early return
2018-05-04 20:38:55 -07:00
Michael Schurter
bd4e761c29
Merge pull request #4251 from hashicorp/f-grpc-checks
...
Support Consul gRPC Health Checks
2018-05-04 14:55:16 -07:00
Michael Schurter
f2f6dab332
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
4197bc84b1
docs: try to make grpc explanation less confusing
2018-05-04 14:18:40 -07:00
Michael Schurter
e8ad712fa2
tests: fix grpc fields in task diff
2018-05-04 11:08:45 -07:00
Michael Schurter
ae41986fc2
docs: document grpc health check support
2018-05-04 11:08:45 -07:00
Michael Schurter
905bef8f2d
consul: make grpc checks more like http checks
2018-05-04 11:08:11 -07:00
Michael Schurter
882bf5a62c
vendor: update consul for grpc
2018-05-04 11:08:11 -07:00
Michael Schurter
93356e7d70
consul: initial grpc implementation
...
Needs to be more like http.
2018-05-04 11:08:11 -07:00
Michael Schurter
94ebbf020f
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
758e1cb7f3
cli: expand drain info for node status
2018-05-04 10:32:25 -07:00
Preetha Appan
072d64dd80
Update CHANGELOG.md
2018-05-04 10:18:27 -05:00
Preetha Appan
4104424418
Update CHANGELOG
2018-05-04 10:14:36 -05:00
Preetha
9281617826
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
2718b09079
Update ModifyIndex of alloc when setting NextAllocation value
2018-05-03 17:04:36 -05:00
Nick Ethier
86093d1a51
Merge pull request #4248 from hashicorp/f-short-init
...
changelog: init -short option
2018-05-03 16:03:56 -04:00
Nick Ethier
e67e6d900f
changelogfmt
2018-05-03 16:00:20 -04:00
Nick Ethier
7f37b4c7f6
changelog: add line for init command -short option
2018-05-03 15:35:26 -04:00
Nick Ethier
e3151f04fc
command: remove all comments from short init jobspec
2018-05-03 15:34:56 -04:00
Nick Ethier
d911a1c33c
Merge pull request #4239 from hashicorp/f-short-init
...
command: init -short flag
2018-05-02 13:49:44 -04:00
Michael Schurter
057dee32d4
Merge pull request #4235 from portworx/master
...
Add Portworx Blog link
2018-05-02 10:49:00 -07:00
Michael Schurter
6858c520b2
framer: fix early exit/truncation in framer
2018-05-02 10:46:16 -07:00
Michael Schurter
361db269c2
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
8776cf8a80
client: use a bytes.Reader for reading a []byte
2018-05-02 10:46:16 -07:00
Michael Schurter
aad596bb0f
client: squelch errors on cleanly closed pipes
2018-05-02 10:46:16 -07:00
Michael Schurter
cafcb89394
client: don't spin on read errors
2018-05-02 10:46:16 -07:00
Michael Schurter
63dad441b4
client: ensure cancel is always called when func exits
2018-05-02 10:46:16 -07:00
Michael Schurter
564854dd97
client: give pipe conns meaningful names
2018-05-02 10:46:16 -07:00
Michael Schurter
a7c71c1cdc
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
41f05dc2c4
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
a8e1f35240
tests: test logs from client<->api package
2018-05-02 10:46:16 -07:00