Alex Dadgar
6c0bb2ba2c
Vendor new consul-template
2017-08-09 14:42:16 -07:00
Alex Dadgar
43d2c425d1
Emit generic task events
2017-08-07 21:26:04 -07:00
Alex Dadgar
b258b91379
changelog
2017-08-07 16:31:18 -07:00
Alex Dadgar
798b779609
Merge pull request #2947 from hashicorp/f-vault-grace
...
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Alex Dadgar
18e3bd9c2e
Rename runnerConfig
2017-08-07 16:29:42 -07:00
Chelsea Komlo
a768eca445
Merge pull request #2964 from hashicorp/f-autocomplete-api
...
autocomplete api
2017-08-07 12:40:09 -07:00
Chelsea Holland Komlo
440fea755a
update changelog
2017-08-07 19:25:55 +00:00
Michael Schurter
260794844f
Merge pull request #2965 from hashicorp/b-2963-fix-arm-atomics
...
Use int32 for atomic ops to avoid alignment issues
2017-08-07 11:33:41 -07:00
Alex Dadgar
fcbef2b842
Changelog
2017-08-07 11:22:20 -07:00
Alex Dadgar
d23b925e61
Merge pull request #2959 from hashicorp/b-periodic-dispatcher
...
Fix restoration of parameterized, periodic jobs
2017-08-07 11:20:53 -07:00
Alex Dadgar
a08c5df2a3
Merge pull request #2956 from hashicorp/f-dev
...
Add `dev/` for configs for use by Nomad developers
2017-08-07 11:20:02 -07:00
Alex Dadgar
4663ebeafc
Resolve comments
2017-08-07 11:19:46 -07:00
Alex Dadgar
078bdb0892
Merge pull request #2974 from nak3/fix-monitoring-docs
...
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00
Alex Dadgar
9ab6402eab
Merge pull request #2975 from nak3/fix-link-hdfs
...
docs: fix invalid links for hdfs examples
2017-08-07 11:14:29 -07:00
Chelsea Holland Komlo
a1b59254fd
code simplifications and logging
2017-08-07 17:28:46 +00:00
Alex Dadgar
46c4ac321f
Update requirements.html.md
...
Fixes https://github.com/hashicorp/nomad/issues/2976
2017-08-07 09:58:02 -07:00
Chelsea Holland Komlo
e5e4fc4ad5
max index for any resource, if context is unspecified
2017-08-07 15:07:18 +00:00
Chelsea Holland Komlo
753b15727b
syntax fixups and logging
2017-08-07 14:26:53 +00:00
Kenjiro Nakayama
d235472c31
docs: fix invalid link for hdfs examples
2017-08-06 14:24:51 +09:00
Kenjiro Nakayama
c164ac65fe
docs: fix tiny errors in monitoring spark app
2017-08-06 14:22:56 +09:00
Alex Dadgar
386bf25e93
changelog
2017-08-04 17:00:11 -07:00
Alex Dadgar
4317492cb4
Merge pull request #2972 from hashicorp/d-doc-fixes
...
Small improvements to docs
2017-08-04 16:59:47 -07:00
Alex Dadgar
4428d8b885
Merge pull request #2961 from hashicorp/b-deployment-ttl
...
Lost allocs replaced even if deployment failed
2017-08-04 16:58:18 -07:00
Alex Dadgar
68778accb2
Small improvements to docs
...
This PR fixes an incorrect placement of the update stanza in the task
and also links from the env stanza into an example of using the template
block to generate dynamic environment variables.
2017-08-04 16:14:41 -07:00
Chelsea Holland Komlo
b2df34cf18
further refactoring
2017-08-04 22:50:41 +00:00
Michael Schurter
8b46d4089e
Merge pull request #2968 from hashicorp/d-task-ports
...
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Chelsea Holland Komlo
74f35dd1af
if no context is specified, set maximum index for available contexts
2017-08-04 20:16:49 +00:00
Michael Schurter
29951abbd1
Document <task> network env vars
...
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Chelsea Holland Komlo
971183d6ec
fix up tests to intantiate assertion test helper
...
add http tests for remaining contexts
2017-08-04 19:48:20 +00:00
Michael Schurter
dd6a2ec1a8
Merge pull request #2966 from sprutner/patch-3
...
Update revert.html.md.erb
2017-08-04 11:15:50 -07:00
Seth Rutner
2108e2a391
Update revert.html.md.erb
...
wrong command
2017-08-04 11:06:04 -07:00
Michael Schurter
c075349a33
Use int32 for atomic ops to avoid alignment issues
...
From https://golang.org/pkg/sync/atomic/#pkg-note-BUG :
On both ARM and x86-32, it is the caller's responsibility to arrange for
64-bit alignment of 64-bit words accessed atomically. The first word in
a global variable or in an allocated struct or slice can be relied upon
to be 64-bit aligned.
2017-08-04 10:14:16 -07:00
Chelsea Holland Komlo
96a1723479
further refactoring
2017-08-04 15:19:35 +00:00
Chelsea Holland Komlo
ca4ed646a9
resources are expected by state store to be plural
2017-08-04 15:07:34 +00:00
Chelsea Holland Komlo
01640d8791
set response index and meta information
...
add tests for edge cases
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
9947939ca7
add documentation
...
extract magic number into variable
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
c9c7b1914c
refactor rpc endpoint and tests
...
add test for when no prefixes are matched
add test for no context at HTTP api
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
760f429916
resources list endpoint accepts http POST and PUT
...
set the index for a resources response
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
a3234b2317
refactor and add error handling for invalid context type
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
a9728c3985
adding allocations to resouces list endpoint
...
adding nodes to resources list endpoint
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
ed8e707659
refactor to remove duplication for types of resources
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
a9ed750a99
use upsert as a test helper
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
e14b279bc0
add truncation boolean to response
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
dfd8c1d832
adds evaluations
...
makes context singular
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
9e06777613
change resources endpoint from http get to post
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
1ec5010f0b
remove resourceliststub, no need for another layer of abstraction
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
4945b98a7f
limit resources results to 20
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
5435773dbb
refactor test helper
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
0bd974272d
remove unnecessary validations; these are tested elsewhere
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
c3e0bd82b7
test resources endpoint will return matching prefixes
2017-08-04 14:34:25 +00:00