Commit Graph

4760 Commits

Author SHA1 Message Date
Alex Dadgar
7bb0a2336a Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00
Alex Dadgar
c6968f18b7 small cleanup of run command error msg 2016-07-21 09:52:41 -07:00
Alex Dadgar
31ad5aa03c 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
86302829e8 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
e02f5fb29e 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
a167a78ccb Return when nomad syslog command has invalid number of argument 2016-07-21 23:19:22 +09:00
Kenjiro Nakayama
9b02a7a90e Fix nomad run parse error 2016-07-21 19:41:36 +09:00
Dara Kong
81d21bf990 Docs: Fix list of chroot directories
The chroot list was updated in be1266e42d
2016-07-20 18:13:06 -07:00
Alex Dadgar
501897256c changelog 2016-07-20 17:16:03 -07:00
Alex Dadgar
33df984803 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
f38c0afc8c fix validation tests 2016-07-20 16:43:20 -07:00
Alex Dadgar
792b0d9e89 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
288aea39fc InitFields to Canonicalize 2016-07-20 16:08:52 -07:00
Alex Dadgar
0bc275c889 Sanatize incoming slices/maps 2016-07-20 16:00:02 -07:00
Diptanu Choudhury
bd37bb5b0b 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
f59f2762ef 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
147cca31b2 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
45fefea0dd 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
5687a6a2b0 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
2be9c5f4f2 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
b34c270366 [doc] Fix job example to use system scheduler with count 5 2016-07-20 22:31:05 +09:00
Kenjiro Nakayama
b34b060593 Stop using index for task and task group validation 2016-07-20 22:23:35 +09:00
Kenjiro Nakayama
b6990e0c45 [docs] Write allocate ports example accurately in the doc of the docker driver 2016-07-20 20:55:42 +09:00
Kenjiro Nakayama
c3620d995e Add missed service name of the error message for the invalid port 2016-07-20 20:41:24 +09:00
Kenjiro Nakayama
cf3a2daccf [tiny] Fix an indent in init template 2016-07-20 17:41:26 +09:00
Kenjiro Nakayama
0eaf54b158 Use array for jvm_options example in JAVA Driver 2016-07-20 16:31:44 +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
Kenjiro Nakayama
d593856632 Update comments for the DefaultResources and DefaultLogConfig 2016-07-19 15:37:54 +09: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