Commit graph

4916 commits

Author SHA1 Message Date
Alex Dadgar 90748cedad Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00
Alex Dadgar ebac5cb283 Node.Register handles the case of transistioning to ready and creating evals 2016-07-21 15:22:02 -07:00
Alex Dadgar 898435d372 Retrieve task runners in helper 2016-07-21 13:41:01 -07:00
Alex Dadgar e6e5174919 document endpoint 2016-07-21 12:33:05 -07:00
Alex Dadgar 4e24676cd3 Docs 2016-07-21 12:33:05 -07:00
Alex Dadgar ed919f4d87 small cleanup of run command error msg 2016-07-21 09:52:41 -07:00
Alex Dadgar 75768770aa Merge pull request #1449 from nak3/fix-syslog-plugin
Return when nomad syslog command has invalid number of argument
2016-07-21 09:44:45 -07:00
Alex Dadgar 3bacec6c40 Merge pull request #1447 from nak3/fix-error-nomad-run
Fix nomad run parse error
2016-07-21 09:44:18 -07:00
Alex Dadgar 66e517ae3f Merge pull request #1445 from dkong/b-docs-exec
Docs: Fix list of chroot directories
2016-07-21 09:41:56 -07:00
Kenjiro Nakayama ef3886c5a0 Return when nomad syslog command has invalid number of argument 2016-07-21 23:19:22 +09:00
Kenjiro Nakayama d766ee5c32 Fix nomad run parse error 2016-07-21 19:41:36 +09:00
Dara Kong 82e08d0606 Docs: Fix list of chroot directories
The chroot list was updated in be1266e42d
2016-07-20 18:13:06 -07:00
Alex Dadgar a2bbbab2c7 changelog 2016-07-20 17:16:03 -07:00
Alex Dadgar c4e8ceaa59 Merge pull request #1434 from hashicorp/b-nil-empty
Sanitize empty slices/maps in Jobs
2016-07-20 17:14:54 -07:00
Alex Dadgar af09ef0832 fix validation tests 2016-07-20 16:43:20 -07:00
Alex Dadgar 56a831ded0 Merge pull request #1442 from nak3/fix-doc-example
[doc] Fix job example to use system scheduler with count 5
2016-07-20 16:24:35 -07:00
Alex Dadgar e0114fee05 InitFields to Canonicalize 2016-07-20 16:08:52 -07:00
Alex Dadgar 0634eeb3e0 Sanatize incoming slices/maps 2016-07-20 16:00:02 -07:00
Michal Wieczorek 679fefc155 Link speed for windows network fingerprinting 2016-07-20 22:13:50 +02:00
Diptanu Choudhury ccdcc577df Merge pull request #1437 from nak3/fix-init-template
[tiny] Fix an indent in init template
2016-07-20 10:10:07 -07:00
Diptanu Choudhury c8a52f36d5 Merge pull request #1429 from nak3/default-resources
Update comments for the DefaultResources and DefaultLogConfig
2016-07-20 10:09:36 -07:00
Diptanu Choudhury d7e397d3f9 Merge pull request #1439 from nak3/fix-error-message
Add missed service name of the error message for the invalid port
2016-07-20 10:08:45 -07:00
Diptanu Choudhury 917b687d95 Merge pull request #1440 from nak3/fix-allocating-ports-example
[docs] Write allocate ports example accurately
2016-07-20 10:08:11 -07:00
Diptanu Choudhury 21a6d64349 Merge pull request #1441 from nak3/remove-index-count
Stop using index in the error message for the task and task group validation
2016-07-20 10:07:42 -07:00
Diptanu Choudhury f380772278 Merge pull request #1436 from nak3/fix-jvm_options-example
[docs] Use array for jvm_options example in JAVA Driver
2016-07-20 10:05:47 -07:00
Kenjiro Nakayama ace72bc51d [doc] Fix job example to use system scheduler with count 5 2016-07-20 22:31:05 +09:00
Kenjiro Nakayama 473eb6561a Stop using index for task and task group validation 2016-07-20 22:23:35 +09:00
Kenjiro Nakayama d29579daf0 [docs] Write allocate ports example accurately in the doc of the docker driver 2016-07-20 20:55:42 +09:00
Kenjiro Nakayama c24e886a5f Add missed service name of the error message for the invalid port 2016-07-20 20:41:24 +09:00
Kenjiro Nakayama f5c6d4bd44 [tiny] Output MHz to CPU resouces in alloc-status 2016-07-20 19:46:34 +09:00
Kenjiro Nakayama 47260d68be [tiny] Fix an indent in init template 2016-07-20 17:41:26 +09:00
Kenjiro Nakayama 55d8862a81 Use array for jvm_options example in JAVA Driver 2016-07-20 16:31:44 +09:00
Diptanu Choudhury 3cd8d9d84e 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 ace9cfa272
Fix indent of args block 2016-07-19 19:44:03 +02:00
Mathias Lafeldt a81e4fa3a7
Remove unrelated code snippet from docs 2016-07-19 19:39:22 +02:00
Kenjiro Nakayama 466d7ac1ec Update comments for the DefaultResources and DefaultLogConfig 2016-07-19 15:37:54 +09:00
Alex Dadgar 97a0968b02 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 3f3eadf53e 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 22af229cef Merge pull request #1321 from mwieczorek/f-windows-binds
Volume binds for windows containers
2016-07-18 10:20:44 -06:00
Mathias Lafeldt ab94704518
Fix typos in source code 2016-07-18 16:24:46 +02:00
Mathias Lafeldt 722669451a
Fix typos in documentation 2016-07-18 16:24:30 +02:00
Mathias Lafeldt 626404b19c
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 65c93efd95 Merge pull request #1425 from dvusboy/update_constraints_doc
Replace `Operator` with `Operand`
2016-07-14 00:46:25 -06:00
K.C. Wong a4236f0c85 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 0fa9ddf39c Merge branch 'master' of github.com:hashicorp/nomad 2016-07-13 15:34:58 -06:00
Alex Dadgar 39676d6ba9 Changelog 2016-07-13 15:34:40 -06:00
Alex Dadgar a7a18de930 Merge pull request #1420 from hashicorp/f-tail-lines
Implement tail -n
2016-07-13 15:33:34 -06:00
Alex Dadgar 104a5baa33 Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
Alex Dadgar 446a2e91ff Changelog 2016-07-13 14:40:10 -06:00
Alex Dadgar c28027bc9e Merge pull request #1421 from hashicorp/f-system-count-zero
Allow count 0 on system jobs
2016-07-13 14:39:23 -06:00