Michael Lange
f160f70f04
Add a test to assert that canceling GETs can't instead cancel DELETEs
2018-05-25 09:13:18 -07:00
Michael Lange
73aa3aa957
XHR keys need to include the method as well
...
The URL alone doesn't guarantee uniqueness
2018-05-25 09:13:11 -07:00
Preetha
173a2b9c41
Merge pull request #4281 from hashicorp/f-leave-on-terminate-docs
...
Doc updates to clarify leave_on_terminate
2018-05-21 11:10:56 -07:00
Alex Dadgar
e485603c0b
Changelog
2018-05-21 10:52:47 -07:00
Alex Dadgar
df8f367b98
Merge pull request #4282 from hashicorp/f-rotator
...
Avoid splitting log line across two files
2018-05-21 17:52:13 +00:00
Alex Dadgar
2c89613058
Merge pull request #4288 from apenney/add-warning-to-docs
...
Add a warning not to share consul nodes
2018-05-21 17:51:53 +00:00
Alex Dadgar
eed87d450c
Changelog
2018-05-21 10:51:08 -07:00
Alex Dadgar
d7fd033959
Merge pull request #4298 from justenwalker/docker-driver-digest-tags
...
driver/docker: pull image with digest
2018-05-21 17:46:14 +00:00
Alex Dadgar
56c5ff0ba3
Merge pull request #4305 from insanejudge/systemd-killmode-patch-1
...
set killmode/killsignal in systemd example
2018-05-21 17:26:58 +00:00
Alex Dadgar
67f43254f2
Merge pull request #4312 from lcnja/master
...
Fix a typo
2018-05-21 16:56:00 +00:00
Kim Ko
880bccfa1f
Fix a typo
2018-05-22 00:31:20 +08:00
Charlie Voiselle
5ada59bf1d
Merge pull request #4311 from aymericbeaumet/patch-1
...
docs: fix typo in json documentation
2018-05-21 08:36:06 -05:00
Aymeric Beaumet
d2c851d148
docs: fix typo in json documentation
2018-05-21 12:01:44 +02:00
insanejudge
9d9cd7348d
Merge remote-tracking branch 'origin' into systemd-killmode-patch-1
2018-05-16 18:44:49 -07:00
Nick Ethier
504a9109f9
client/driver: use correct repo address when using docker-credential helper ( #4266 )
2018-05-15 17:39:48 -04:00
Justen Walker
ba2d9570e8
driver/docker: add test for dockerImageRef
2018-05-14 14:24:03 -04:00
Justen Walker
f4670f6003
driver/docker: fix up TestParseDockerImage
2018-05-14 14:23:48 -04:00
Justen Walker
44923339a8
driver/docker: fix TestDockerDriver_ForcePull_RepoDigest
2018-05-14 14:23:02 -04:00
Nick Ethier
6e86c4e28c
client/driver: gaurd authHelper test from running on windows
2018-05-14 13:46:57 -04:00
Justen Walker
ce63b79449
driver/docker: cleanup parseDockerImage
2018-05-14 11:11:51 -04:00
Justen Walker
e77d8a59eb
driver/docker: pull image with digest
...
GH #4290
Add digest support to the docker driver image config. This commit
factors out some common code to print the repo:tag (dockerImageRef) for
events/logs as well as parsing the image to retreive the repo,tag
(parseDockerImage) so that the results are consistent/sane for both
repo:tag and repo@sha256:... references.
When pulling an image with a digest, the tag is blank and the repo
contains the digest. See:
https://github.com/fsouza/go-dockerclient/blob/master/image_test.go#L471
2018-05-14 10:42:58 -04:00
Charlie Voiselle
126e0490e4
Merge pull request #4293 from maihde/patch-1
...
Update minimum Go version.
2018-05-12 12:13:07 -04:00
maihde
bd1389be12
Update minimum Go version.
...
In commit 758e1cb7 the `strings.Builder` API was used; this isn't available until Go 1.10+
2018-05-12 09:42:07 -04:00
Preetha Appan
bce246fb86
change wording around autopilot
2018-05-11 14:21:56 -05:00
Ashley Penney
e955fa5998
Add a warning not to share consul nodes.
2018-05-11 14:47:26 -04:00
Alex Dadgar
80ac8c2a37
Add new line test
2018-05-11 10:52:09 -07:00
Chelsea Komlo
31c21988b8
Merge pull request #4269 from hashicorp/f-tls-remove-weak-standards
...
Configurable TLS cipher suites and versions; disallow weak ciphers
2018-05-11 08:11:46 -04:00
Chelsea Holland Komlo
8daaa66276
add changelog
2018-05-11 07:48:31 -04:00
Nick Ethier
ddab0f1600
Merge pull request #4279 from hashicorp/f-short-init
...
Add job init '-short' command docs to website
2018-05-10 23:20:59 -04:00
Nick Ethier
32ec72d97d
command: add autocomplete for init -short flag
2018-05-10 23:19:08 -04:00
Alex Dadgar
c36e323b91
Merge pull request #4283 from hashicorp/b-fix-vet-warning
...
Added deferred cancel to prevent context leaks
2018-05-11 01:25:37 +01:00
Michael Lange
c35e7f69fe
Merge pull request #4254 from hashicorp/f-ui-ss-restart-tracking
...
UI: Server-side reschedule tracking
2018-05-10 16:17:02 -07:00
Charlie Voiselle
41b71b6138
Added deferred cancel to prevent context leaks
2018-05-10 18:52:54 -04:00
Alex Dadgar
8aaf074699
Avoid splitting log line across two files
...
We attempt to avoid splitting a log line between two files by detecting
if we are near the file size limit and scanning for new lines and only
flushing those.
BenchmarkRotator/1KB-8 300000 5613 ns/op
BenchmarkRotator/2KB-8 200000 8384 ns/op
BenchmarkRotator/4KB-8 100000 14604 ns/op
BenchmarkRotator/8KB-8 50000 25002 ns/op
BenchmarkRotator/16KB-8 30000 47572 ns/op
BenchmarkRotator/32KB-8 20000 92080 ns/op
BenchmarkRotator/64KB-8 10000 165883 ns/op
BenchmarkRotator/128KB-8 5000 294405 ns/op
BenchmarkRotator/256KB-8 2000 572374 ns/op
2018-05-10 15:11:01 -07:00
Alex Dadgar
99182736e8
Benchmark for rotator
...
BenchmarkRotator/1KB-8 200000 5572 ns/op
BenchmarkRotator/2KB-8 200000 8338 ns/op
BenchmarkRotator/4KB-8 100000 14246 ns/op
BenchmarkRotator/8KB-8 50000 25279 ns/op
BenchmarkRotator/16KB-8 30000 48602 ns/op
BenchmarkRotator/32KB-8 20000 92159 ns/op
BenchmarkRotator/64KB-8 10000 154766 ns/op
BenchmarkRotator/128KB-8 5000 296872 ns/op
BenchmarkRotator/256KB-8 3000 551793 ns/op
2018-05-10 14:15:15 -07:00
Preetha Appan
dbd0691a69
Doc updates to clarify leave_on_terminate
2018-05-10 15:27:14 -05:00
Preetha Appan
7ce1e2393d
Update CHANGELOG
2018-05-10 12:57:34 -05:00
Preetha
2eb9c05f75
Merge pull request #4278 from hashicorp/f-serf-update
...
Update serf to pick up graceful leave fix
2018-05-10 12:55:40 -05:00
Nick Ethier
17abb1b5b4
command: remove ephemeral disk from short init jobspec
2018-05-10 13:16:45 -04:00
Nick Ethier
8c999de648
website: add job init '-short' option
2018-05-10 13:15:57 -04:00
Preetha Appan
29f1d7d905
Update serf to pick up graceful leave fix
2018-05-10 11:16:24 -05:00
Chelsea Holland Komlo
793e7caaf9
log error if unable to create TLS configuration
2018-05-10 11:51:54 -04:00
Nick Ethier
d3c138e310
client/driver: parse repo instead of attempting to pull repo info
2018-05-09 22:34:25 -04:00
Nick Ethier
46c557c08e
client/driver: add test for docker auth helper
2018-05-09 22:33:56 -04:00
Nick Ethier
e99304e9f7
changelog: ref PR instead of individual issues
2018-05-09 22:33:20 -04:00
Alex Dadgar
9966194730
naming of constants
2018-05-09 16:46:52 -07:00
Charlie Voiselle
3212e38b01
Merge pull request #4268 from hashicorp/b-extend-win-cpu-fingerprint-timeout
...
Override 3 sec. WMI timeout in gopsutil
2018-05-09 19:27:08 -04:00
Chelsea Holland Komlo
509180ee00
add support for configurable TLS minimum version
2018-05-09 18:07:12 -04:00
Alex Dadgar
d0e62c369c
Merge pull request #4272 from jkohrman/master
...
Add link to privacy policy in website footer
2018-05-09 22:56:55 +01:00
Chelsea Komlo
94c650b3dd
Merge pull request #4271 from hashicorp/f-health-status-node-list
...
Add driver health information to node list stub
2018-05-09 17:41:09 -04:00