Seth Vargo
e0ec7787a2
Migrate allocations APIs
2017-05-30 20:25:07 -04:00
Seth Vargo
8883972d70
Migrate agent APIs
2017-05-30 20:25:07 -04:00
Seth Vargo
8b77d4cb16
Slightly better expansion on small screens
2017-05-30 20:25:07 -04:00
Seth Vargo
8030c338bf
Add API section to header and sidebar
2017-05-30 20:25:06 -04:00
Seth Vargo
a3344af698
Fix community page formatting
2017-05-30 20:25:06 -04:00
Seth Vargo
8fbd957480
Bump middleman-hashicorp
2017-05-30 20:25:06 -04:00
Michael Schurter
1149907a32
Merge pull request #2649 from hashicorp/b-update-consul-api-vendor
...
Update consul/api
2017-05-30 16:15:11 -07:00
Michael Schurter
ffc2b36dc7
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
309f24a2a0
Add #2636 to changelog
2017-05-30 15:16:14 -07:00
Michael Schurter
d35aab2cc2
Update consul-template to fix compat with consul/api
2017-05-30 15:11:32 -07:00
Michael Schurter
bbcea0dff9
Update consul/api and comment to custom http.Client
2017-05-30 15:11:32 -07:00
Michael Schurter
6f2ecdec27
Update consul/api and fix tls handling
...
Since I was already fixing consul's tls handling in #2645 I decided to
update consul/api and pre-emptively fix our tls handling against the
newest consul/api behavior. consul/api's handling of http.Transports has
improved but would have broken how we handled tls (again).
This would have made for a nasty surprise the next time we updated
consul/api.
2017-05-30 15:11:32 -07:00
Michael Schurter
dd51aa1cb9
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
076647d835
Mention #2399 in changelog
...
Don't advertise sockaddr support just yet; focus on the saner advertise default
2017-05-30 12:17:05 -07:00
Michael Schurter
d8f4a48a2c
Merge pull request #2640 from hashicorp/b-remove-auto-advertise
...
Don't autoadvertise private ip if bind=localhost
2017-05-30 12:14:20 -07:00
Michael Schurter
e1a7c2d6d7
Fix Error -> Errorf
2017-05-30 12:08:59 -07:00
Michael Schurter
a7e26e0a3e
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
bbf299dde1
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
eba4d9c592
Update docs to match gc_max_allocs default
2017-05-30 11:39:12 -07:00
Alex Dadgar
7e8bb15b2a
Update artifact.html.md
2017-05-30 09:47:17 -07:00
Alex Dadgar
9ee42d63ef
Merge pull request #2679 from jippi/patch-3
...
correct artifact docs
2017-05-30 09:46:51 -07:00
Christian Winther
e5b4a309bc
correct arifact docs
...
It's not clear today that `destination` *always* is a directory, and never a destination file
I've been bitten by this multiple times, as the docs today seem like it's possible to download remote file `x` and put it in dir `y` *and* rename the file to `z`
2017-05-30 12:37:52 +02:00
Michael Schurter
26ee0e6051
Fix diff test
2017-05-26 17:05:14 -07:00
Michael Schurter
53d713bacb
Fix getter tests
...
And use an interface for ReplaceEnv since its all getter needs.
2017-05-26 16:52:47 -07:00
Michael Schurter
51d8231911
Fix executor tests
2017-05-26 16:46:03 -07:00
Michael Schurter
551edaa139
Fix template canonicalize test
2017-05-26 16:42:16 -07:00
Michael Schurter
3184616936
Always use PATH-only env for rkt commands
2017-05-26 15:41:26 -07:00
Michael Schurter
f9bd50a338
Test env parsing
2017-05-26 15:31:40 -07:00
Michael Schurter
83543b1d80
Use custom TaskEnv to provide PATH for rkt
2017-05-26 15:24:14 -07:00
Michael Schurter
3afade9675
Let's pretend I never committed this
2017-05-26 15:06:59 -07:00
Michael Schurter
3eb0827c19
Fix and test multi-env-template loading
2017-05-25 17:13:33 -07:00
Alex Dadgar
b90e1e9dc0
changelog
2017-05-25 14:52:35 -07:00
Alex Dadgar
d279c1f5e6
Merge pull request #2675 from hashicorp/b-perms
...
Fix perms to just set exec bit
2017-05-25 14:45:08 -07:00
Alex Dadgar
28aef447e9
Fix perms to just set exec bit
2017-05-25 14:44:13 -07:00
Ian Eyberg
3fbc58997b
dont throw away errors in log rotation
2017-05-25 11:49:33 -07:00
Michael Schurter
6d67d4dfbf
Fix formatting
2017-05-25 09:38:49 -07:00
Michael Schurter
796d3250a5
Comment and correct formatting
2017-05-25 09:30:58 -07:00
Michael Schurter
5f9cb4c514
Switch tests to mock_driver
2017-05-25 09:28:10 -07:00
Michael Schurter
2e57f39915
Minor wording updates
2017-05-24 13:55:21 -07:00
Michael Schurter
ce8c4fa520
Fail fast on env template failures
2017-05-24 13:44:52 -07:00
Alex Dadgar
541241acc3
Update template.html.md
2017-05-24 09:54:22 -07:00
Michael Schurter
bf0be17ddd
Document env templates
2017-05-23 17:25:21 -07:00
Michael Schurter
4963cf07d7
Add env file test
2017-05-23 17:07:25 -07:00
Michael Schurter
a233b0401d
Add env testing
2017-05-23 16:46:29 -07:00
Michael Schurter
d793dde4e9
Shrink chroot to avoid timing test failure
2017-05-23 16:11:24 -07:00
Michael Schurter
15ef740ab6
Add env.Builder.UpdateTask for alloc updates
2017-05-23 16:00:57 -07:00
Michael Schurter
f324ca4683
Fix test data
2017-05-23 13:53:34 -07:00
Michael Schurter
e7db2c9b0e
Handle Driver.Prestart returning nil, nil
2017-05-23 13:53:34 -07:00
Michael Schurter
fd9bef768f
Move task env into execcontext
...
Also inject PATH into rkt commands since we're no longer appending host
env vars for it.
2017-05-23 13:53:34 -07:00
Michael Schurter
59ad200d1a
Fix env var interpolation and env tests
2017-05-23 13:53:34 -07:00