Commit Graph

11691 Commits

Author SHA1 Message Date
Justen Walker 194b2231d6 driver/docker: fix up TestParseDockerImage 2018-05-14 14:23:48 -04:00
Justen Walker 25b2807ce3 driver/docker: fix TestDockerDriver_ForcePull_RepoDigest 2018-05-14 14:23:02 -04:00
Justen Walker b23ca7574c driver/docker: cleanup parseDockerImage 2018-05-14 11:11:51 -04:00
Justen Walker 60f7f1aa08 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 cbd2b77c6c
Merge pull request #4293 from maihde/patch-1
Update minimum Go version.
2018-05-12 12:13:07 -04:00
maihde 896a7b0c61
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
Chelsea Komlo 687c26093c
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 89c9b4904b add changelog 2018-05-11 07:48:31 -04:00
Nick Ethier b3612824ed
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 29ddef040d
command: add autocomplete for init -short flag 2018-05-10 23:19:08 -04:00
Alex Dadgar 3cb5ba5733
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 152311f6fb
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 fd952eefbc Added deferred cancel to prevent context leaks 2018-05-10 18:52:54 -04:00
Preetha Appan 823ccf79ba
Update CHANGELOG 2018-05-10 12:57:34 -05:00
Preetha 10efe98462
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 5881e785c5
command: remove ephemeral disk from short init jobspec 2018-05-10 13:16:45 -04:00
Nick Ethier 43d6ab4efe
website: add job init '-short' option 2018-05-10 13:15:57 -04:00
Preetha Appan ca5758741b
Update serf to pick up graceful leave fix 2018-05-10 11:16:24 -05:00
Chelsea Holland Komlo 620558c107 log error if unable to create TLS configuration 2018-05-10 11:51:54 -04:00
Charlie Voiselle b8c071e0f9
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 44f536f18e add support for configurable TLS minimum version 2018-05-09 18:07:12 -04:00
Alex Dadgar 71d45d2e9d
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 c696931fd9
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
Chelsea Holland Komlo 796bae6f1b allow configurable cipher suites
disallow 3DES and RC4 ciphers

add documentation for tls_cipher_suites
2018-05-09 17:15:31 -04:00
Charlie Voiselle 6e58e1ff4b
Merge branch 'master' into b-extend-win-cpu-fingerprint-timeout 2018-05-09 16:23:14 -04:00
Alex Dadgar 0e79e1a46e Keep stream and logs in sync for detecting closed pipe 2018-05-09 11:22:52 -07:00
Jeff Kohrman 71ad33fb26
Add link to privacy policy in website footer
Added link to updated privacy policy in footer of `layout.erb` for the OSS website.
2018-05-09 12:13:55 -06:00
Charlie Voiselle 62f99cc629 Addressed review comments 2018-05-09 13:21:35 -04:00
Charlie Voiselle 74f3263073
Merge pull request #4265 from hashicorp/b-fix-cpu-fingerprinter-error-msg
Fix the CPU Information error message
2018-05-09 13:15:07 -04:00
Chelsea Holland Komlo d51611040f Add driver health information to node list stub 2018-05-09 11:21:54 -04:00
Preetha Appan 1dc39a1d4c
update CHANGELOG 2018-05-08 17:07:10 -05:00
Alex Dadgar 210d520a94 changelog 2018-05-08 14:57:10 -07:00
Preetha e7ae6e98d9
Merge pull request #4259 from hashicorp/f-deployment-improvements 2018-05-08 16:37:10 -05:00
Charlie Voiselle d64b02f07d Override 3 sec. WMI timeout in gopsutil
The default timeout is too short for some overburdened or resource
constrained machines to complete the WMI query before the context
deadline expires.  This causes them to be unable to fingerprint the CPU
properly.
2018-05-08 17:00:31 -04:00
Charlie Voiselle 893b01158c
Fix the CPU Information error message
The new version of gopsutil introduces a 3 second timeout that could come up as an error here; however, we are outputting the wrong variable and eating the error.
2018-05-08 14:11:29 -04:00
Chelsea Komlo c42340ca48
Merge pull request #4179 from hashicorp/f-retry-join
Cloud Auto Join
2018-05-08 13:00:02 -04:00
Nick Ethier 9ee8e248d3
Merge pull request #4262 from hashicorp/b-3720-optional-meta
client/driver/env: interpolate empty optional meta params as empty strings
2018-05-07 20:44:02 -04:00
Nick Ethier 54c86a0292
client/driver/env: interpolate empty optional meta params as empty strings 2018-05-07 20:19:51 -04:00
Chelsea Holland Komlo 136635f04d only write error log line on error 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo 30584639b5 remove log line for empty addresses which could confuse on initalization 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo 24ff40df01 retry until all options are exhausted 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo ec4be4f871 ensure provider= is always the string prefix 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo 5422b1b088 update test for more realistic IP address from go-discover 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo 8d3c739832 remove unused dependencies 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo d215326de7 update go-discover 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo a6aa2f6bfa vendor go-discover 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo 7e4d4f8088 comments and other fixups 2018-05-07 16:57:06 -04:00
Chelsea Holland Komlo 8f584f6474 add go-discover 2018-05-07 16:57:06 -04:00
Chelsea Holland Komlo 25ad6eaf96 refactor to retryJoiner interface 2018-05-07 16:57:06 -04:00
Nick Ethier 00930a4f88
Merge pull request #4261 from hashicorp/f-docker-progress-detection
client/driver: remove unused const 'dockerPullProgressEmitInterval'
2018-05-07 16:27:19 -04:00