Commit Graph

8010 Commits

Author SHA1 Message Date
Alex Dadgar
2e7d8adfa4 Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar
5a5e043b75 Review fixes 2017-08-01 14:18:52 -07:00
Alex Dadgar
3895ae127d Merge pull request #2940 from hashicorp/d-purge
Document Purge parameter on deregister request
2017-08-01 10:55:52 -07:00
Alex Dadgar
ffdb86dc6f Merge pull request #2867 from hashicorp/b-docs-vi-more-orphan-info
More why for the -orphan flag
2017-08-01 09:20:02 -07:00
Charlie Voiselle
1bc65e1ad4 More review fixes 2017-08-01 12:05:28 -04:00
Alex Dadgar
2c24be22fd Merge pull request #2943 from domudall/patch-1
Fixing spelling mistake
2017-08-01 08:31:42 -07:00
Dom Udall
9694ef690c Fixing spelling mistake
Updating `deregistraion` -> `deregistration`
2017-08-01 10:26:52 +01:00
Alex Dadgar
b567043757 changelog 2017-07-31 16:53:38 -07:00
Alex Dadgar
4e71ba2e71 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -07:00
Alex Dadgar
abdb7c3297 Merge pull request #2939 from hashicorp/b-distinct
Fix incorrect destructive update with distinct_property constraint
2017-07-31 16:51:56 -07:00
Michael Schurter
040d791e8f Mention xz support 2017-07-31 15:53:05 -07:00
Alex Dadgar
c620a23412 Document Purge parameter on deregister request
This PR documents the purge parameter when deregistering a job.
2017-07-31 14:03:35 -07:00
Alex Dadgar
b6df26a388 Merge pull request #2926 from hashicorp/d-api-json
Example JSON is submitable
2017-07-31 11:26:25 -07:00
Alex Dadgar
46bed891b2 Changelog 2017-07-31 11:26:03 -07:00
Alex Dadgar
2798817c01 Merge pull request #2928 from hashicorp/b-cli-autocomplete
Fix autocmpleting global flags
2017-07-31 11:25:34 -07:00
Alex Dadgar
23e464fc49 changelog 2017-07-31 11:25:01 -07:00
Michael Schurter
66d095f5a9 Merge pull request #2934 from morkot/master
Small fix of markdown format identified by markdownlint
2017-07-31 11:24:05 -07:00
Alex Dadgar
d1dfcf76ab Merge pull request #2929 from hashicorp/b-status-panic
Ensure backwards compatibility between 0.6.X CLI and 0.5.X
2017-07-31 11:23:37 -07:00
Alex Dadgar
dd4befbec2 Fix incorrect destructive update with distinct_property constraint
This PR fixes an issue in which an update to a task group with a
distinct property constraint would result in an incorrect destructive
update.
2017-07-31 11:17:35 -07:00
Michael Schurter
61a4df1940 driver/rkt: support read-only volume mounts #2883 2017-07-31 10:59:28 -07:00
Michael Schurter
1585a5b2b9 Merge pull request #2883 from kmalec/add-support-for-readonly-mount
rkt driver support for read-only volumes mounts
2017-07-31 10:58:22 -07:00
Alex Dadgar
66419999ea changelog 2017-07-31 10:39:22 -07:00
Michael Schurter
261e5d22e2 Merge pull request #2933 from jen20/remove-gox
build: Remove gox as a tool dependency
2017-07-31 10:38:10 -07:00
Alex Dadgar
03f9c115c9 Merge pull request #2937 from hashicorp/b-leak-plugin
Fix leaked plugin files for syslog server
2017-07-31 10:38:04 -07:00
Michael Schurter
476f45bd87 Merge pull request #2936 from jen20/goimports
meta: Fix goimports for command/agent/syslog.go
2017-07-31 09:14:35 -07:00
Alex Dadgar
212fed63df Fix leaked plugin files for syslog server
This PR fixes a leaking of the unix socket used when launching a syslog
server for the Docker driver.

Fixes https://github.com/hashicorp/nomad/issues/2844
2017-07-30 17:51:38 -07:00
James Nugent
bb9287aabf meta: Fix goimports for command/agent/syslog.go 2017-07-30 08:56:40 -05:00
Andrii Melekhovskiy
4c072702ad Small fix of markdown format identified by markdownlint 2017-07-30 02:32:18 +01:00
James Nugent
a519340eaf build: Remove gox as a tool dependency
gox has not been used since commit 1aec23bb8, so there is no need to
install it during bootstrap.
2017-07-29 16:31:20 -05:00
Charlie Voiselle
c11042fec6 Addressed Review Feedback 2017-07-28 17:42:24 -04:00
Alex Dadgar
aa05302ed8 Ensure backwards compatibility between 0.6.X CLI and 0.5.X
This PR goes through the CLI commands and ensures that a 0.6.X cli
gracefully handles interacting with a 0.5.X Nomad Agent.

Fixes https://github.com/hashicorp/nomad/issues/2918
2017-07-28 10:20:47 -07:00
James Nugent
d8a66e5505 Update gopsutil (#2927)
* deps: Update github.com/go-ole/go-ole/...

* deps: Update github.com/StackExchange/wmi

* deps: Update github.com/shirou/gopsutil/...

* deps: Update github.com/ugorji/go/codec
2017-07-28 09:46:44 -07:00
Alex Dadgar
3906d20512 Changelog 2017-07-28 09:46:22 -07:00
Alex Dadgar
fd06341d8d Fix autocmpleting global flags
This PR vendors a change to the CLI package that allows autocompleting
global flags at the top level command.
2017-07-28 09:44:48 -07:00
Alex Dadgar
c94aa29ddc Example JSON is submitable
This PR makes the example JSON job submitable via the HTTP API.
2017-07-28 09:02:15 -07:00
Michael Schurter
67705efb8f Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Michael Schurter
d8625f8c8b Merge pull request #2916 from hashicorp/b-fix-typo
Fix typo
2017-07-27 09:43:18 -07:00
Jon Benson
4b7db544e9 Add word 2017-07-26 19:33:03 -07:00
Jon Benson
c3039d75b8 Fix typo 2017-07-26 19:24:23 -07:00
Seth Vargo
e1ef29a28d Better link output 2017-07-26 18:49:56 -04:00
Seth Vargo
30823a69cc Fix broken links 2017-07-26 18:43:51 -04:00
Seth Vargo
ad3038fde2 Fix deploy script 2017-07-26 18:38:29 -04:00
Rob Genova
a76d021ec1 Merge pull request #2914 from hashicorp/f-terraform-update
Update scripts and AMI to reflect Nomad 0.6
2017-07-26 18:36:57 -04:00
Rob Genova
6a367d9f44 Update scripts and AMI to reflect Nomad 0.6 2017-07-26 22:34:34 +00:00
Alex Dadgar
3d243c0435 Update demo vagrant 2017-07-26 15:22:06 -07:00
Alex Dadgar
902d759a2a Release v0.6.0 2017-07-26 15:16:21 -07:00
Alex Dadgar
a76fd8c432 release notes 2017-07-26 15:15:44 -07:00
Alex Dadgar
139a96aee3 bump version 2017-07-26 15:07:34 -07:00
Alex Dadgar
6194ac4073 Update operating a job, upgrade guide (#2913)
* Update operating a job, upgrade guide

This PR updates the guide for updating a job to reflect the changes in
Nomad 0.6

* Feedback changes

* Feedback

* Feedback
2017-07-26 15:06:17 -07:00
Alex Dadgar
b57b9af467 Fix vet issue 2017-07-26 14:53:08 -07:00