Kenjiro Nakayama
cf3a2daccf
[tiny] Fix an indent in init template
2016-07-20 17:41:26 +09:00
Diptanu Choudhury
a4283e825a
Merge pull request #1435 from mlafeldt/remove-code-snippet
...
Remove unrelated code snippet from docs
2016-07-19 10:58:55 -07:00
Mathias Lafeldt
e953d482b8
Fix indent of args block
2016-07-19 19:44:03 +02:00
Mathias Lafeldt
19b7658fbb
Remove unrelated code snippet from docs
2016-07-19 19:39:22 +02:00
Alex Dadgar
5ebbaeb804
Merge pull request #1431 from mlafeldt/basic-auth
...
Add HTTP basic auth support to Nomad client code
2016-07-18 13:24:23 -07:00
Diptanu Choudhury
42869bf026
Merge pull request #1432 from mlafeldt/fix-typos
...
Fix typos in documentation and source code
2016-07-18 10:21:48 -06:00
Diptanu Choudhury
51149e4381
Merge pull request #1321 from mwieczorek/f-windows-binds
...
Volume binds for windows containers
2016-07-18 10:20:44 -06:00
Mathias Lafeldt
acb9997ca7
Fix typos in source code
2016-07-18 16:24:46 +02:00
Mathias Lafeldt
0941dc1330
Fix typos in documentation
2016-07-18 16:24:30 +02:00
Mathias Lafeldt
a61494166b
Add HTTP basic auth support to Nomad client code
...
In order to authenticate against protected endpoints, e.g.
```
export NOMAD_ADDR=https://$USER:$PASSWORD@nomad.example.net
nomad status
```
Instead of adding username and password to `api.Config`, this is a
rather simple change to the request handler code that passes along any
basic auth information.
2016-07-18 15:34:34 +02:00
Diptanu Choudhury
3c686010da
Merge pull request #1425 from dvusboy/update_constraints_doc
...
Replace `Operator` with `Operand`
2016-07-14 00:46:25 -06:00
K.C. Wong
a4af8abefa
Replace Operator with Operand
...
* while HCL job-spec uses `operator`, JSON uses `Operand`
* `Operand` is required, it no longer defaults to `==`
(@see nomad/structs/structs.go#L2297)
2016-07-13 15:56:42 -07:00
Alex Dadgar
7e51a4181f
Merge branch 'master' of github.com:hashicorp/nomad
2016-07-13 15:34:58 -06:00
Alex Dadgar
704bfcefa5
Changelog
2016-07-13 15:34:40 -06:00
Alex Dadgar
e9bfabe20d
Merge pull request #1420 from hashicorp/f-tail-lines
...
Implement tail -n
2016-07-13 15:33:34 -06:00
Alex Dadgar
a1b46b3a6d
Allow following of files when cating and fix offsets
2016-07-13 15:33:17 -06:00
Alex Dadgar
640fc0f875
Changelog
2016-07-13 14:40:10 -06:00
Alex Dadgar
47f163b087
Merge pull request #1421 from hashicorp/f-system-count-zero
...
Allow count 0 on system jobs
2016-07-13 14:39:23 -06:00
Alex Dadgar
398f888662
Add FrameReader test
2016-07-13 14:37:03 -06:00
Alex Dadgar
d3906b0fd4
Allow count 0 on system jobs
2016-07-13 13:50:08 -06:00
Diptanu Choudhury
4b214f30f5
Merge pull request #1383 from hashicorp/f-job-summary
...
Job Summary - Part 1
2016-07-13 13:34:27 -06:00
Alex Dadgar
991220b5c7
implement -n for tail
2016-07-13 13:26:09 -06:00
Diptanu Choudhury
04b24cf9ec
Fixed typos in comments
2016-07-13 13:25:07 -06:00
Diptanu Choudhury
42ba68a201
Removing the queued state of Job Summary and alloc desired status false
2016-07-13 13:20:46 -06:00
Alex Dadgar
25dd45c763
frames to reader
2016-07-12 17:34:32 -06:00
Alex Dadgar
7494c942ce
Changelog
2016-07-12 17:24:23 -06:00
Alex Dadgar
887a2e947f
Merge pull request #1404 from hashicorp/f-streaming
...
Implement a streaming API and tail in the fs command
2016-07-12 17:23:04 -06:00
Alex Dadgar
19ca6e7b55
address comments
2016-07-12 17:01:33 -06:00
Diptanu Choudhury
3c1e657a06
Renamed jobsummary to job_summary
2016-07-12 16:00:35 -06:00
Diptanu Choudhury
61d59ab71d
Refactored the test
2016-07-12 14:37:51 -06:00
Diptanu Choudhury
97df5d2bdf
Accounting lost state of allocations
2016-07-12 14:27:45 -06:00
Alex Dadgar
1d717ea9be
changelog
2016-07-12 13:53:43 -06:00
Alex Dadgar
3f511eb4cb
Merge pull request #1403 from hashicorp/f-hold-rpc
...
Gracefully handle short lived outages by holding RPC calls
2016-07-12 13:52:33 -06:00
Diptanu Choudhury
e191c3185a
Added a method for listing jobs whose id matches a prefix
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
e1fc445b4d
Added a test to ensure client alloc updates are happening properly
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a417ef4d14
Updated logic to handle change in desired status of allocation when client status is still pending
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
8bfdb729fb
Added test for job summary restore
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
3c9d340996
Added methods to save and restore job summary snapshots
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
ce43ad613e
handled the logic of task group count going up
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
7b51b58edc
Added a test to ensure correctness of job summary when client updates alloc
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
b121f9c4d4
Added test to make sure summary gets deleted when job gets deleted
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a780955f23
Implemented logic to update the job summary when allocs are inserted
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
f98be5daf3
Implemented job state accounting logic for upsert job
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
fe40544455
Added a schema for summarizing status of jobs
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
5798a23813
Merge pull request #1410 from hashicorp/f-client-lost-state
...
Changing the state of an allocation to lost if the node on which it w…
2016-07-12 11:30:08 -06:00
Diptanu Choudhury
76b913c519
Handling allocations with client state pending
2016-07-12 11:29:23 -06:00
Alex Dadgar
ffb57ffd6f
Address more comments
2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c
Tests and handle conn close behavior better
2016-07-12 10:18:48 -06:00
Alex Dadgar
1f8d70c1cd
version bump
2016-07-12 09:53:28 -06:00
Alex Dadgar
20b619380d
Merge pull request #1405 from novilabs/delay-on-startup-failure
...
do not fail for multiple startup failures, delay instead
2016-07-12 09:51:40 -06:00