Michael Schurter
06a4d3c6cd
Fix overriding build targets
2017-03-14 10:47:29 -07:00
Alex Dadgar
55f9d1ee84
changelog
2017-03-14 10:46:20 -07:00
Alex Dadgar
2a105c4eaa
Merge pull request #2427 from hashicorp/f-gc-limit
...
Limit parallelism during garbage collection
2017-03-14 10:45:29 -07:00
Alex Dadgar
7700a3447e
Review fixes
2017-03-14 10:45:15 -07:00
Michael Schurter
047b41f469
Merge pull request #2408 from hashicorp/b-2358-rkt-volume-name
...
Replace `_` with `-` in task names for rkt volumes
2017-03-14 10:10:00 -07:00
Alex Dadgar
a41175eb54
Merge pull request #2434 from hashicorp/f-skip-inplace-terminal-batch
...
Skip inplace update on terminal batch allocation
2017-03-14 10:06:58 -07:00
Michael Schurter
4a29ec3876
Merge pull request #2446 from jippi/patch-2
...
Fix #2445
2017-03-14 09:15:30 -07:00
Christian Winther
b12323f08c
Fix #2445
...
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Michael Schurter
7301efbfa1
Windows wasn't fixed -- see #2343 for updates
2017-03-13 18:22:05 -07:00
Michael Schurter
9d2fab552d
Merge pull request #2417 from hashicorp/b-fix-build-scripts
...
[needs testing] make bin creates a release binary for the host arch
2017-03-13 17:00:54 -07:00
James Nugent
a2b9901727
build: Add Vault as an external test dependency
...
Vault is required for the fingerprinting tests but is not currently
installed by the build process. This commit adds a new category of
external tools for test dependencies and `go get`'s them during the
bootstrap.
We also fix the syntax of the Makefile to use tabs throughout.
2017-03-13 17:14:48 -05:00
Alex Dadgar
493de9120a
Merge pull request #2439 from jen20/dep-update-gopsutil
...
deps: Update github.com/shirou/gopsutil
2017-03-13 13:36:26 -07:00
Michael Schurter
85d109f07f
Merge pull request #2412 from barnardb/agent-self
...
Return AgentSelf struct from Agent.Self() instead of map
2017-03-13 13:29:15 -07:00
Alex Dadgar
5d8f1bd699
Merge pull request #2440 from jen20/dep-update-docker-system
...
deps: Update github.com/docker/docker/pkg/system
2017-03-13 12:33:38 -07:00
Michael Schurter
a116d6441d
Merge pull request #2426 from hashicorp/f-tg-port-ip-env-var
...
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-13 12:00:59 -07:00
James Nugent
53cacd7c51
deps: Update github.com/docker/docker/pkg/system
...
This commit updates the `system` package of `docker/docker`.
2017-03-13 13:18:47 -05:00
James Nugent
2923335954
deps: Update github.com/shirou/gopsutil
...
This commit updates `gopsutil` to the latest version, which includes CPU
info support for Illumos.
2017-03-13 12:50:09 -05:00
Alex Dadgar
c087fa4712
Merge pull request #2431 from hashicorp/b-git-ssh
...
Handle git ssh artifacts
2017-03-13 10:16:35 -07:00
Alex Dadgar
1c639872cd
changelog
2017-03-13 10:08:43 -07:00
Alex Dadgar
5588fd6c04
Merge pull request #2432 from hashicorp/b-batch-gc
...
Eval GC will collect allocs from stopped batch job
2017-03-13 10:06:55 -07:00
Alex Dadgar
a07b207d9c
Merge pull request #2433 from hashicorp/f-distinct-property-misc
...
Distinct Property Docs and Validation
2017-03-13 10:06:15 -07:00
Sean Chittenden
526535c99a
Update `github.com/sean-/seed` to latest.
...
Direct to master given the trivial change.
2017-03-13 09:50:24 -07:00
Alex Dadgar
3d978e1e13
remove second client1
2017-03-11 17:25:03 -08:00
Alex Dadgar
2c31d4036b
Skip inplace update on terminal batch allocation
...
This PR skips adding an inplace update to a successfully terminal batch
job to the plan. This avoids extra data in the plan and avoids
triggering updates on all clients that have the terminal allocation.
This is matching behavior of the service scheduler.
/cc @armon for review
2017-03-11 17:19:22 -08:00
Alex Dadgar
56ac0970b4
validation errors
2017-03-11 16:23:24 -08:00
Alex Dadgar
df87e8d255
documentation
2017-03-11 16:18:01 -08:00
Alex Dadgar
3825f7cf1f
Eval GC will collect allocs from stopped batch job
...
This PR fixes a bug in which allocations from stopped batch jobs could
not be garbage collected.
2017-03-11 15:48:57 -08:00
Alex Dadgar
b5e53652aa
Handle git ssh artifacts
...
This PR adds handling for downloading git artifacts using ssh with the
format git@github.com:hashicorp/go-getter.git
Fixes https://github.com/hashicorp/nomad/issues/2430
2017-03-11 15:12:41 -08:00
Alex Dadgar
3f68aae7ab
TODO
2017-03-11 13:56:19 -08:00
Alex Dadgar
fd8d6d0d89
Merge pull request #2424 from jen20/solaris-alloc-dirs
...
client/allocdir: Add missing functions on Solaris
2017-03-11 13:55:38 -08:00
Alex Dadgar
9c71e48eae
Merge pull request #2428 from hashicorp/telemetry-docs
...
Added docs for the collection_interval option in the telemetry block
2017-03-11 13:52:24 -08:00
Alex Dadgar
5716eee753
remove escape
2017-03-10 16:46:22 -08:00
Diptanu Choudhury
53d7ec02fd
Added docs for the collection_interval option in the telemetry block
2017-03-10 16:33:25 -08:00
Alex Dadgar
70e4feb045
Limit parallelism during garbage collection
...
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Michael Schurter
1f1fd47172
Add changelog entry for #2426
2017-03-10 12:20:22 -08:00
Michael Schurter
71783e8e41
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-10 12:17:43 -08:00
Alex Dadgar
d066657174
changelog
2017-03-09 22:16:50 -08:00
Alex Dadgar
33263ca085
Merge pull request #2418 from hashicorp/f-distinct-property
...
`distinct_property` constraint
2017-03-09 22:15:52 -08:00
Alex Dadgar
bb12ff69a6
Fix in-place update
2017-03-09 22:03:10 -08:00
Alex Dadgar
601cbd7784
Feedback addressed
2017-03-09 21:36:27 -08:00
Alex Dadgar
9da0256dad
Changelog
2017-03-09 21:06:38 -08:00
Alex Dadgar
a60127b72e
Merge pull request #2425 from hashicorp/f-client-metrics
...
Add metrics to show allocations on the client
2017-03-09 21:05:53 -08:00
Alex Dadgar
8238a8601e
Address comment
2017-03-09 21:05:34 -08:00
Michael Schurter
7080148599
Merge pull request #2416 from hashicorp/b-clean-env-var-2
...
Round two of env var cleaning
2017-03-09 17:14:45 -08:00
Michael Schurter
9cb743bd31
Update documentation now that cleaning is more extensive
2017-03-09 17:12:10 -08:00
Alex Dadgar
1b6bca7db0
Merge pull request #2423 from jen20/dep-update-go-ps
...
deps: Update github.com/mitchellh/go-ps
2017-03-09 16:50:35 -08:00
Alex Dadgar
b65d248dee
Fix filtering issue and add a test that would catch it
2017-03-09 16:20:39 -08:00
Alex Dadgar
7945e4564c
Refactor
2017-03-09 15:26:46 -08:00
Alex Dadgar
9011a7984c
Add metrics to show allocations on the client
...
This PR adds the following metrics to the client:
client.allocations.migrating
client.allocations.blocked
client.allocations.pending
client.allocations.running
client.allocations.terminal
Also adds some missing fields to the API version of the evaluation.
2017-03-09 12:37:41 -08:00
James Nugent
b3d1ef0af6
client/allocdir: Add missing functions on Solaris
...
This commit adds Solaris versions of the following functions:
- `linkDir`
- `unlinkDir`
- `createSecretDir`
- `removeSecretDir`
I believe this requires Go 1.8 in order to compile, as the unlink
syscall was previously missing.
2017-03-09 13:49:14 -05:00