Alex Dadgar
c5b1e2dcc1
alloc-list shows version
2017-07-07 12:12:48 -07:00
Alex Dadgar
5bcf2dd1f0
deployment status indicates whether canaries were promoted
2017-07-07 12:12:48 -07:00
Alex Dadgar
09af3f98b8
Fix broken things on deployment promote
2017-07-07 12:12:48 -07:00
Alex Dadgar
fe990ca3e0
Fix some tests, eval monitor shows deployment id and deployment cancels based on version
2017-07-07 12:12:48 -07:00
Alex Dadgar
53c129493a
Vendor columnize
2017-07-07 12:11:39 -07:00
Alex Dadgar
6639f31c4a
Fix some commands test
2017-07-07 12:11:39 -07:00
Alex Dadgar
f0a090c6e8
Disallow update stanza on batch jobs
...
This PR:
* disallows update stanzas on batch jobs
* undeprecates the stagger field
* changes the way warnings are returned
2017-07-07 12:11:39 -07:00
Alex Dadgar
fec6f2ef57
Return the reverted job version
2017-07-07 12:10:04 -07:00
Alex Dadgar
aaf5ab0a21
Job stability
2017-07-07 12:10:04 -07:00
Alex Dadgar
591ef9c9f3
Rename CreateDeployments and remove cancelling behavior in state_store
2017-07-07 12:10:04 -07:00
Alex Dadgar
f72bbaa370
Client watches for allocation health using task state and Consul checks
...
This PR adds watching of allocation health at the client. The client can
watch for health based on the tasks running on time and also based on
the consul checks passing.
2017-07-07 12:10:04 -07:00
Alex Dadgar
468c886282
Formatting abilities
2017-07-07 12:07:07 -07:00
Alex Dadgar
4ce7b62105
job deployments
2017-07-07 12:07:07 -07:00
Alex Dadgar
004a766171
deployment promote
2017-07-07 12:07:07 -07:00
Alex Dadgar
d18a3df789
fail,pause,resume commands
2017-07-07 12:07:07 -07:00
Alex Dadgar
bab25f6834
deployment status
2017-07-07 12:07:07 -07:00
Alex Dadgar
dc3d500119
deployment list
2017-07-07 12:07:07 -07:00
Alex Dadgar
3d77a58f28
small fixes
2017-07-07 12:07:07 -07:00
Alex Dadgar
fbd2b73904
job revert
2017-07-07 12:07:07 -07:00
Alex Dadgar
3935656d14
Show submit time
2017-07-07 12:07:07 -07:00
Alex Dadgar
1c425defd8
job history
2017-07-07 12:05:57 -07:00
Alex Dadgar
9220836cb4
JobVersions returns struct with optional diff
2017-07-07 12:05:57 -07:00
Alex Dadgar
86e49b97d9
Add config options
2017-07-07 12:05:56 -07:00
Alex Dadgar
d0a8332140
job deployment endpoint + api
2017-07-07 12:05:56 -07:00
Alex Dadgar
31daf93779
HTTP Endpoints
2017-07-07 12:03:11 -07:00
Alex Dadgar
66789e81f2
Show canaries on plan
2017-07-07 12:03:11 -07:00
Michael Schurter
9d2682e1bb
Fix api endpoint test
2017-07-06 10:45:44 -07:00
Michael Schurter
450e347708
Add support for go-getter modes
...
Fixes #2678
2017-07-06 10:45:44 -07:00
Michael Schurter
79b7cfd506
Fix no_host_uuid parsing
...
Need to pointerify it to default to true since we can't tell false from
unset if it's not a pointer.
2017-07-03 17:41:20 -07:00
Michael Schurter
6b3ae9acd8
Merge pull request #2709 from hashicorp/f-advertise-docker-ips
...
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter
bf6c736ffe
Merge pull request #2735 from hashicorp/f-no_host_uuid-true
...
Default no_host_uuid to true instead of false
2017-07-03 13:18:25 -07:00
Alexandre Dantas
8d07eca012
Fixing issue where use_node_name was always been set as false when merging telemetry configurations
2017-07-02 00:31:09 -03:00
Michael Schurter
3e13aa253d
Properly normalize IPv6 addresses
...
A fix to #2739 instead of forcing IPv6 users to always specify a port as
well.
Prior to this commit IPv6 advertise addresses which lacked a port would
fail instead of having the default port added because
`net.SplitHostPort(someipv6)` returns a different error than
`net.SplitHostPort(someipv4)`.
2017-06-29 10:46:31 -07:00
Michael Schurter
85860dcb67
Fix test error formats
2017-06-26 12:53:43 -07:00
Michael Schurter
b8de3608fb
Default no_host_uuid to true instead of false
...
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter
3f37be369d
Move caonicalization from nomad/structs/ to api/
2017-06-21 17:19:08 -07:00
Michael Schurter
a464ca3287
Remove debug logging
2017-06-21 17:19:08 -07:00
Michael Schurter
4117c8b3a2
Fix Service.AddressMode changes during task updates
2017-06-21 17:19:08 -07:00
Michael Schurter
8a7df57227
Test driver network advertisement and checks
2017-06-21 17:19:08 -07:00
Michael Schurter
3fddb05fc8
Implement DriverNetwork and Service.AddressMode
...
Ideally DriverNetwork would be fully populated in Driver.Prestart, but
Docker doesn't assign the container's IP until you start the container.
However, it's important to setup the port env vars before calling
Driver.Start, so Prestart should populate that.
2017-06-21 17:19:08 -07:00
Michael Schurter
0832793fac
Fix path used by Nomad Server HTTP Check
...
Fixes #2701
2017-06-21 10:41:28 -07:00
Michael Schurter
236ef21489
Merge pull request #2636 from hashicorp/f-gc-alloc-limit
...
Add new gc_max_allocs tuneable
2017-05-30 16:14:09 -07:00
Michael Schurter
aac319cd16
Merge pull request #2654 from hashicorp/f-env-consul
...
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Michael Schurter
fe79c8ac88
Don't autoadvertise private ip if bind=localhost
...
A slight improvement to #2399 - if bind is localhost, return an error
instead of advertising a private ip. The advertised ip isn't valid and
will just cause errors on use. It's better to fail with an error message
instructing users how to fix the problem.
2017-05-30 11:47:29 -07:00
Michael Schurter
f2476cfa67
Fix config parsing test
...
Went overboard before I realized there's only one test case.
2017-05-30 11:39:26 -07:00
Michael Schurter
7dac668adf
Functional consul template env file support
2017-05-23 13:45:14 -07:00
Alex Dadgar
22a6a8e0a8
Merge pull request #2634 from hashicorp/f-update-block
...
New Update block syntax
2017-05-18 13:29:17 -04:00
Michael Schurter
70fdc46abc
Merge pull request #2591 from hashicorp/b-2180-script-updates
...
Properly interpolate services on updated tasks
2017-05-17 09:09:01 -07:00
Michael Schurter
e3c1d35111
Lower default gc_max_allocs to 50
2017-05-12 15:57:27 -07:00
Michael Schurter
b9bd1b0e95
Merge pull request #2399 from multani/sockaddr-template
...
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00